Releases: FuelLabs/sway
Releases · FuelLabs/sway
v0.15.2
What's Changed
- Updated section regarding enums by @Braqzen in #1854
- Disallowing storage declarations in non-contracts by @mohammadfawaz in #1874
- Create the
DeterministicallyAborts
trait by @emilyaherbert in #1879 - Minor updates to
storage
in the Sway Book by @mohammadfawaz in #1875 - Move the impls for UnresolvedTypeCheck to match the location of the other impls for each type by @emilyaherbert in #1878
- Remove dead code by @emilyaherbert in #1882
- Replace manual string methods with
Display
by @emilyaherbert in #1883 - Items under [project] sorted alphabetically during
forc init
by @seem-less in #1885 - Use the
Spanned
trait everywhere by @emilyaherbert in #1881 - Remove dead code by @emilyaherbert in #1886
- remove_deps cannot handle removed dependencies correctly when there are multiple roots after edge removal by @kayagokalp in #1870
- Error on multiple function definitions by @vaivaswatha in #1840
- Fix clippy failure after #1840 by @vaivaswatha in #1891
- Refactor the representation of intrinsic functions in the AST by @emilyaherbert in #1884
- Adds associated functions for
NewlineStyle
by @eureka-cpu in #1894 - Make TypedImplTrait its own thing by @emilyaherbert in #1896
- Bump fuel-vm version in test harness by @nfurfaro in #1889
- Fix incorrect
CallPath
suffix onTypedImplTrait
by @JoshuaBatty in #1901 - Make
BuildConfig
anOption
for thecompile_to_ast
fn by @JoshuaBatty in #1902 - Disambiguate
path
dependencies using the ID of the package at the path root by @mitchmindtree in #1790 - Fix for accidentally skipping the print_intermediate_asm user config item. by @otrho in #1905
- Fix bug where forc_pkg::add_deps ignores that dependency name might differ from package name by @kayagokalp in #1861
- Disallow repeated
struct
/storage
fields andenum
variants by @mohammadfawaz in #1844 - Adds associated functions for handling of indentation by @eureka-cpu in #1911
- Fix how
enum
constants are initialized in codegen by @mohammadfawaz in #1897 - Dependency cycles are explicitly printed by @kayagokalp in #1910
- General enhancements to arrays in the Sway Book by @mohammadfawaz in #1917
- Fix small issue with #1917 - forgot the backticks by @mohammadfawaz in #1919
- Bump to v0.15.2 by @mohammadfawaz in #1920
New Contributors
- @seem-less made their first contribution in #1885
- @vaivaswatha made their first contribution in #1840
Full Changelog: v0.15.1...v0.15.2
v0.15.1
What's Changed
- Use the
uint
crate instead ofbigint
by @mohammadfawaz in #1850 - Bump to v0.15.1 by @mohammadfawaz in #1871
Full Changelog: v0.15.0...v0.15.1
v0.15.0
What's Changed
- More updates to the Sway Book related to
storage
by @mohammadfawaz in #1794 - Remove old codegen path by @emilyaherbert in #1802
- On Forc.toml change, forc should try to update only package nodes that appear in the lock::Diff by @kayagokalp in #1686
- Add
Identity
type by @nfurfaro in #1791 - Adds
forc-fmt-v2
plugin by @eureka-cpu in #1803 - Make tuple annotation more specific by @emilyaherbert in #1774
- Removed file sway.pest by @PrajwalBorkar in #1822
- Refactor
token
module functions by @nfurfaro in #1814 - Fix broken link in the Sway Book by @mohammadfawaz in #1828
- Reduce conservatism in the allocation algorithm by @mohammadfawaz in #1834
- Make match var return name deterministic by @mohammadfawaz in #1829
- Allow
enums
andstrings
in astorage
blocks by @mohammadfawaz in #1826 - Actually use some of the existing traits by @emilyaherbert in #1831
- Change color of forc init output by @kayagokalp in #1837
- Impl
into
forB512
by @nfurfaro in #1827 - Fix how the state index metadata is inlined by @mohammadfawaz in #1842
- Generate ABI JSONs for scripts by @AlicanC in #1838
- Report type name in the error when a type is unknown by @AlicanC in #1830
- Introduce forc build [profile]s in anticipation of introduction of compiler optimisation passes by @kayagokalp in #1800
- Made transfer_to a little more generic by @Braqzen in #1853
- Removed unused and rogue function by @Braqzen in #1855
- Revert "Made transfer_to a little more generic (#1853)" by @adlerjohn in #1856
- Adds
from_dir
to new formatter by @eureka-cpu in #1843 - Create CODEOWNERS by @adlerjohn in #1857
- Tuple field reassignments by @canndrew in #1788
- Add missing oracle file to
tuple_field_reassignment
test by @mitchmindtree in #1859 - better mdbook <> mdbook-forc-documenter setup instructions by @binggh in #1863
- Bump to v0.15.0 by @mohammadfawaz in #1835
Full Changelog: v0.14.5...v0.15.0
v0.14.5
What's Changed
- Update how receipts look like in the Sway Book after #1717 by @mohammadfawaz in #1751
- Add instructions to use fuelup. by @adlerjohn in #1741
StorageMap
implementation and test by @mohammadfawaz in #1754- docs: add paragraph about predicates debugging by @vnepveu in #1763
- update printing of generic types by @sezna in #1764
- Add an
enum
matching example by @mohammadfawaz in #1762 - Adding a new
flags.sw
module by @nfurfaro in #1758 - Improve the error message for when using unsupported RHS values in const declarations. by @otrho in #1767
- Change the dead code analysis for
if
expressions. by @otrho in #1770 - Format the
exponentiation
std-lib test by @mohammadfawaz in #1772 - Prevent recursive enums and structs from getting converted from parse nodes to AST nodes. by @otrho in #1768
- Collect tokens from the
TypedParseTree
for the language server. by @JoshuaBatty in #1775 - implicit_std to implicit-std by @kayagokalp in #1780
- Separate parsing, type-checking and control flow analysis into distinct phases by @mitchmindtree in #1712
- Add additional operators as syntactic sugar by @emilyaherbert in #1783
- Eliminating the need for
new()
to useStorageMap
by @mohammadfawaz in #1776 - Add
StorageMap
documentation in the Sway Book by @mohammadfawaz in #1760 - Bump to v0.14.5 by @mohammadfawaz in #1793
Full Changelog: v0.14.4...v0.14.5
v0.14.4
What's Changed
- refactor(forc-pkg): use vendored openssl and git2 by @Br1ght0ne in #1752
- Bump to v0.14.4 by @mohammadfawaz in #1753
New Contributors
- @Br1ght0ne made their first contribution in #1752
Full Changelog: v0.14.3...v0.14.4
v0.14.3
What's Changed
- Improve Sway toolchain docs. by @adlerjohn in #1729
- Remove a known issue from the book related to #1682 by @mohammadfawaz in #1739
- forc run output is formatted such that key! types and data fields are… by @kayagokalp in #1717
- Standardize "notes" in the Sway Book by @mohammadfawaz in #1743
- Improve the libraries section by @mohammadfawaz in #1745
- Test suite does not print test names, tracing usage in test suite fixed by @kayagokalp in #1720
- Add an exponentiation trait by @nfurfaro in #1744
- Fix bugs with resolving type parameters by @emilyaherbert in #1746
- Bump to v0.14.3 by @mohammadfawaz in #1749
Full Changelog: v0.14.2...v0.14.3
v0.14.2
What's Changed
- Add a note saying that the storage attributes are still WIP by @mohammadfawaz in #1721
- Adding some known issues to the docs by @mohammadfawaz in #1722
- Update the Rust SDK test by @mohammadfawaz in #1725
- Reorganize book. by @adlerjohn in #1724
- Update the logging section in the Sway Book by @mohammadfawaz in #1727
- Improve stdlib section in book. by @adlerjohn in #1731
- update README related to Forc commands/plugins by @binggh in #1728
- Remove unnecessary error in order to allow match expressions on generic types by @emilyaherbert in #1733
- Adding an
else
in the U128 library to bypass a bogus warning by @mohammadfawaz in #1735 - Update examples. by @adlerjohn in #1736
- Change any instance of
if let .. { .. } else { .. }
in the standard library to use match expressions by @emilyaherbert in #1732 - v0.14.2 by @emilyaherbert in #1737
Full Changelog: v0.14.1...v0.14.2
v0.14.1
What's Changed
- Storage with more than one word. by @adlerjohn in #1235
- v0.14.1 by @sezna in #1715
Full Changelog: v0.14.0...v0.14.1
v0.14.0
What's Changed
- Docker Fixes by @AlicanC in #1543
- Remove unnecessary docker cache step in CI by @Voxelot in #1675
- Fix incorrect collection of tokens from tuples in the language server by @JoshuaBatty in #1678
- Remove
forc-gm
in the docs for now by @binggh in #1680 - tiny perf gain by bailing early when finding methods for an error recovery type by @sezna in #1676
- Bump fuel-core to v0.8, and sub-deps. by @adlerjohn in #1683
- Implement left & right shift for
b256
by @nfurfaro in #1549 - Fix the
template
command for thecounter
example by @mohammadfawaz in #1690 - Fix comment location in testing with rust by @rootulp in #1695
- Move unnecessary usage of SDK for tests to e2e tests by @adlerjohn in #1687
- Remove collecting operators as tokens in language server by @JoshuaBatty in #1677
- Introduce FromTrait method name by @sezna in #1684
- Add more highlighted languages by @adlerjohn in #1699
- Remove sdk-harness script lib. by @adlerjohn in #1700
- Remove fuels-signers from SDK harness. by @adlerjohn in #1703
- Remove rand from SDK harness. by @adlerjohn in #1704
- New intrinsic for generating a unique
b256
key by @mohammadfawaz in #1688 - Bump SDK harness fuels-rs to 0.14 by @adlerjohn in #1709
- Improve installation docs. by @adlerjohn in #1711
- Bump fuels-rs init version to 0.14 by @adlerjohn in #1708
- Bump to v0.14.0. by @adlerjohn in #1714
Full Changelog: v0.13.2...v0.14.0
v0.13.2
What's Changed
- Move match expression desugaring from parsing to type checking by @emilyaherbert in #1596
- Add missing dependency in 2 test cases to supress unnecessary warnings by @emilyaherbert in #1658
- Add booleans to the keywords in the parser by @emilyaherbert in #1647
- Adding
jnzi
toparse_bytecode
and fixing some notes by @mohammadfawaz in #1654 - Adding
update_type()
to refactor some code used incopy_types()
by @mohammadfawaz in #1666 - Add
U128
type by @adlerjohn in #1600 - Updated welcome message colors by @Braqzen in #1662
- Parsing precedence fixes by @canndrew in #1660
- Fixing JSON ABI for tuples by @mohammadfawaz in #1653
- Improve grammar for type argument error by @sezna in #1670
- Small improvements to the Sway Book by @mohammadfawaz in #1672
- Expand match expressions to encompass enums by @emilyaherbert in #1642
- Bump to v0.13.2 by @mohammadfawaz in #1668
Full Changelog: v0.13.1...v0.13.2