What's Changed
- Implement
Display
forTypeId
s; Add type parameters to the definition of custom types by @sezna in #1534 - Make sure global const delcarations are not misreported as unused. by @otrho in #1537
- Remove
rand
dependency from default Cargo.toml by @adlerjohn in #1539 - Do not overwrite preceeding numeric type info on cast by @sezna in #1540
- Fix asm for
get_ptr
when the offset is > 4096 by @mohammadfawaz in #1541 - Fix non-deterministic tuple names by @mohammadfawaz in #1542
- Use
__
as a prefix for compiler intrinsics by @sezna in #1536 - Fix formatting aliases by @ra0x3 in #1524
- Add more detailed Forc.toml manifest reference documentation by @kayagokalp in #1538
- Added block comment example by @Braqzen in #1547
- Adding
b256
bitwise operators (&
,|
,^
) by @nfurfaro in #1514 - Update book links to
sway-lib-core
in Section 3.2 by @binggh in #1551 - Impl Ord for b256 by @nfurfaro in #1554
- Fixed Typo in book advanced Calls. #1561 by @PrajwalBorkar in #1562
- Add build-and-publish-forc-binary CI job by @ra0x3 in #1513
- Update traits.md by @SwayStar123 in #1565
- Fixing the handling of constant strings by properly accounting for their size by @mohammadfawaz in #1566
- Remove the old
pest
parser code by @sezna in #1407 - Use forc-documenter as an mdbook preprocessor instead by @binggh in #1545
- Fix CI not installing mdbook-forc-documenter preprocessor. Fix out-of-date
Cargo.lock
file missing pest dependencies. by @binggh in #1569 - Add a Spanned trait to the parser by @canndrew in #1559
- Remove compiler warnings by @nfurfaro in #1576
- Fix bug where trait/abi method argument type mismatch went uncaught by @mitchmindtree in #1581
- Refactoring for readability and maintainability by @emilyaherbert in #1586
- Added generic sha256 by @Braqzen in #1544
- Improvements to namespace API and declaration ABI. by @emilyaherbert in #1588
- Adding an intrinsics module by @nfurfaro in #1573
- Adding a generic
log
function by @nfurfaro in #1572 - Added foundation for
sway-fmt
v2 by @eureka-cpu in #1425 - Cleanup constants.sw & add impl b256 to core/num by @nfurfaro in #1599
- Fix space formatting between parenthesis and opening quotation marks by @binggh in #1603
- Replace the
impure
keyword with#[storage(...)]
annotations. by @otrho in #1518 - Parse tuple field reassignments by @canndrew in #1558
- Disallow assigning to fields of non-mutable structs by @canndrew in #1420
- Fix Shiftable trait to shift by u64. by @adlerjohn in #1604
- Added generic keccak256 function by @Braqzen in #1606
- Deprecating old functions by @Braqzen in #1610
- Bump to v0.13.0 by @mohammadfawaz in #1587
New Contributors
- @PrajwalBorkar made their first contribution in #1562
- @SwayStar123 made their first contribution in #1565
Full Changelog: v0.12.2...v0.13.0