Skip to content

0.2.0

Compare
Choose a tag to compare
@dnys1 dnys1 released this 29 Feb 05:15
· 127 commits to main since this release

Features

  • Bumps minimum Dart SDK to 3.3
  • Adds JsonValue hierarchy for representing JSON primitives safely
  • Model/exception types from third-party packages no longer need to be exported from models.dart/exceptions.dart. Only types you've defined in your backend.
  • Adds support for lib/models/ and lib/exceptions/ folders for better organization of custom types

Fixes

  • Celest crashing when editing files #25
  • Allow Object and Object?/dynamic is models, functions and exceptions #35
  • Incompatibility of custom toJson/fromJson with other non-Celest code #38
  • Allow the code to specify/check if Celest is running locally or in the cloud (and where in the cloud). #43
  • Bug: Custom exception not thrown #48
  • DRY up exception handling in generated client #49

Deprecations

  • Fixes casing of resource types (e.g. @env.myEnvVar -> @Env.myEnvVar)
  • lib/models.dart/lib/exceptions.dart have been deprecated in favor of lib/models/ and lib/exceptions/ folders