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

Update addon to ember 4.12 #234

Merged
merged 12 commits into from
Sep 5, 2023
Merged

Conversation

mkszepp
Copy link
Contributor

@mkszepp mkszepp commented Aug 24, 2023

  • Update addon to latest ember lts (4.12)
  • add ember-try scenarios
  • Drop support for node < 14
  • Official support of ember v4.4 (but it should work also with older versions)
  • Update dependency ember-ast-helpers & glob
  • Add missing package array-unique in dependency

package.json Outdated Show resolved Hide resolved
@@ -3,7 +3,7 @@
"packages": [
{
"name": "ember-cli",
"version": "3.28.2",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you run the updated to target 4.12.2 (the latest 4.12 release).

},
},
{
name: 'ember-lts-3.28',
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can make this a major release and drop support for these unsupported ember versions, testing should start at 4.4. If it happens to work for older ember that's ok too, but we don't need to guarantee, or test for, support.

Copy link
Contributor Author

@mkszepp mkszepp Aug 25, 2023

Choose a reason for hiding this comment

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

Okay, we ca do it... my plan was to make nothing braking, bacause, so we can fix FA5 at least in v1.0, beause all latest versions of this addon do not anymore support FA5.

Do you prefer to make brakingand bring back the support of FA5 in v2?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a major version bump as is because of the node drop. So it can't really go into v1 anyway.

Copy link
Contributor Author

@mkszepp mkszepp Aug 25, 2023

Choose a reason for hiding this comment

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

Okay, i will try to make all changes tomorow

README.md Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should bump minimum ember and CLI to 4.4, node to 14.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When we make braking, we should also drop node v14, as there is no longer lts

Copy link
Collaborator

Choose a reason for hiding this comment

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

I hear that, but I'm trying to take it slow and go to ember 4.12 and stick to that blueprint which includes node 14. Then when we bump up to the LTS in the 5.x series we can drop node 14.

* drop support for node < 14
* drop support for ember < 4
* remove ember-try scenarios
@mkszepp mkszepp requested a review from jrjohnson August 26, 2023 08:46
@mkszepp
Copy link
Contributor Author

mkszepp commented Aug 26, 2023

@jrjohnson while i have tested the switch from npm to pnpm i have found out, that the addons is using array-unique, but the dependency of that is missing.
It was only working, because other packages were bringing this package.

Now i have added in the dependency.

package.json Outdated Show resolved Hide resolved
# Conflicts:
#	.github/workflows/ci.yml
#	package-lock.json
#	package.json
#	tests/integration/components/fa-icon-test.js
@mkszepp
Copy link
Contributor Author

mkszepp commented Aug 28, 2023

@jrjohnson thanks for merging the fix for FA5, i have now also resolved all merge conflicts for this update, so we can also merge this one, after the release of the fix in v1

# Conflicts:
#	package-lock.json
#	package.json
@mkszepp
Copy link
Contributor Author

mkszepp commented Sep 4, 2023

seen, that there is again a merge conflicts.

idk why this was updated in release commit (e3533ba#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R104):

"ember-source": "https://s3.amazonaws.com/builds.emberjs.com/release/shas/cb3ca2ec9f23f1c763c3d6c8d624fa6b7b5c33a3.tgz",

@jrjohnson now we can merge this PR

@jrjohnson jrjohnson merged commit de3e7ea into FortAwesome:1.x Sep 5, 2023
12 checks passed
@jrjohnson
Copy link
Collaborator

Thanks so much for getting all of this done @mkszepp, I really appreciate all the work you put in! I'm back from vacation and I merged this and requested a 2.0.0 release from the FA team. I also pinged them about the weird ember-source change in the last release.

@mkszepp mkszepp deleted the update-ember-to-4-12 branch September 5, 2023 17:43
robmadole pushed a commit that referenced this pull request Sep 5, 2023
* Update addon to ember 4.12

* Fix prettier

* add overrides to fix release, beta & canary

* Update ember-cli to latest v4.12
* drop support for node < 14
* drop support for ember < 4
* remove ember-try scenarios

* Fix ci

* Add ember try for ember 5

* Update dependencies (ember-ast-helpers & glob)

* Add missing dependency array-unique

* Remove overrides & add buildManagerOptions in ember-try

* fix lint

---------

Co-authored-by: Markus Sanin <[email protected]>
@jrjohnson
Copy link
Collaborator

Really appreciate all of your work on this @mkszepp, 2.0.0 was release today!

@mkszepp
Copy link
Contributor Author

mkszepp commented Sep 13, 2023

@jrjohnson thanks 4 release! ❤️

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