Skip to content

Releases: google/built_value.dart

Allow build_runner 0.10.0

31 Aug 13:24
34b3d7d
Compare
Choose a tag to compare
  • Allow build_runner 0.10.0.

Fixes; allow built_collection 4; ignore unnecessary_const/new

22 Aug 15:24
948102f
Compare
Choose a tag to compare
  • Improve generation for operator==, don't use dynamic.
  • Improve error message and documentation for missing builder factory.
  • Allow built_collection 4.0.0.
  • Fix code generation stack overflow when there is a loop in serializable types.
  • Fix library name output in generation error messages.
  • Add ignores for lints 'unnecessary_const' and 'unnecessary_new' to generated code.

Upgrade to source_gen 0.9.0

31 Jul 09:18
ad7b4df
Compare
Choose a tag to compare
  • Update to the latest source_gen. This generator can now be used with other generators that want to write to .g.dart files without a manual build script.
  • Breaking change: The "header" configuration on this builder is now ignored.

Allow SDK 2.0.0

23 Jul 14:58
1d215e7
Compare
Choose a tag to compare
Merge pull request #463 from davidmorgan/bump-sdk

Allow SDK 2.0.0.

More lint ignores; bump quiver version

23 Jul 12:53
223a08b
Compare
Choose a tag to compare
  • Add ignores for lints 'lines_longer_than_80_chars' and 'avoid_catches_without_on_clauses' to generated code.
  • Bump version of quiver.

Bump versions of build_runner, build_config and shelf.

02 Jul 11:59
c79eb68
Compare
Choose a tag to compare
Merge pull request #449 from davidmorgan/fix-build

Bump versions of build_runner and build_config.

Fix violations of prefer_equal_for_default_values lint.

19 Jun 12:43
9eab2bb
Compare
Choose a tag to compare
Merge pull request #448 from davidmorgan/release-5-5-2

Release 5.5.2.

Bump analyzer version

31 May 12:11
e68de81
Compare
Choose a tag to compare
  • Bump versions of analyzer, analyzer_plugin.

Set and DateTime serialization; fixes for generics

29 May 11:25
2223aea
Compare
Choose a tag to compare
  • Support serializing BuiltSet with StandardJsonPlugin. It's serialized to a JSON list.
  • Add Iso8601DateTimeSerializer for use when you want ISO8601 serialization instead of microseconds since epoch.
  • Fix code generation when inherited generic fields are made non-generic.

Better error messages, more checking

24 May 15:11
a19e135
Compare
Choose a tag to compare
  • Improve error message on failure to deserialize.
  • Move check forbidding instantiation with dynamic type parameters from builder to value class. Previously, you could avoid the check by using the generated constructor called _.