Skip to content

Commit 45d91c7

Browse files
committed
Bump version
1 parent aff9758 commit 45d91c7

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 0.6.0-nullsafety.1
2+
3+
- New `asXyzOrThrow()` methods as shorthand for `.required().asXyz()` featuring better error messages
4+
- `asBoolOrThrow()`
5+
- `asDateTimeOrThrow()`
6+
- `asDoubleOrThrow()`
7+
- `asIntOrThrow()`
8+
- `letOrThrow()`
9+
- `asListOrThrow()`
10+
- `asMapOrThrow()`
11+
- `asStringOrThrow()`
12+
- New `Pick.isAbsent` getter to check if a value is absent or `null` [#24](https://github.com/passsy/deep_pick/pull/24). Absent could mean
13+
1. Accessing a key which doesn't exist in a `Map`
14+
2. Reading the value from `List` when the index is greater than the length
15+
3. Trying to access a key in a `Map` but the found data a `Object` which isn't a Map
16+
- The String `"true"` and `"false"` are now parsed as boolean
17+
- More nnbd refactoring
18+
119
## 0.6.0-nullsafety.0
220

321
- Migrate to nullsafety (required Dart >=2.12)

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: deep_pick
22
description: A library to access deep nested values inside of dart data structures, like returned from `dynamic jsonDecode(String source)`.
3-
version: 0.6.0-nullsafety.0
3+
version: 0.6.0-nullsafety.1
44
homepage: https://github.com/passsy/deep_pick
55

66
environment:

0 commit comments

Comments
 (0)