We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce505ed commit 13a9e71Copy full SHA for 13a9e71
CHANGELOG.md
@@ -1,3 +1,19 @@
1
+## 0.5.0
2
+- Breaking changes:
3
+ * The extension `GenericReader` was renamed `Reader`
4
+ * `Decoder<T>` is now an abstract class and user defined decoders
5
+ must extend it.
6
+ * The extension methods `get...` were renamed `read...`,
7
+ for example: `obj.get<int>` becomes `obj.read<int>()`.
8
+ * Enums are now read using the extension method `.read<EnumType>()` and
9
+ it is required to add a decoder for `EnumType`:
10
+ ```Dart
11
+ Reader.addDecoder(EnumDecoder<EnumType>(values: EnumType.values));
12
+ ```
13
+- Package does no longer depend on `source_gen` and `dart:mirrors`.
14
+- Requires analyzer ^8.4.0.
15
+
16
17
## 0.4.1
18
- Updated dependencies (analyser `^7.0.0`).
19
0 commit comments