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

ES Module #2543

Closed
Tracked by #2133
travi opened this issue Aug 27, 2022 · 1 comment
Closed
Tracked by #2133

ES Module #2543

travi opened this issue Aug 27, 2022 · 1 comment

Comments

@travi
Copy link
Member

travi commented Aug 27, 2022

Part of our efforts to migrate semantic-release to native ES Modules: #2133

@travi travi mentioned this issue Aug 27, 2022
7 tasks
travi added a commit that referenced this issue Aug 27, 2022
travi added a commit that referenced this issue Aug 27, 2022
travi added a commit that referenced this issue Aug 27, 2022
travi added a commit that referenced this issue Sep 12, 2022
…oading plugins

to isolate the conversion ahead of #2543
@travi travi mentioned this issue Sep 23, 2022
7 tasks
travi added a commit that referenced this issue Oct 7, 2022
…bleeding between tests

we should try to adjust the stub setup in each test to try to avoid the need for this, but i think
that should be tackled separately from the current esm effort

for #2543
travi added a commit that referenced this issue Oct 7, 2022
i think the implementation should support loading of esm plugins as well, but we should add test
coverage for those scenarios as a follow up

for #2543
travi added a commit that referenced this issue Oct 7, 2022
i think the implementation should support loading of esm plugins as well, but we should add test
coverage for those scenarios as a follow up

for #2543
travi added a commit that referenced this issue Oct 7, 2022
…malization

BREAKING CHANGE: since semantic-release now executes in an ESM context, the file extension is
required when referencing plugin files

for #2543
travi added a commit that referenced this issue Oct 8, 2022
travi added a commit that referenced this issue Nov 4, 2022
since loading json config cannot be accomplished with import without import assertions

for #2543
travi added a commit that referenced this issue Nov 11, 2022
for #2543

BREAKING CHANGE: semantic-release is now ESM-only. since it is used through its own executable, the impact on consuming projects should be minimal

BREAKING CHANGE: references to plugin files in configs need to include the file extension because of executing in an ESM context
travi added a commit that referenced this issue Nov 19, 2022
in accordance with our node support policy:
https://semantic-release.gitbook.io/semantic-release/support/node-support-policy

BREAKING CHANGE: Node v18 or greater is now required. Please refer to
https://semantic-release.gitbook.io/semantic-release/support/node-version for recommended options
for releasing with a supported node version.

for #2543
@travi
Copy link
Member Author

travi commented Dec 9, 2022

the updates for core are complete as far as we know at this point, so we plan to promote the latest beta to stable very soon. if anyone is eager to try out the changes before we promote to latest, give the latest beta version a shot and let us know here if you find any problems.

@travi travi closed this as completed Jan 6, 2023
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

No branches or pull requests

1 participant