NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
Model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling.
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 2 months
Nearly every release is documented
notes for 31 of 33 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
38 releases · first in 2017
Support mutable models (again).
whereType() instead of chaining where() and cast().const constructors if all
fields lack a setter.Remove unnecessary new and const.
new and const.One column per quarter.
Generate Codec and Converter classes.
Codec and Converter classes.toString methods.Fix bug where enums didn't support default values.
@required on items with default values.@SerializableField for fields without them.Don't emit @required if there is a default value.
serializesTo.@required if there is a default value.autoIdAndDateFields.* Change as Iterable to .cast .
as Iterable<Map> to .cast<Map>.Introduce @SerializableField, and say goodbye to annotation hell.
@SerializableField, and say goodbye to annotation hell.ref generator.* Add @DefaultValue support.
@DefaultValue support.Split out TS def builder, to emit to source.
Explicit changes for assisting angel_orm_generator.
angel_orm_generator.Only generate one .g.dart file.
cache..g.dart file.Uint8List..cast() for Lists and Maps of non-Model types.Add declare module to generated TypeScript files.
declare module to generated TypeScript files.* Generate hashCode.
hashCode.Removed dependency on package:id.
package:id.jsonModelBuilder now uses SharedPartBuilder, rather than
PartBuilder.Generate XFields.allFields constant.
XFields.allFields constant.dynamic is present.toJson in toMap on nested models.@generatedSerializable to always find generated
models.* Upgrade to source_gen@^0.8.0.
source_gen@^0.8.0.Fix a cast error when deserializing nested model classes.
Fix previously unseen cast errors with enums.
Fix a cast error when self-referencing nested list expressions.
* Remove defaults in build.yaml.
defaults in build.yaml.Now supports de/serialization of enum types.
enum types.const constructors when possible.whereType, perform manual coercion.fromMap with typecasting, for Dart 2's sake.Fix generation of const constructors with iterables.
const constructors with iterables.Better discern when custom methods disqualify classes from const protection.
const protection.Support self-referencing via toJson().
null in toMap.toJson().Create unmodifiable Lists and Maps.
@required on fields.@immutable annotation to classes, if
package:meta is imported./// <reference path="..." /> to TypeScript models.Support for using abstract to create immutable model classes.
abstract to create immutable model classes.Map types.== operators.Deserialization now supports un-serialized DateTime.
DateTime.Fields in TypeScript definitions are now nullable by default.
Added a TypeScriptDefinitionBuilder.
TypeScriptDefinitionBuilder.Generates an XFields class with the serialized names of all fields in a model class X.
XFields class with the serialized names of
all fields in a model class X.XSerializer.fromMap.Ensured that List is only transformed if it generically references a Model.
List is only transformed if
it generically references a Model.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →