#Is updating a package's gleam version considered a breaking change?

1 messages · Page 1 of 1 (latest)

unreal crypt
#

If in gleam.toml the gleam version is set to e.g. 1.0.0, would changing that to 1.2.0 be a breaking change? The package's API is unchanged. I ask because 1.2.0 has some new formatting that causes gleam format --check to fail on version 1.0.0.

cinder niche
#

You can set the gleam requirement to something like gleam = "~> 1.0"

#

And still use 1.2.x to format

#

Packages that import yours won’t be trying to format your code anyway so it shouldn’t matter what version of gleam they’re using