WIP: Dart release 2.0 (#6927)

* chore: make flatc artifacts from CI executable

* chore: prepare dart 2.0.0 release

* refactor: update description in pubspec.yaml to make pub.dev happy

"The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters."
This commit is contained in:
Ivan Dlugos
2021-11-18 19:56:29 +01:00
committed by GitHub
parent a59288a019
commit 256ab3798d
4 changed files with 34 additions and 23 deletions

View File

@@ -1,19 +1,20 @@
## 2.0.0
- switch to null safety (#6696)
- add Object APIs (pack/unpack) (#6682, #6723)
- add Object APIs (pack/unpack) (#6682, #6723, #6846)
- add custom builder buffer allocator support (#6711)
- add Builder.size() - finished buffer size (#6403)
- add `Builder.size()` - finished buffer size (#6403)
- make `writeString()` argument non-nullable (#6737)
- make tables fixed size (expect the number of fields when creating) (#6735)
- make table deduplication optional (param `deduplicateTables`) (#6734)
- change Builder.reset() to reuse an existing buffer (#6661)
- change `Builder.reset()` to reuse an existing buffer (#6661)
- change table building to assert() instead of exceptions (#6754)
- optimize `writeString()` for ASCII (param `asciiOptimization`) (#6736)
- change `StringReader` to make ASCII optimization optional (param `asciiOptimization`) (#6758)
- change `StringReader` to make ASCII optimization optional (param `asciiOptimization`) (#6758)
- change `[byte]` and `[ubyte]` representation to `dart:typed_data` `Int8List` and `Uint8List` (#6839)
- rename `lowFinish()` to `buffer` getter (#6712)
- fix Builder._writeString() - always write trailing zero byte (#6390)
- fix Builder.reset() - clear vTables (#6386)
- fix `Builder._writeString()` - always write trailing zero byte (#6390)
- fix `Builder.reset()` - clear vTables (#6386)
- make sure added padding is zeroed, same as in C++ (#6716)
- many performance improvements (#6755)
@@ -28,4 +29,4 @@
## 1.9.0
- Initial release, supports Dart 1.x and many dev versions of Dart 2.x
- Initial release, supports Dart 1.x and many dev versions of Dart 2.x