Skip to content

1.6.0

Latest

Choose a tag to compare

@chase-mew chase-mew released this 13 Mar 20:50
· 22 commits to main since this release

What's Changed

  • Enum return type: function returning number fails when returning enum state variable by @chase-manning in #336
  • Interface method balanceOf compiled as nonpayable instead of view; external calls return tx object by @chase-manning in #337
  • Child contract returning parent public property generates invalid Solidity (getter ref instead of call) by @chase-manning in #338
  • Align debounce values between compile watch and Playground [XXS] by @chase-manning in #362
  • Extract baseName(filePath) helper in compiler [XXS] by @chase-manning in #363
  • Extract duplicate array destructuring error message to constant [XXS] by @chase-manning in #364
  • Unify ZERO_ADDRESS constant format [XXS] by @chase-manning in #365
  • Extract config validation field helpers to reduce repetition [S] by @chase-manning in #366
  • Deduplicate struct/enum collection logic in parser.ts [M] by @chase-manning in #367
  • Consolidate URL constants between webapp and docs [S] by @chase-manning in #368
  • Refactor Playground TSLine and SolLine into single CodeLine component [S] by @chase-manning in #369
  • Extract init command CONFIG_TEMPLATE from DEFAULT_CONFIG [S] by @chase-manning in #370
  • Extract error message utility to eliminate DRY violation [S] by @chase-manning in #372
  • Extract enum member name helper to reduce 'Unknown' fallback duplication [XXS] by @chase-manning in #373
  • Unify generateStructDecl and generateFileScopeStructDecl in codegen [S] by @chase-manning in #374
  • Extract CACHE_HASH_LENGTH constant for hashString slice [XXS] by @chase-manning in #375
  • Unify test defaultConfig with config defaults [S] by @chase-manning in #376
  • Consolidate Token example code across webapp components [M] by @chase-manning in #377
  • Extract package.json version reader to shared utility [XXS] by @chase-manning in #378
  • Replace empty catch blocks with explicit comment or logging [XXS] by @chase-manning in #379
  • Extract duplicate ancestor set computation in codegen [S] by @chase-manning in #380
  • Share statement tree walking for console.log detection and stripping [M] by @chase-manning in #382
  • Use optional chaining for config.formatting in compiler [XXS] by @chase-manning in #381
  • Add explicit return type annotations to public API functions [M] by @chase-manning in #383
  • Consider splitting compiler.ts into phase modules [L] by @chase-manning in #384
  • Standardize import order (path vs fs) across source files [XXS] by @chase-manning in #371
  • Use DEFAULT_CONFIG in test fixtures instead of duplicating [XS] by @chase-manning in #405
  • Refactor syntax-highlight.ts to eliminate duplicate logic [S] by @chase-manning in #404
  • Extract TypeScript file filter logic to shared utility [XS] by @chase-manning in #406
  • Extract playground filename constant in webapp [XXS] by @chase-manning in #407
  • Fix inconsistent cached file write for multi-contract files [M] by @chase-manning in #408
  • Remove redundant ctx reset in collectTypes and collectFunctions [XS] by @chase-manning in #409
  • Simplify config validation with a helper [M] by @chase-manning in #410
  • Extract error message utility to eliminate DRY violation [S] by @chase-manning in #411
  • Improve empty catch blocks with explicit comments [XXS] by @chase-manning in #412
  • Consider consolidating ts.forEachChild passes in parser.ts [L] by @chase-manning in #413
  • Reduce codegen.ts file size by extracting modules [L] by @chase-manning in #414
  • Consider using walkStatements for collectLocalVarNames in codegen [M] by @chase-manning in #415
  • Unify statement tree traversal for console.log detection and stripping [M] by @chase-manning in #416
  • Constants import path inconsistency (webapp vs docs) [XXS] by @chase-manning in #431
  • Extend format script to webapp and docs [XS] by @chase-manning in #432
  • Replace webapp README with Skittles-specific content [S] by @chase-manning in #434
  • Stdlib resolver: make import path regex more robust [S] by @chase-manning in #435
  • DRY: Shared regex rules in syntax-highlight.ts [XXS] by @chase-manning in #433
  • Normalize import style: add space after comma in imports [XS] by @chase-manning in #436
  • DRY: Extract DEBOUNCE_MS to shared constant [XXS] by @chase-manning in #437
  • Extend ESLint to webapp, docs, and example [M] by @chase-manning in #438
  • Introduce path helper utilities for common patterns [M] by @chase-manning in #439
  • DRY: Extract generateSolidity branching helper [S] by @chase-manning in #440
  • DRY: Extract shared compile pipeline (parse → generate) [M] by @chase-manning in #441

Full Changelog: v1.5.1...v1.6.0