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

Breaking changes for Bun 1.2 #12181

Open
Electroid opened this issue Jun 26, 2024 · 2 comments
Open

Breaking changes for Bun 1.2 #12181

Electroid opened this issue Jun 26, 2024 · 2 comments
Labels
breaking tracking An umbrella issue for tracking big features

Comments

@Electroid
Copy link
Contributor

This is a tracking issue for behaviour changes we want to introduce in Bun 1.2.

@Electroid Electroid added the tracking An umbrella issue for tracking big features label Jun 26, 2024
@paperdave
Copy link
Collaborator

should we consider #4464

@paperdave
Copy link
Collaborator

there are some existing breaking changes behind compile time feature flags. these can be inspected by doing a code search for breaking_changes_1_2

  • websocket server: ws.subscribe() function will require a string argument
  • bundler: --sourcemap without an argument is going to default to linked instead of inline
  • bundler: imports marked external with a second argument will no longer hide that second value (this is done for some backwards compatibility that i want to remove)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking tracking An umbrella issue for tracking big features
Projects
None yet
Development

No branches or pull requests

2 participants