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

move most of the implementation of staticInvokables to core #2344

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

mansona
Copy link
Member

@mansona mansona commented Mar 5, 2025

I didn't realise in #2210 what the implications of version drift would be splitting the deprecation and the default across two packages. This fixes that slight mess that I created 🙈 this effectively reverts the changes to @embroider/compat that provides any hint of the deprecation and handles it all in @embroider/core. This means that you won't get strange errors any more when you have a miss-match of versions 👍

Edit: I moved all the cases where it would throw an error to core so they are now contained in one package but I still needed to accomidate the functionality in compat because of the implementation of optionsWithDefaults(). I also bumped the minimum peer version of compat->core so that should help with the version skew 👍

@mansona mansona requested a review from ef4 March 5, 2025 21:13
@mansona mansona added the bug Something isn't working label Mar 5, 2025
@mansona mansona changed the title move all implementation of staticInvokables to core move most of the implementation of staticInvokables to core Mar 6, 2025
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

Seems good -- had to compare with https://github.com/embroider-build/embroider/pull/2210/files to see that a good chunk of this PR is a revert of #2210

@mansona mansona merged commit b4e39b3 into stable Mar 11, 2025
223 checks passed
@mansona mansona deleted the fix-invokables branch March 11, 2025 15:41
@github-actions github-actions bot mentioned this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants