github onflow/cadence v0.33.0

19 months ago

What's Changed

⭐ Features

🛠 Improvements

  • improve wording and classification of some interpreter errors by @dsainati1 in #2194
  • Also update flow-go's new insecure package by @turbolent in #2220
  • Correct example code link by @alilloig in #2209
  • Allow errors to pretty-print excerpts over multiple lines by @dsainati1 in #2197
  • Add additional metering methods to the interface by @janezpodhostnik in #2222
  • Ensure GetProgram calls before SetProgram by @turbolent in #2249
  • Replace interface GetProgram and SetProgram with GetAndSetProgram by @turbolent in #2254
  • Replace empty common.Address{} with singleton by @dreamsmasher in #2256
  • Improve update tool and documentation by @SupunS in #2261
  • add unwrap to ExternalError by @dsainati1 in #2286
  • Refactor external types to instantiate only once whenever possible by @SupunS in #2225
  • add Config() method to runtime.Runtime interface by @dreamsmasher in #2281
  • Improve compatibility diff checker by @SupunS in #2291
  • Add Cadence to Go type translator, refactor Block type by @turbolent in #2278
  • Add support for type parameters to Cadence to Go type translator by @turbolent in #2287
  • Simplify lookaheads by @turbolent in #2298
  • Clear the test runtime program cache automatically after contract update by @turbolent in #2306
  • Use dedicated type parameters for test-stdlib functions by @SupunS in #2206
  • Remove support for importing/exporting and JSON encoding/decoding path links and cadence type by @turbolent in #2248
  • Add backward compatibility check CI workflow by @SupunS in #2237
  • Avoid unnecessary use of any and casts, parse function is generic now by @turbolent in #2270
  • Automate the release process by @SupunS in #2239
  • Make compatibility checker workflow work with old tags by @SupunS in #2288
  • Improve version bump command by @SupunS in #2314

🐞 Bug Fixes

  • Revert "don't ignore invalid identifier" / PR by @turbolent in #2218
  • Ensure SetProgram is called after GetProgram, even if there is an error by @turbolent in #2245
  • Fix loop variables being captured in closures by @dreamsmasher in #2255
  • Re-merge #2302, Fix docstring parsing for functions by @turbolent in #2313
  • Retain docstrings for special function declarations, remove unnecessary return type annotations by @turbolent in #2303
  • Handle cyclic imports in analyzer tool by @SupunS in #2315

📖 Documentation

Other Changes

  • Bump version by @SupunS in #2214
  • Refactor the existing issue templates to forms by @turbolent in #2229
  • Remove copyright years from file headers, update years in NOTICE by @turbolent in #2258
  • Downgrade benchstat version to bring back html output by @SupunS in #2274
  • Clear warnings by removing unnecessary type arguments in tests by @dreamsmasher in #2277
  • Fix confusion of return type of checker's visitExpression methods by @SupunS in #2269
  • add dreamsmasher to issue assignees, codeowners for automatic reviewer requests by @dreamsmasher in #2312
  • Bypass go-proxy to always pick the latest commit by @SupunS in #2316

New Contributors

Full Changelog: v0.31.1...v0.33.0

Don't miss a new cadence release

NewReleases is sending notifications on new releases.