Releases: FuelLabs/sway
Releases · FuelLabs/sway
v0.5.0
What's Changed
- adding slack notify to CI steps by @rfuelsh in #768
- Add build cache by @ellioty in #756
- Supertraits implementation by @mohammadfawaz in #752
- addr2line command for inverse source mapping by @Dentosal in #741
- Add forc explorer command by @alex-matthe in #674
- Bump lockfile internal deps to v0.4.0. by @adlerjohn in #775
- fix: fix formatter adding
--
to multipleuse
statements by @vnepveu in #773 - Descriptive error instead of allowing starting a node with
forc run
by @adlerjohn in #786 - Make missing manifest file error the same as Rust's. by @adlerjohn in #785
- Fix typo seralizatio -> serialization by @adlerjohn in #787
- Clean up forc run no node error string. by @adlerjohn in #789
- Fix forc explorer error string by @adlerjohn in #791
- Make forc explorer print out a valid URL. by @adlerjohn in #792
- Code is not guaranteed to run on Rust 1.53 stable. by @adlerjohn in #794
- Allow trailing comma for function parameters. by @adlerjohn in #793
- Remove codeowners file. by @adlerjohn in #790
- Move book examples into standalone projects. Include them in book via mdbook preprocessor. by @mitchmindtree in #766
- Add
build-all-examples
to Cargo.lock by @mitchmindtree in #803 - Reorder import items of a use statement lexicographically. by @sagunb in #797
- Add
--output-directory
toforc build
and related commands by @mitchmindtree in #796 - fix incorrect error printout when compiling a library with no errors by @sezna in #812
- fix: prevent panic when parsing empty string by @alex-matthe in #774
- forc: Add util
user_forc_directory
function by @mitchmindtree in #809 - Remove the unused
&mut dependency_graph
throughoutsway-core
by @mitchmindtree in #826 - Add spans via metadata to IR. by @otrho in #808
- Attempt to split up CI build steps into separate jobs by @mitchmindtree in #807
- New graph-coloring-based register allocator by @mohammadfawaz in #816
- Allow prefixes in any call path. by @emilyaherbert in #472
- Smaller IR changes. by @otrho in #828
- Fix panic on empty trait impl by @mohammadfawaz in #838
- CI is failing because the examples are trying to use a version of the standard library that is too advanced by @emilyaherbert in #839
- Fixing the implementation of supertraits to match Rust by @mohammadfawaz in #835
- Add
size_of
functionality. by @emilyaherbert in #818 - Avoid a panic when a Sway file starts with something unexpected by @mohammadfawaz in #843
- Update the spelling of the return register and the return length in the compiler for
asm
blocks by @mohammadfawaz in #848 - Remove
.vscode
by @adlerjohn in #849 - change Forc.toml to take an array of authors by @JoshuaBatty in #822
- Use Clap V3 instead of StructOpt by @JoshuaBatty in #850
- Bump to v0.5.0. by @adlerjohn in #853
New Contributors
- @mitchmindtree made their first contribution in #766
- @sagunb made their first contribution in #797
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Fix starting line of warning spans by @sezna in #712
- Implement initial support for source mapping by @Dentosal in #656
- Add tests for implementing the Eq trait for Address by @nfurfaro in #672
- Version Bump Default Cargo.toml by @ControlCplusControlV in #703
- Add environment variable knobs to customise the E2E test runs. by @otrho in #707
- ci: build with all features by @adlerjohn in #708
- Revert instead of return when no function selectors match by @sezna in #639
- Defer integer literal type resolution until after type checking by @mohammadfawaz in #711
- Adding tests for force_transfer function. by @nfurfaro in #697
- Move subcurrency example to examples directory by @adlerjohn in #731
- Fixing an issue where library items are available without them being imported by @mohammadfawaz in #728
- Implementing tuple access via desugaring and indexing. by @emilyaherbert in #681
- Fix E2E tests for IR. by @otrho in #734
- Update ec_recover test to use updated B512 data structure. by @otrho in #725
- Multi import statements with self syntax by @mohammadfawaz in #729
- Importing the same item multiple times should be a compile error by @mohammadfawaz in #739
- Rename fuels-rs to fuels-contract by @digorithm in #740
- Document how
dep
works by @ControlCplusControlV in #735 - Fixing a generic types resolution bug by @mohammadfawaz in #736
- Update built_in_types.md by @pramitgaha in #750
- Bump fuel-tx, fuel-vm, and fuel-core versions. by @adlerjohn in #745
- Arrange forc.toml fields alphabetically by @eureka-cpu in #754
- Turning an instance of HashSet into BTreeSet in
asm_generation
by @mohammadfawaz in #759 - fix misspelled cargo in docs by @JoshuaBatty in #761
- update to latest rust docker image by @Voxelot in #762
- v0.4.0 by @sezna in #760
New Contributors
- @mohammadfawaz made their first contribution in #711
- @pramitgaha made their first contribution in #750
- @JoshuaBatty made their first contribution in #761
Full Changelog: v0.3.3...v0.4.0
v0.3.3
v0.3.2
What's Changed
- Adding tests for
mint
andburn
by @nfurfaro in #679 - Fix new lints from the latest clippy by @Dentosal in #696
- Fix unhelpful error found when there is an unimplemented feature. by @emilyaherbert in #700
- feature to uwu-ify compile errors and warnings by @sezna in #714
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- Add semver tagging for release image by @rfuelsh in #667
- Remove comment with typo by @adlerjohn in #666
- Set version of non-published crates to 0.0.0 by @adlerjohn in #664
- Rename signature gen util for added clarity by @nfurfaro in #669
- lsp: handle file deletion by @adlerjohn in #648
- lsp: fix exhaustive symbol check by @adlerjohn in #649
- Fix bug with reporting number of tests run. by @emilyaherbert in #673
- Refactor usage of namespaces to improve compiler performance by @sezna in #680
- Remove use of
[[tx-input]]
for tests by @adlerjohn in #675 - Pin our std and core deps in the test suite by @sezna in #683
- Clean up Forc readme. by @adlerjohn in #692
- Add link and formatting fix. by @adlerjohn in #690
- Update and fix toolchain documentation. by @adlerjohn in #691
- fix: fix manifest formatter in
forc fmt
by @vnepveu in #686 - Bump to version v0.3.1 by @adlerjohn in #688
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Grammatical Tweaks to the Docs by @ControlCplusControlV in #602
- Remove unused dependency which is preventing builds on Windows. by @sezna in #613
- Update to the dependency name to avoid download collisions in
forc_build
. by @eureka-cpu in #611 - fix: fix hover and add variable types on hover by @alex-matthe in #568
- Fix display bug. by @emilyaherbert in #618
- Update lockfile. by @adlerjohn in #617
- Display unimplemented error instead of panicking on generic traits by @sezna in #612
- fix OOG in tests by @sezna in #620
- Build & Publish Sway Docker Image by @rfuelsh in #597
- Remove Example Project by @ControlCplusControlV in #623
- Implementing an ec-recover function for the stdlib by @nfurfaro in #432
- Sway IR crate. by @otrho in #596
- Hash the dependency name and source before writing to avoid bad characters by @sezna in #627
- sway-fmt refactor by @leviathanbeak in #622
- Make parse-bytecode output spaces instead of nulls by @Dentosal in #629
- Export
Span
andIdent
fromsway-core
tosway-types
. by @otrho in #630 - print out filtered tests; warn if no tests run by @sezna in #637
- Add "differences from Rust" chapter by @sezna in #638
- feat(forc): add manifest formatter by @vnepveu in #616
- Adds the missing
ec_recover
tests. by @nfurfaro in #626 - Fix some incorrectly parsed tokens. by @emilyaherbert in #643
- Optional IR integration into
sway-core
. by @otrho in #640 - Rename HLL to Sway. by @adlerjohn in #650
- feat(forc): add "organization" field in forc manifest by @vnepveu in #631
- Remove direct dependency on
curl
by @adlerjohn in #651 - Add publish delay to CI by @adlerjohn in #654
- sway-fmt with FormattingOptions by @leviathanbeak in #655
- Add details in "A Forc Project" by @wschwab in #660
- Bump fuel-tx to 0.2 by @adlerjohn in #661
- Bump to v0.3.0 by @adlerjohn in #663
New Contributors
- @Dentosal made their first contribution in #629
- @vnepveu made their first contribution in #616
- @wschwab made their first contribution in #660
Full Changelog: v0.2.1...v0.3.0
v0.2.1
Changelog
Many PRs have gone in, but if you're just tuning in for the major changes, here they are!
- Fix a bug related to importing trait implementations with a star import (#588)
- Match expressions and pattern matching on structs and tuples (#573)
- Tuple types (#399)
- Multi-item import statements (#584)
Note that let
pattern matching is not yet implemented, but is coming soon. So, the following statement does not work yet:
let (x, y) = (true, false);
This is coming soon!