Skip to content

Commit 200b4a6

Browse files
committed
Prepare v0.20.0
1 parent f4bb2da commit 200b4a6

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

CHANGELOG.md

+35-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,40 @@ Here are some outlines of changes we intend to make that affect the public API:
2727
Released Changes
2828
----------------
2929

30+
### v0.20.0
31+
32+
go-ipld-prime's release policy says that:
33+
34+
> even numbers should be easy upgrades; odd numbers may change things
35+
36+
As such, v0.20.0 is a relatively minor release with a grab-bag of small improvements and fixes.
37+
38+
_2023 February 11_
39+
40+
Schema errors can now [`errors.Is`](https://pkg.go.dev/errors#Is):
41+
42+
* \[[`61c9ab10d4`](https://github.com/ipld/go-ipld-prime/commit/61c9ab10d4)] - **feat**: support errors.Is for schema errors (Ian Davis) [#476](https://github.com/ipld/go-ipld-prime/pull/476)
43+
44+
Schema DMT (schema/dmt) is now more usable from the outside and has a new `ConcatenateSchemas` function that can be used to combine two schemas into one:
45+
46+
* \[[`db9d8a7512`](https://github.com/ipld/go-ipld-prime/commit/db9d8a7512)] - Export schema/dmt.TypeSystem. (Eric Myhre) [#483](https://github.com/ipld/go-ipld-prime/pull/483)
47+
* \[[`39818c169a`](https://github.com/ipld/go-ipld-prime/commit/39818c169a)] - Add a SchemaConcatenate operation. (Eric Myhre) [#483](https://github.com/ipld/go-ipld-prime/pull/483)
48+
* \[[`c68ba53c67`](https://github.com/ipld/go-ipld-prime/commit/c68ba53c67)] - More accurate name for structure that contains easy access to prototypes. (Eric Myhre) [#483](https://github.com/ipld/go-ipld-prime/pull/483)
49+
* \[[`2ecabf1217`](https://github.com/ipld/go-ipld-prime/commit/2ecabf1217)] - Add several pieces of docs to schema/dmt. (Eric Myhre)
50+
* \[[`33475f0448`](https://github.com/ipld/go-ipld-prime/commit/33475f0448)] - Fix mispatched package declaration. (Eric Myhre)
51+
52+
The DAG-CBOR codec now has an `DontParseBeyondEnd` option (default `false`) that allows it to parse undelimited streamed objects. This matches the same functionality already in DAG-JSON and should only be used for specialised cases:
53+
54+
* \[[`7b00b1490f`](https://github.com/ipld/go-ipld-prime/commit/7b00b1490f)] - feat(dagcbor): mode to allow parsing undelimited streamed objects (Rod Vagg) [#490](https://github.com/ipld/go-ipld-prime/pull/490)
55+
56+
`datamodel.Copy` got some direct test coverage and will now complain if you try to copy a `nil` node:
57+
58+
* \[[`f4bb2daa27`](https://github.com/ipld/go-ipld-prime/commit/f4bb2daa27)] - fix(datamodel): add tests to Copy, make it complain on nil (Rod Vagg) [#491](https://github.com/ipld/go-ipld-prime/pull/491)
59+
60+
The LinkSystem data loading check will compare links (CIDs) to ensure it loaded what you wanted; this now properly supports the case where your link is a pointer:
61+
62+
* \[[`1fc56b8e7a`](https://github.com/ipld/go-ipld-prime/commit/1fc56b8e7a)] - Fix hash mismatch error on matching link pointer (Masih H. Derkani) [#480](https://github.com/ipld/go-ipld-prime/pull/480)
63+
3064
### v0.19.0
3165

3266
_2022 October 13_
@@ -35,7 +69,7 @@ go-ipld-prime's release policy says that:
3569

3670
> even numbers should be easy upgrades; odd numbers may change things
3771
38-
The major change in this release is a bump to Go 1.18, and as such we're suggesting this should be an "easy upgrade".
72+
The major change in this release is a bump to Go 1.18.
3973

4074
#### 🛠 Breaking Changes
4175

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v0.19.0"
2+
"version": "v0.20.0"
33
}

0 commit comments

Comments
 (0)