Skip to content

Releases: FuelLabs/sway

v0.42.0

06 Jul 11:28
c4e4ef7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.41.0...v0.42.0

v0.41.0

30 Jun 11:17
0d45b89
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.40.1...v0.41.0

v0.40.1

31 May 15:34
48104d0
Compare
Choose a tag to compare

What's Changed

  • Fix forc-run-benchmarks checkout steps for non-PR CI builds by @tritao in #4594
  • Adds fully qualified paths for methods. by @esdrubal in #4579
  • Fix pub token being removed by swayfmt by @IGI-111 in #4612
  • Bump to v0.40.1 by @IGI-111 in #4614
  • Remove duplicate type checker definitions in favor of UnifyCheck by @IGI-111 in #4593

Full Changelog: v0.40.0...v0.40.1

v0.40.0

31 May 11:31
164c7c8
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • The new module privacy rules have now been stabilized and are the new default

New Optimizations

  • Copy propagation improvements should result in significantly smaller binary sizes.
    Our test suite binaries are now 7% smaller on average, of those affected by the optimization 23% smaller on average, with a maximum reduction of 88%.

Full Changelog: v0.39.1...v0.40.0

v0.39.1

24 May 13:49
e306565
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.39.0...v0.39.1

v0.39.0

17 May 14:05
7a09528
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Module privacy rules are changing to the ones described in RFC0008. The new behavior can be enabled with a flag. Code that doesn't respect the rules will still compile by default in this version. A warning will be emitted if the flag isn't enabled, and the new behavior should be made the default in the next version
  • New reserved keywords: __ptr and __slice
  • StorableSlice functions have been renamed to match the storage API
  • new intrinsics have been added in a way that breaks IR compatibility

Full Changelog: v0.38.0...v0.39.0

v0.38.0

25 Apr 04:20
2d16d70
Compare
Choose a tag to compare

Note: This is a re-publish of 0.37.2 under 0.38.0 due to some major breaking changes in the original.

What's Changed

Breaking Changes (Language)

This release includes some major changes w.r.t. storage access! In particular, take a look at the following:

  • Replace old storage API with the new one explained in the StorageKey RFC by @mohammadfawaz in #4464.

New Features

New Contributors

Full Changelog: v0.37.1...v0.38.0

v0.37.3

25 Apr 01:48
Compare
Choose a tag to compare

Full Changelog: v0.37.1...v0.37.3


NOTE: This republishes v0.37.1 as v0.37.3 to avoid users encountering breaking changes accidentally introduced in 0.37.2.

In particular, this release is aimed at addressing the following comment:

#4492 (comment)

Currently our release bot doesn't make it easy to yank existing releases. Here we just republish 0.37.1 as 0.37.3 to ensure users updating their sway repo deps don't consume the breaking changes accidentally included in 0.37.2. I'll republish those breaking changes in a follow-up 0.38 release.

v0.37.2

24 Apr 20:20
dc6af91
Compare
Choose a tag to compare

NOTE: This release was accidentally published as a patch release.

We have released v0.37.3 that reverts these changes, and v0.38.0 that re-includes them.
You likely want one of those versions instead.


What's Changed

New Contributors

Full Changelog: v0.37.1...v0.37.2

v0.37.1

13 Apr 16:28
83e5479
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.37.0...v0.37.1