8000 Prepare releases by lognaturel · Pull Request #1379 · enketo/enketo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prepare releases #1379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 10, 2024
Merged

Prepare releases #1379

merged 6 commits into from
Dec 10, 2024

Conversation

lognaturel
Copy link
Contributor
@lognaturel lognaturel commented Dec 9, 2024

The changes this covers are 7.4.0...main

I have verified this PR works with

  • Online form submission
  • Offline form submission
  • Saving offline drafts
  • Loading offline drafts
  • Editing submissions
  • Form preview
  • None of the above

What else has been done to verify that this works as intended?

I did all of the above with the image at https://github.com/enketo/enketo/pkgs/container/enketo/319695763?tag=prep-release

Why is this the best possible solution? Were any other approaches considered?

There are currently 3 LTS node versions including 18 (https://nodejs.org/en/about/previous-releases). 18 will go out of maintenance LTS in May of 2025. I briefly considered testing all 3. Given that Node 20 is in maintenance LTS as well, it feels simpler to me to drop 18 now and support the two latest LTS versions.

We've previously done major version changes when changing supported node versions. I don't think we should do this anymore. Here's a good summary of why: https://rtpg.co/2023/09/27/avoiding-major-version-bumps-for-node/

I upgraded specific dependencies involved in security issues or with likely useful improvements since yarn upgrade breaks transformer tests.

I briefly explored upgrading eslint to 9 since it's the source of some of our security warnings. Of course, it's only used in development so the security issues don't apply, they just make for some noise. I backed out quickly when I ran into some OOM issues and issues with the cache file. Here's the branch: https://github.com/lognaturel/enketo/tree/eslint9

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

I think the biggest risk with these releases is around the change to signature/draw/annotate questions. I tried to point to useful resources for folks who use Core with their own file manager but I could imagine that upgrade being confusing. There could also very well be regressions or new undesirable behavior in that area.

Do we need any specific form for testing your changes? If so, please attach one.

@lognaturel lognaturel marked this pull request as ready for review December 9, 2024 23:57
@lognaturel lognaturel requested a review from yanokwa December 9, 2024 23:57
Copy link
Member
@yanokwa yanokwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed version numbers are as I expect

@lognaturel lognaturel merged commit 0cdf70f into enketo:main Dec 10, 2024
29 checks passed
@lognaturel lognaturel deleted the prep-release branch December 10, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0