• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Changelog
2
3## 23.5.26
4
5- omit type annotationes for local variables (#7067, #7069, #7070)
6- remove BSD 3-clause license (#7073)
7- correctly parse lists of enums (#7157)
8- align naming conventions for generated code (#7187)
9- add `putBool` to fix errors when serializing structs with booleans (#7359)
10- fix handling of +/-inf defaults in codegen (#7588)
11- fix import issues in generated code (#7621)
12- Fix incorrect storage of floats as ints in some cases (#7703)
13- add final modifiers to the library implementation (#7943)
14
15## 2.0.5
16
17- switch to null safety (#6696)
18- add Object APIs (pack/unpack) (#6682, #6723, #6846)
19- add custom builder buffer allocator support (#6711)
20- add `Builder.size()` - finished buffer size (#6403)
21- make `writeString()` argument non-nullable (#6737)
22- make tables fixed size (expect the number of fields when creating) (#6735)
23- make table deduplication optional (param `deduplicateTables`) (#6734)
24- change `Builder.reset()` to reuse an existing buffer (#6661)
25- change table building to assert() instead of exceptions (#6754)
26- optimize `writeString()` for ASCII (param `asciiOptimization`) (#6736)
27- change `StringReader` to make ASCII optimization optional (param `asciiOptimization`) (#6758)
28- change `[byte]` and `[ubyte]` representation to `dart:typed_data` `Int8List` and `Uint8List` (#6839)
29- rename `lowFinish()` to `buffer` getter (#6712)
30- fix `Builder._writeString()` - always write trailing zero byte (#6390)
31- fix `Builder.reset()` - clear vTables (#6386)
32- make sure added padding is zeroed, same as in C++ (#6716)
33- many performance improvements (#6755)
34
35## 1.9.2
36
37- Ensure `_writeString` adds enough padding to null terminate strings.
38
39## 1.9.1
40
41- Changed constant identifiers to be compatible with Dart 2.x
42- No longer supports Dart 1.x
43
44## 1.9.0
45
46- Initial release, supports Dart 1.x and many dev versions of Dart 2.x
47