Releases: Kocal/BiomeJsBundle
v2.1.2
v2.1.1
Symfony 8 support
v2.0.0
As explained in v1.5.0, the Biome.js CLI binary is no longer wrapped through Symfony console commands.
This means that biomejs:check and biomejs:ci have been removed in favor of biomejs:download and the native binary bin/biome.
This modification aims to provide a much better UX for users, but also to ease maintenance for me (less work, more time for other things!) 🎉
Happy linting & formatting!
Full Changelog: v1.5.0...v2.0.0
v1.5.0 - A new philosophy, Biome.js 2 support
A few months ago, I created this bundle by taking inspirations from the TailwindBundle, by implementing Symfony commands that wrap the Biome.js CLI, and that automatically download Biome.js if necessary.
The version was configurable through kocal_biome_js.binary_version configuration key. It was possible to configure an explicit tag (e.g.: v1.9.4) or aliases like latest_stable and latest_nightly.
But then, I realized that these design choices were not optimal, and that the bundle could be improved a lot:
-
Wrapping the Biome.js CLI was not a good idea, it's unmaintainable and not future-proof: Biome.js CLI has about ~10 commands with many options, I don't want to wrap them all.
And, at the current moment, only commandscheckandciare wrapped, but more than half of options are missing, with absolutely no way for the final-user to pass them.I don't want to update the bundle when Biome.js releases a new version, by implementing new commands or new options, I want to enjoy my free time.
-
Allowing users to configure
kocal_biome_js.binary_versiontolatest_stableorlatest_nightlywas a mistake too.
By luck, the bundle didn't break when Biome.js 2 was released, unlike the TailwindBundle which suffered when Tailwind 4 was released. But this was pure luck, it's not viable at all.
So, that's why I'm releasing a new version of the bundle, with the following changes:
- A new command
biomejs:downloadallows you to download the Biome.js CLI binary for your given operating system and architecture inbin/biome(by default) - The commands that wrap the Biome.js CLI (
biomejs:checkandbiomejs:ci) are now deprecated and will be removed in 2.0. - Passing
latest_stableorlatest_nightlyaskocal_biome_js.binary_versionconfiguration is now deprecated and will be removed in 2.0. - Not configuring
kocal_biome_js.binary_versionwill no longer be possible in 2.0. You must specify an exact version.
These changes are better for users but also for me. Providing a native biome binary is definitely the best solution for everyone.
Happy linting & formatting!
Deprecations
- Deprecate passing "latest_stable" or "latest_nightly" version by @Kocal in #28
- Add
biomejs:downloadcommand (with Biome.js 2 support), deprecatebiomejs:checkandbiomejs:cicommands by @Kocal in #29
Internal
Full Changelog: v1.4.0...v1.5.0
v1.4.0
Features
- Cache the
latest_versionavailable, to prevent unnecessary requests by @jmsche in #24 - Use RetryableHttpClient by @Kocal in #23
Internal
- [CI] Run E2E tests on Windows and macOS aswell by @Kocal in #20
- Add phpstan-baseline.neon to .gitattributes by @jmsche in #22
Full Changelog: v1.3.0...v1.4.0
v1.3.0
v1.2.1
What's Changed
- fix: download the right version of biomejs when used libc is musl by @ralauge-aramis in #16
New Contributors
- @ralauge-aramis made their first contribution in #16
Full Changelog: v1.2.0...v1.2.1
v1.2.0
v1.1.1
What's Changed
- Fix a command name in the README by @javiereguiluz in #11
- Get rid of deprecations by @jmsche in #13
New Contributors
- @javiereguiluz made their first contribution in #11
- @jmsche made their first contribution in #13
Full Changelog: v1.1.0...v1.1.1