Skip to content
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

Migration to meteor 3.0 #1737

Merged
merged 25 commits into from
Jan 4, 2025
Merged

Migration to meteor 3.0 #1737

merged 25 commits into from
Jan 4, 2025

Conversation

jankapunkt
Copy link
Member

@jankapunkt jankapunkt commented Dec 19, 2023

This is an ongoing PR. With every update this description will extend.

Related migration for the themes: Meteor-Community-Packages/meteor-autoform-themes#10

@jankapunkt jankapunkt marked this pull request as ready for review April 17, 2024 09:59
@jankapunkt
Copy link
Member Author

published 8.0.0-rc.4 which also makes momentjs:moment a true optional dependency

@jankapunkt
Copy link
Member Author

If there are no deep issues with this release then I will publish 8.0.0 next week

@TMeerhof
Copy link

TMeerhof commented Nov 4, 2024

When is this PR getting merged? The comment said next week, and it has been a month.
It would be really helpful for us, thanks!
I tested it by installing the PR branch locally, and it seems to work fine based on some superficial testing.

@jankapunkt
Copy link
Member Author

@TMeerhof sorry too much on my plate this autumn. Unfortunately nobody made a code-review and I personally did not tests against all my apps due my current crunch.

Anyone who can help out with a code review o feedback on RC.4? // @harryadel @ricaragao @lynchem @polygonwood @manueltimita

@polygonwood
Copy link

polygonwood commented Nov 4, 2024 via email

@jankapunkt
Copy link
Member Author

@polygonwood Thank you for participating! It's exactly this PR you just have just commented. The files changed tab allows you to view all code changes of this PR and you can add comments (start review) to respective lines and even suggest changes.

Your comments through review will be pending until you submit the review so you can freely add or remove them before they get attached to this pull request. The GitHub docs are also very helpful on the topic.

@polygonwood
Copy link

polygonwood commented Nov 4, 2024 via email

getMoment.js Outdated

Choose a reason for hiding this comment

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

do we still need moment ? javascript date functions are not sufficient ? If not, is moment the better choice versus e.g. luxon ?

Copy link
Member Author

Choose a reason for hiding this comment

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

we stick with moment for backwards compatibility but its a weak dependency and should 100% work without moment being installed and it should also not cause moment being added to .meteor/versions

Copy link
Member

Choose a reason for hiding this comment

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

I agree with Jan. It's best to keep it as is for now and update things in a later bump.

Copy link

@polygonwood polygonwood left a comment

Choose a reason for hiding this comment

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

Reviewed as an AutoForm user. Missing is some form of documentation of what has been changed and what were the drivers to do so. Changes look OK and properly coded.

@polygonwood
Copy link

polygonwood commented Nov 15, 2024 via email

@ricaragao
Copy link
Member

Yes, I can @jankapunkt . I'm starting to migrate some Meteor Apps that use this package, so I can review and test the code. Did you publish this RC version to meteor package? Or should I clone the repository?

@TMeerhof sorry too much on my plate this autumn. Unfortunately nobody made a code-review and I personally did not tests against all my apps due my current crunch.

Anyone who can help out with a code review o feedback on RC.4? // @harryadel @ricaragao @lynchem @polygonwood @manueltimita

@jankapunkt
Copy link
Member Author

@ricaragao yes the 8.0.0 RC releases are available as Meteor packages

@jankapunkt
Copy link
Member Author

@polygonwood thanks a lot for the testing and review! If I understand you correctly then you would want some form of changelog for the 8.0.0 release, correct?

I can try to add it and update the README in general, I think it contains some outdated links.

@polygonwood
Copy link

polygonwood commented Nov 22, 2024 via email


- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: '1.10.1'
meteor-release: '3.0-rc.4'
Copy link
Member

Choose a reason for hiding this comment

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

Might be worth a version bump to the latest version 3.1

@@ -37,49 +36,7 @@ Any code change should be submitted as a pull request. The description should ex
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.
It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you?

## Financial contributions
Copy link
Member

Choose a reason for hiding this comment

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

Please bring it back and link to yourself and/or Czech Jan. You're doing great work and should be compensated if possible.

const self = this
self.info = {}
}
export class ArrayTracker {
Copy link
Member

Choose a reason for hiding this comment

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

Good job using Class syntax 👍


Package.onUse(function (api) {
api.versionsFrom('[email protected]')
api.versionsFrom(['3.0.1'])
Copy link
Member

Choose a reason for hiding this comment

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

It's to keep versionsFrom in sync with CI meteor version.

Copy link
Member

@harryadel harryadel left a comment

Choose a reason for hiding this comment

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

I did take a look around, there doesn't seem to be any major changes like I had feared. I'd recommend doing a beta release so others can test things out.

@harryadel
Copy link
Member

@jankapunkt Is there anything holding this PR back from merging?

@jankapunkt
Copy link
Member Author

Published 8.0.0

@jankapunkt jankapunkt merged commit 018c2d0 into devel Jan 4, 2025
1 check passed
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.

5 participants