diff --git a/README.md b/README.md index 18f4637..bac50b8 100644 --- a/README.md +++ b/README.md @@ -426,14 +426,14 @@ openadrctl is go-openadr, whose client and VTN are tested against [ElaadNL client](https://github.com/ElaadNL/openadr3-client) through the images of [openadr-interop](https://github.com/otfabric/openadr-interop) (see its [INTEROP.md](https://github.com/otfabric/go-openadr/blob/main/INTEROP.md)). -openadrctl itself is run against the OpenLEADR VTN of openadr-interop v0.6.3 +openadrctl itself is run against the OpenLEADR VTN of openadr-interop v0.8.2 by `scripts/interop.sh`: 25 checks in both roles, among them programs, events, reports, a VEN's token refused (403), events watch, and notifications by WebSocket and by MQTT on the image's broker. The [guide](docs/guide.md) shows part of that run. With `--spec 3.0.1`, `scripts/interop301.sh` runs it against OpenLEADR v0.1.4, -an OpenADR 3.0.1 VTN (openadr-interop v0.6.3, `openleadr301`): 37 checks in +an OpenADR 3.0.1 VTN (openadr-interop v0.8.2, `openleadr301`): 37 checks in both roles, among them typed targets in objects and searches, resources through their VEN, a report that names its program, `validate --spec 3.0.1` of what `get` wrote, and the operations 3.0.1 does not have, refused before diff --git a/RELEASE.md b/RELEASE.md index 770f4b9..b0a5d8a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -4,6 +4,18 @@ Releases are cut with the `Release` workflow (semantic versioning, annotated tag, GitHub release with binaries for every platform). The section of the version below, up to the `---` that ends it, is the release's notes. +## v0.7.2 + +**Date:** 2026-11-13 +**Previous release:** v0.7.1 + +### Changed + +- Built on go-openadr v0.7.2 (was v0.7.1), whose interop suite pins openadr-interop v0.8.2 and the latest MQTT brokers; the library does not change. `openadrctl` code is unchanged. +- `scripts/interop.sh` and `scripts/interop301.sh` default to openadr-interop v0.8.2 (were v0.6.3). Both pass against it: 25 checks against OpenLEADR v0.2.8, and 37 with `--spec 3.0.1` against OpenLEADR v0.1.4. + +--- + ## v0.7.1 **Date:** 2026-11-12 diff --git a/go.mod b/go.mod index 01668de..8f1be37 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.26.0 require ( github.com/mochi-mqtt/server/v2 v2.7.9 - github.com/otfabric/go-openadr v0.7.1 + github.com/otfabric/go-openadr v0.7.2 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.9 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 92de720..7afcc5c 100644 --- a/go.sum +++ b/go.sum @@ -9,8 +9,8 @@ github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/mochi-mqtt/server/v2 v2.7.9 h1:y0g4vrSLAag7T07l2oCzOa/+nKVLoazKEWAArwqBNYI= github.com/mochi-mqtt/server/v2 v2.7.9/go.mod h1:lZD3j35AVNqJL5cezlnSkuG05c0FCHSsfAKSPBOSbqc= -github.com/otfabric/go-openadr v0.7.1 h1:gw0VH8c6hNxtNJAH2mTaX48nN7w1BNYPR95I6CQNLQ4= -github.com/otfabric/go-openadr v0.7.1/go.mod h1:h2Vqnzd3AolfYVzdhIwT+yKdUROxAshgfnlv0cd9S8U= +github.com/otfabric/go-openadr v0.7.2 h1:fJJtDo4fzmOyy0FpXQbr+EjGUae1+B+oH7fBeoQwQgE= +github.com/otfabric/go-openadr v0.7.2/go.mod h1:h2Vqnzd3AolfYVzdhIwT+yKdUROxAshgfnlv0cd9S8U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rs/xid v1.4.0 h1:qd7wPTDkN6KQx2VmMBLrpHkiyQwgFXRnkOLacUiaSNY= diff --git a/scripts/interop.sh b/scripts/interop.sh index 03581a4..0e779bc 100755 --- a/scripts/interop.sh +++ b/scripts/interop.sh @@ -6,14 +6,14 @@ # events watch, and errors. Prints one line per check and exits 1 when one # fails. # -# scripts/interop.sh [tag] # default tag: v0.6.3 +# scripts/interop.sh [tag] # default tag: v0.8.2 # # Needs Docker and Go. The VTN and its broker are published on loopback only # (ports 18090 and 18883, or OPENADR_INTEROP_PORT and OPENADR_INTEROP_MQTT_PORT): # the image's client secrets are public. set -euo pipefail -TAG="${1:-v0.6.3}" +TAG="${1:-v0.8.2}" IMAGE="ghcr.io/otfabric/openadr-interop-openleadr:${TAG}" PORT="${OPENADR_INTEROP_PORT:-18090}" MQTT_PORT="${OPENADR_INTEROP_MQTT_PORT:-18883}" diff --git a/scripts/interop301.sh b/scripts/interop301.sh index ebc4187..50b75ca 100755 --- a/scripts/interop301.sh +++ b/scripts/interop301.sh @@ -7,13 +7,13 @@ # that name their program, events watch, and what 3.0.1 does not have. # Prints one line per check and exits 1 when one fails. # -# scripts/interop301.sh [image] # default: ghcr.io/otfabric/openadr-interop-openleadr301:v0.6.3 +# scripts/interop301.sh [image] # default: ghcr.io/otfabric/openadr-interop-openleadr301:v0.8.2 # # Needs Docker, Go and curl. The VTN is published on loopback only (port 18091, or # OPENADR_INTEROP_PORT): the image's client secrets are public. set -euo pipefail -IMAGE="${1:-ghcr.io/otfabric/openadr-interop-openleadr301:v0.6.3}" +IMAGE="${1:-ghcr.io/otfabric/openadr-interop-openleadr301:v0.8.2}" PORT="${OPENADR_INTEROP_PORT:-18091}" NAME="openadrctl-interop301-$$" WORK="$(mktemp -d)"