Skip to content

Commit

Permalink
deps: update go-jmap to v0.5.2
Browse files Browse the repository at this point in the history
Update go-jmap to v0.5.2. This patch version includes race condition
fixes for accessing a Session object from the various Client methods.
More important for aerc, it enforces that all client requests include
the JMAP Core URI in the "using" capability string. This was corrected
via an errata to RFC 8620 and 8621.

Also correct a bug from v0.5.1 where we checked for required
capabilities only in the parsed map. go-jmap parses the core capability
into a different field, which causes an error when requesting a core
capability or any unparsed capability. Go-jmap now checks the raw JMAP
map received from the server which enables clients to use any capability
the server has advertised it supports.

Link: https://www.rfc-editor.org/errata/eid6606
Reported-by: Benoit Tellier <[email protected]>
Reported-by: Robin Jarry <[email protected]>
Signed-off-by: Tim Culverhouse <[email protected]>
Acked-by: Robin Jarry <[email protected]>
  • Loading branch information
rockorager authored and rjarry committed Feb 1, 2025
1 parent ae2048b commit 3273d7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
git.sr.ht/~rjarry/go-opt/v2 v2.0.1
git.sr.ht/~rockorager/go-jmap v0.5.1
git.sr.ht/~rockorager/go-jmap v0.5.2
git.sr.ht/~rockorager/vaxis v0.11.1
github.com/ProtonMail/go-crypto v1.1.4
github.com/arran4/golang-ical v0.3.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git.sr.ht/~rjarry/go-opt/v2 v2.0.1 h1:rNag0btxzpPN9FOPEqJfmFY70R9Zqf7M1lbNdy6+jvM=
git.sr.ht/~rjarry/go-opt/v2 v2.0.1/go.mod h1:ZIcXh1fUrJEE5bdfaOpx5Uk9YURsimePQ7JJpitDZq4=
git.sr.ht/~rockorager/go-jmap v0.5.1 h1:UuGje0THCEjm/stpLVZnFoqsdYRe3Y2bWuwNHgjCwEQ=
git.sr.ht/~rockorager/go-jmap v0.5.1/go.mod h1:aOTCtwpZSINpDDSOkLGpHU0Kbbm5lcSDMcobX3ZtOjY=
git.sr.ht/~rockorager/go-jmap v0.5.2 h1:cNc1kKVzrBxcamOSPCCqnS9r2pZelUhUX1h85Zwuj9c=
git.sr.ht/~rockorager/go-jmap v0.5.2/go.mod h1:aOTCtwpZSINpDDSOkLGpHU0Kbbm5lcSDMcobX3ZtOjY=
git.sr.ht/~rockorager/vaxis v0.11.1 h1:nPcC4sW8haKZKbyv76GPGQ5bmMWkPNhoNI726hQPM1A=
git.sr.ht/~rockorager/vaxis v0.11.1/go.mod h1:h94aKek3frIV1hJbdXjqnBqaLkbWXvV+UxAsQHg9bns=
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
Expand Down

0 comments on commit 3273d7e

Please sign in to comment.