Skip to content

Commit 3d02666

Browse files
committed
pump version (0.7 -> 0.8)
1 parent 3cc79fe commit 3d02666

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

CHANGELOG.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,52 @@
1+
## 0.8.0
2+
3+
- feat: values without decimal point or exponent should be `int` type
4+
15
## 0.7.0
6+
27
- feat: toEncodable parameter
38
- feat: toDecodable is default to `toMap()` then `toJson()` then `toString()`
9+
410
```dart
511
json5Encode(obj, toEncodable: (v) => v.toMap())
612
```
13+
714
## 0.6.1
15+
816
- feat: serialize iterable objects
917
- fix: JSON.stringify return non-null String
1018
- fix: indentication can be number and string
1119

1220
## 0.6.0
21+
1322
- Migrating to null safety
1423

1524
## 0.5.5
25+
1626
- hotfix: dart not support '\0' escape
1727

1828
## 0.5.4
29+
1930
- Fix: RangeError when stringify a string with ending '\0'
2031

2132
## 0.5.3
22-
- fix: json5Decode() should return Map<String, dynamic> instead of Map<dynamic, dynamic>
33+
34+
- fix: json5Decode() should return Map<String, dynamic> instead of Map<dynamic, dynamic>
2335

2436
## 0.5.2
37+
2538
- support runtime-js, flutter web
2639

2740
## 0.5.1
28-
- fix: cannot stringify object if their keys are not string .
41+
42+
- fix: cannot stringify object if their keys are not string .
2943

3044
## 0.5.0
45+
3146
- supports Map, List, null, num, bool, String
32-
- `JSON5.parse( aString );`
47+
- `JSON5.parse( aString );`
3348
- `JSON5.stringify( anObj )`
3449
- `JSON5.stringify( abObj, space:2 )`
35-
- `json5Decode( aString );`
50+
- `json5Decode( aString );`
3651
- `json5Encode( anObj )`
37-
- `json5Encode( abObj, space:2 )`
52+
- `json5Encode( abObj, space:2 )`

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: json5
22
description: JSON5 for dart and flutter
3-
version: 0.7.0
3+
version: 0.8.0
44
homepage: https://github.com/damphat/json5-dart
55

66
environment:
7-
sdk: '>=2.12.0 <3.0.0'
7+
sdk: ">=2.12.0 <3.0.0"
88

99
dev_dependencies:
1010
pedantic: ^1.9.0

0 commit comments

Comments
 (0)