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

Release plugin version 1.0.0 #204

Open
7 tasks
EMH333 opened this issue Sep 5, 2023 · 11 comments
Open
7 tasks

Release plugin version 1.0.0 #204

EMH333 opened this issue Sep 5, 2023 · 11 comments
Labels
Breaking Is or would require, a breaking change
Milestone

Comments

@EMH333
Copy link
Owner

EMH333 commented Sep 5, 2023

I am planning to release v1.0.0 of this plugin once Svelte 5 is released. esbuild development seems to have mostly stabilized so I'm feeling okay moving forward without esbuild reaching v1.

Some changes that will likely happen:

@EMH333 EMH333 added the Breaking Is or would require, a breaking change label Sep 5, 2023
@EMH333 EMH333 added this to the v1.0.0 milestone Sep 5, 2023
@EMH333 EMH333 pinned this issue Sep 5, 2023
@gka
Copy link

gka commented Feb 20, 2024

Would be useful if there was a pre-release of v1.0.0 at some point before Svelte 5 gets released.

@EMH333
Copy link
Owner Author

EMH333 commented Feb 21, 2024

Agreed, I intend to start a svelte-v5 branch in the near future. I also haven't been closely following Svelte 5 development, is there a timeline to release yet?

@gka
Copy link

gka commented Feb 22, 2024

Nothing official yet, other than "early 2024", which at this point probably means Q2. The closest to a timeline is probably this myserious tweet, though 😆

@xelius
Copy link

xelius commented Apr 30, 2024

Svelte 5 reached RC now 🎉 and I would be really happy to see this great package support it.

FWIW Rich offering a few pointers on migrating libs in the Svelte5 RC release announcement

@tgf9
Copy link

tgf9 commented May 10, 2024

Svelte 5 is now in the Release Candidate phase. This means that the design of the framework is largely settled, with no anticipated breaking changes between now and the stable release, and that the most egregious bugs have been stomped.
https://svelte.dev/blog/svelte-5-release-candidate

I'm starting a new Svelte project and I was hoping I would be able to start using Svelte 5... Hope esbuild-svelte adds support soon. 🙏

@EMH333
Copy link
Owner Author

EMH333 commented May 10, 2024

I've scoped out the changes for Svelte 5 and they seem fairly reasonable for simple support alongside Svelte 3 and 4. I'll look to get a non-breaking release supporting Svelte 5 out in the next few days

@iskrisis
Copy link

I've unsucessfuly tried to use version that's in the svelte-5 branch. Could you maybe give us some pointers how you test it or make pre-release? I am currently writing small Svelte 5 app using vite but always prefered your plugin. Seems like there would be few other testers. 🙏 🙏

@EMH333
Copy link
Owner Author

EMH333 commented May 17, 2024

@iskrisis Please try the svelte-5-compat branch used by #230 which is more geared towards graceful compatibility between Svelte 3, 4 and 5 instead of removing support for the lower version (I haven't touched the svelte-5 branch in a while). Building the dist/ folder with npm run build should be all that is required to output a working plugin for any Svelte version >= 3. I'll note that in compatibility testing, the svelte-5-compat branch is able to successfully compile files with Svelte 5.

If I can get a few 🚀 reactions or comments on that PR with folks who have been able to test it successfully, I'll go ahead and release it as 0.8.1. Otherwise, to avoid the risk breaking preexisting projects, I'll probably aim for a 0.9.0 release with more sweeping changes before 1.0.0 to coincide with Svelte 5.

Let's please move conversation about Svelte 5 compatibility to #234 (and with the prereleases to #235) since that will make it easier to track specific breakage/issues

(Also, can I say how awesome it is to see so much community involvement here?! As a single maintainer who started this project selfishly because I liked esbuild and Svelte, it is amazing to see the support that this plugin has. Y'all are great ❤️ )

@EMH333
Copy link
Owner Author

EMH333 commented May 19, 2024

Version v0.8.1 has been released which relaxes the Svelte peer dependency version lock to include Svelte 5. Please give it a try!

@tgf9
Copy link

tgf9 commented May 20, 2024

I'm not sure if I'm doing something wrong, but I'm seeing this when I run npm install.

$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: project@undefined
npm ERR! Found: svelte@5.0.0-next.136
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"^5.0.0-next.136" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@">=3.43.0 <6" from esbuild-svelte@0.8.1
npm ERR! node_modules/esbuild-svelte
npm ERR!   dev esbuild-svelte@"^0.8.1" from the root project

My package.json looks like this.

{
  "name": "project",
  "devDependencies": {
    "esbuild": "^0.21.0",
    "esbuild-svelte": "^0.8.1",
    "svelte": "^5.0.0-next.136"
  }
}

I updated to the latest esbuild-svelte and installed svelte@next.

@EMH333
Copy link
Owner Author

EMH333 commented May 21, 2024

I've opened #234 to track overall Svelte 5 compatibility and #235 to track compatibility with the prereleases. There are going to be several conversations happening at once and I want to keep it easy to follow what issues relate to which versions

@tgf9 I'm moving the resolution of your report (and the corresponding rabbit hole) to #235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Is or would require, a breaking change
Projects
None yet
Development

No branches or pull requests

5 participants