Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.2.0 source code.tar.gz | 2024-02-29 | 1.2 MB | |
0.2.0 source code.zip | 2024-02-29 | 1.5 MB | |
README.md | 2024-02-29 | 1.3 kB | |
Totals: 3 Items | 2.7 MB | 0 |
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/
andlib/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 oflib/models/
andlib/exceptions/
folders