Skip to content

Releases: apigee/registry

v0.6.16

18 Oct 03:31
73a3c4e
Compare
Choose a tag to compare

Changelog

  • 73a3c4e connection.ActiveConfig() should use config.Active() instead of reading configuration directly (#1232)

v0.6.15

12 Oct 23:32
f805290
Compare
Choose a tag to compare

This release mainly contains a fix to the registry tool for #1228. Now the --config option can be used to read registry tool configuration from a file in an arbitrary location.

Changelog

  • f805290 Fix problems with reading config files using --config (#1230)
  • be22021 Bump golang.org/x/net from 0.8.0 to 0.17.0 (#1229)

v0.6.14

04 Oct 18:54
76ddac3
Compare
Choose a tag to compare

Changelog

v0.6.13

21 Jun 19:47
11486e8
Compare
Choose a tag to compare

yaml storage, gcloud create

  • registry apply --yaml option to store artifacts as yaml
  • registry config configurations create --gcloud option uses gcloud settings
  • improved help for various commands
  • builds now use go 1.20

Changelog

v0.6.12

09 May 23:35
2023f33
Compare
Choose a tag to compare

registry tool plugins, enforcing lower-case restrictions on resource names

  • Following AIP-122, we require that resource names be lowercase.
  • Assorted improvements were made to the registry tool's linter plugin
  • A new kubectl-style plugin mechanism was added that, for example, allows registry-experimental subcommands to be called from the registry tool with registry experimental.

Changelog

v0.6.11

25 Apr 22:15
f8221ae
Compare
Choose a tag to compare

Changelog

  • f8221ae github workflow for check results (#1155)
  • c8e4f30 github workflow for check results (#1155)
  • ef59380 github action to install and setup the registry cli tool (#1156)
  • 655faed enable CGO for sqlite3 (#1151)
  • dc0c23a update actions/checkout version (#1147)
  • 34dcf30 fix differences from rules audit (#1146)
  • 1c547f1 Use "global" as the default location when location is unspecified (i.e. empty). (#1145)
  • 093648a Loosen test constraint (appropriately) (#1144)
  • 2b74ea4 Replace log...Fatal() calls with returned errors. (#1143)
  • e9340da drop the APG_ prefix from env vars (#1142)
  • 6e76c8a Convert remaining Cobra Run: instances to RunE: (#1137)
  • 657836f Convert registry tool flags to variable-bound. (#1136)
  • 5eecd98 Switch "registry annotate/label" to RunE (#1135)
  • fd9fe50 Update dependency on longrunning protos (by rerunning code generators) (#1134)
  • 8a0f3ba update docs for reference fields and update generated code (#1126)

v0.6.10

31 Mar 00:19
31b1be9
Compare
Choose a tag to compare

Changelog

  • 31b1be9 quick fix to report failures from running the token-source. (#1132)
  • a38ff58 Update 'compute lint' to use linter plugins. (#1125)
  • 8155257 Automatically uncompress all spec data returned by the visitor package. (#1124)
  • b3e1ddb Download specs gzipped for 'compute vocabulary' and visitor list operations. (#1122)
  • e475a1e Use correct mime type for lint artifacts. (#1120)

v0.6.9

22 Mar 19:08
7f91bf5
Compare
Choose a tag to compare

Improved query performance and registry tool quality.

This release improves query performance of the registry server and updates the registry tool with bug fixes, consistency improvements, and tests.

  • New indexes are added to support faster listing of artifacts stored under spec and deployment resources.
  • The WorkerPool utility is improved to return errors directly (improving reporting and testability) and errors that were causing tasks to be lost were fixed.
  • A typo causing registry compute vocabulary to fail for protocol buffer specs was fixed.
  • More subcommands download specs compressed, improving support for analysis of large specs.
  • compute score and compute scorecardsubcommands now observeregistry.project` configuration.
  • configuration commands are simplified to allow registry config set address, registry config set project, etc.
  • test coverage is now 70% (69.96%).

Upgrading

To ensure the latest indexes are added to an existing database, run the following:

registry rpc admin migrate-database

Changelog

  • 7f91bf5 fix race condition in task (#1119)
  • ddc4fbb Pass "true" for continueOnError from WorkerPoolIgnoreError. (#1117)
  • 2e9fc58 Add basic tests of registry compute complexity for protos, openapi, and discovery (#1116)
  • 45b1c05 openapi and discovery-format tests for registry compute vocabulary (#1115)
  • 90ff63f add continueOnError param to WorkerPool (#1114)
  • df7c3b4 return task error from WorkerPool (#1111)
  • 5caf5e4 Fix error in "compute vocabulary" for protos, add test of proto vocabulary computation (#1112)
  • ce5776d Accept gzip-encoded content in GetBytesForSpec() (#1109)
  • 6781b69 make registry apply accept a list of files (#1101)
  • e0951df fix token-source config prop (#1103)
  • 8465753 enable usage and error messages, minor refactoring (#1100)
  • 3e1e160 optimize db: add index, rewrite query (#1098)
  • 7d83afe use grpctest.SetupRegistry() to simply tests (#1091)
  • 1b9ba77 derive and encode openapi version in mimetype (#1092)
  • 237026a address staticcheck lint errors (#1093)
  • 73dadc5 report which file had error (#1095)
  • 007e271 resolve name for compute score / scorecard (#1088)
  • 1de4b89 add default namespace "registry" to config props (#1087)
  • 8c73f01 ensure cmd use documents positional args (#1086)
  • 5699873 rename test helper file to eliminate coverage hit (#1085)
  • 1b41b14 Remove registry vocabulary subcommands (moved to -experimental). (#1083)
  • ec6745c remove examples (#1082)

v0.6.8

10 Mar 20:20
8d41184
Compare
Choose a tag to compare

registry apply improvements

This release fixes what was probably the most annoying problem with registry apply: because deployments expect to point to spec revisions, and spec revision ids aren't known until they are created, it was impossible to create a spec and a deployment that referenced it in a single YAML file.

This fixes that by observing that when we apply YAML files, we create specs before we create deployments, so deployment YAML can be written to point to a spec (without a revision ID) and when it is applied, registry apply will just get and use the latest revision of that spec. So now we can apply YAML files that look like this:

apiVersion: apigeeregistry/v1
kind: API
metadata:
  name: registry
data:
  displayName: Apigee Registry API
  versions:
    - metadata:
        name: v1
      data:
        displayName: v1
        specs:
          - metadata:
              name: openapi
            data:
              filename: openapi.yaml
              description: OpenAPI description of the Registry API
              mimeType: application/x.openapi+gzip;version=3
              sourceURI: https://raw.githubusercontent.com/apigee/registry/main/openapi.yaml
  deployments:
    - metadata:
        name: prod
      data:
        apiSpecRevision: v1/specs/openapi
        endpointURI: https://apigeeregistry.googleapis.com

Note that the apiSpecRevision field just points to a spec and registry apply will automatically look up the revision to use (and if a revision ID is included, we will continue to use that).

We also inadvertently broke the --version flag in v0.6.7. That is fixed now.

~/.registry/bin$ ./registry --version
registry version v0.6.8

Changelog

  • 8d41184 Set RELEASE_VERSION in release action. (#1081)
  • 827307f Automatically infer latest spec revision when importing deployments (#1079)

v0.6.7

08 Mar 22:08
b9f77d1
Compare
Choose a tag to compare

Registry tool ease-of-use and server performance improvements

This includes minor improvements to the registry tool command-line experience:

  • Bulk (parallel) actions generally only warn when individual actions fail. Previously some would exit.
  • Usage information is not printed when registry get doesn't find anything (usage information is usually irrelevant and distracting in these situations).

The registry-server also has performance and monitoring improvements, notably:

  • Indexes were added to speed listing of artifacts under revisioned resources (specs and deployments).
  • Support for Prometheus monitoring was added.

Changelog

  • b9f77d1 WorkerPools always warn (and never exit on errors) (#1077)
  • c46b9de When registry get matches nothing, print "Not Found" to stderr and don't report an error. (#1073)
  • 4ee8fd6 instrument for prometheus (#1076)
  • 50ec9b4 Add indexes to specs and deployments. (#1071)
  • d9a0ebf Unhide generated rpc commands for Admin and Provisioning methods. (#1074)
  • a405b01 Add benchmark that lists artifacts under each resource type. (#1068)
  • 3248ec6 read nightly build for docker (#1067)
  • a3511c9 Fix error in README (#1063)
  • db1f198 Update golangci-lint version (#1064)
  • 8b55e1e update github workflows and actions (#1065)
  • d412d6c Replace wildcards with specific file names in download script. (#1062)