Skip to content

Releases: Kocal/BiomeJsBundle

v2.1.2

02 Dec 13:43
3303fd5

Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

26 Aug 10:36
f5b4f72

Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

Symfony 8 support

05 Aug 12:06
2216128

Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

19 Jun 17:38
a33c167

Choose a tag to compare

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

19 Jun 15:20
112ae04

Choose a tag to compare

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:

  1. 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 commands check and ci are 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.

  2. Allowing users to configure kocal_biome_js.binary_version to latest_stable or latest_nightly was 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:

  1. A new command biomejs:download allows you to download the Biome.js CLI binary for your given operating system and architecture in bin/biome (by default)
  2. The commands that wrap the Biome.js CLI (biomejs:check and biomejs:ci) are now deprecated and will be removed in 2.0.
  3. Passing latest_stable or latest_nightly as kocal_biome_js.binary_version configuration is now deprecated and will be removed in 2.0.
  4. Not configuring kocal_biome_js.binary_version will 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:download command (with Biome.js 2 support), deprecate biomejs:check and biomejs:ci commands by @Kocal in #29

Internal

  • [CI] Use wildcard to define SYMFONY_VERSION configs by @Kocal in #27

Full Changelog: v1.4.0...v1.5.0

v1.4.0

14 Jan 18:41
8e52aaf

Choose a tag to compare

Features

  • Cache the latest_version available, 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

29 Nov 14:29
f42ab9f

Choose a tag to compare

What's Changed

  • Ensure Symfony 7.1 and 7.2 are supported, close #7 by @Kocal in #18

Full Changelog: v1.2.1...v1.3.0

v1.2.1

25 Sep 09:31
78de28a

Choose a tag to compare

What's Changed

  • fix: download the right version of biomejs when used libc is musl by @ralauge-aramis in #16

New Contributors

Full Changelog: v1.2.0...v1.2.1

v1.2.0

01 Sep 07:34
d675081

Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.2.0

v1.1.1

28 Aug 17:24
1ef6b11

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1