9.7 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.8

Bug Fixes

  • [lexer] Str_from_to_end (#532)
  • [ast] Debug for Token (#512)
  • [ast] Store yul::Expr even if only Call is allowed (#496)

Features

  • [ast] Spanned optional commasep elements (#543)
  • [parser] Introduce Recovered enum to improve code readability (#517)

Miscellaneous Tasks

  • Remove feature(doc_auto_cfg) (#540)

Performance

  • [ast] Use ThinSlice (#546)
  • [parser] General improvements (#516)
  • [parser] Pass Token in registers (#509)
  • [lexer] Avoid thread locals when we have a Session (#507)
  • [lexer] Use eat_until_either in eat_string (#505)
  • [lexer] Use lookup tables for char info (#502)

Refactor

  • [ast] Boxed yul::StmtKind::For to reduce the size of yul::Stmt (#500)

0.1.7

Dependencies

  • [lexer] Inline token glueing into Cursor (#479)

Features

  • [parser] Implement recursion depth limit for expr, stmt, and yul_stmt (#464)
  • Bump to annotate-snippets 0.12, diagnostic tweaks (#465)

Miscellaneous Tasks

  • Rename lexer methods to slop (#481)
  • Remove deprecated items (#449)
  • [meta] Update solidity links (#448)

Performance

  • [lexer] Minor improvements (#480)

0.1.6

Features

  • [interface] Add FileLoader abstraction for fs/io (#438)
  • Make Literals implement Copy (#414)
  • Add ByteSymbol, use in LitKind::Str (#425)
  • Add Compiler (#397)

Miscellaneous Tasks

  • Downgrade some debug spans to trace (#412)
  • Update docs, fix ci (#403)

Other

  • Enforce typos (#423)

Performance

  • [sema] Better parallel parser scheduling (#428)
  • [parser] Improve parse_lit for integers (#427)
  • Tweak inlining (#426)

0.1.5

Dependencies

  • Bump to edition 2024, MSRV 1.88 (#375)

Features

  • [lexer] Add Cursor::with_position (#348)

Miscellaneous Tasks

  • Store SessionGlobals inside of Session (#379)
  • Use Option in the AST (#374)
  • Fn header spans (#371)
  • Clippy
  • Add span to TryCatchClause (#364)
  • [parser] Move unescaping from lexer to parser (#360)

Performance

  • [lexer] Optimize is_id_continue_byte using bitwise operations (#347)

Refactor

  • Remove redundant EoF check (#366)

0.1.4

Bug Fixes

  • Windows eol lexing (#340)
  • [parser] Allow EVM builtins to be present in yul paths (#336)

Dependencies

  • [lexer] Rewrite prefixed literal lexing (#325)

Features

  • [sema] Implement receive function checks (#321)
  • Add span in FunctionHeader (#318)
  • [ast] Add spans to blocks (#314)

Miscellaneous Tasks

  • [lexer] Cursor cleanup (#338)

Performance

  • [lexer] Use slice::Iter instead of Chars in Cursor (#339)
  • [lexer] Use memchr in block_comment (#337)
  • [lexer] Add eat_until (#324)

0.1.3

Bug Fixes

  • [parser] Clear docs if not consumed immediatly (#309)
  • [parser] Named call arguments are allowed to be empty (#283)
  • Invalid underscores check (#281)
  • [parser] Typo in concatenated string literals
  • [parser] Align number parsing with solc (#272)
  • [parser] Correct token precedence (#271)
  • [parser] Ignore comments in lookahead (#267)
  • [parser] Remove RawTokenKind::UnknownPrefix (#260)
  • [parser] Don't panic when parsing hex rationals (#256)

Features

  • [parser] Accept non-checksummed addresses, to be validated later (#285)
  • [ast] Store concatenated string literals (#266)
  • [ast] Add span to CallArgs (#265)
  • Pretty printing utilities (#264)
  • [parser] Use impl Into (#258)

Miscellaneous Tasks

  • [lexer] Add tokens.capacity log
  • Tweak tracing events (#255)
  • Revert extra changelog

Performance

  • [lexer] Deal with bytes instead of chars in Cursor (#279)
  • [lexer] Filter out comments again (#269)
  • [lexer] Double tokens capacity estimate (#268)

0.1.2

Bug Fixes

  • [parser] Glob imports require an alias (#245)
  • Correctly resolve try/catch scopes (#200)

Features

  • Refactor FileResolver to allow custom current_dir (#235)
  • Parse storage layout specifiers (#232)

Miscellaneous Tasks

  • Shorten Diagnostic* to Diag (#184)

Performance

  • Make Token implement Copy (#241)

0.1.1

Bug Fixes

  • Add Session::enter_parallel (#183)
  • [parser] Accept leading dot in literals (#151)
  • [parser] Span of partially-parsed expressions (#139)
  • [parser] Ignore more doc comments (#136)

Documentation

Features

  • Add some more Span utils (#179)
  • [parser] Allow doc-comments anywhere (#154)
  • Validate variable data locations (#149)
  • [parser] Recover old-style fallbacks (#135)
  • Make parse_semver_req public (#114)

Miscellaneous Tasks

  • Remove Pos trait (#137)

Other

  • Validate num. variants in enum declaration (#120)
  • Better error for struct without any fields (#121)

Refactor

  • Re-export ast::* internal module (#141)

0.1.0

Initial release.