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

chore: update swc v1.3.41 #188

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Conversation

realtimetodie
Copy link
Contributor

Removes an obsolete workaround for Windows (#141) that was resolved in swc-project/swc#7077.

This is a breaking change. Prior releases to v1.3.41 will not work with rules_swc on Windows anymore.

Related

"win32-ia32-msvc": "sha384-bEFBM1JCRTqtqx2jIVjF3PVyHRk84RWsAPR1asCVhcNMzvz1VDd6Ydtq2KR4K5v1",
"win32-x64-msvc": "sha384-wz5LmUtrIr3Qfy9yKbYWX+N2CqdmDyoe7OTnOkYaMR5s1v/e4s4BVrjFjQqkwcex",
},
"v1.3.25": {
Copy link
Member

Choose a reason for hiding this comment

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

very few users are on windows, and removing all of these is a breaking change for them. Now that we are in an RC, we should avoid breaking changes.

@@ -98,7 +98,7 @@ def _determine_version(rctx):

def _swc_repo_impl(repository_ctx):
version = _determine_version(repository_ctx)
if not versions.is_at_least("1.3.25", version.lstrip("v")):
if not versions.is_at_least("1.3.41", version.lstrip("v")):
Copy link
Member

Choose a reason for hiding this comment

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

we could make the minimum version conditional on whether you're on windows.
Or just leave it alone, the tiny number of windows users can discover the need to upgrade by reading the release notes.

Copy link
Member

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

Sweet, thank you so much for fixing it upstream!

@alexeagle alexeagle merged commit 0db65a5 into aspect-build:main Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants