v0.5.6
New configuration for registry tool, database-related improvements to registry-server
This release adds a new configuration mechanism to the registry
tool that is modeled after the gcloud
command. See the documentation for pkg/connection or run registry help config
for details.
This release also includes database-related improvements to registry-server
that include:
- performing all mutable actions in transactions #700).
- returning appropriate (and retryable) gRPC status codes for many database-related errors (#682, #714).
- setting limits on connection counts to avoid overloading database backends (#725).
There were also semantic improvements to the core API:
- The last remaining spec (#698) and deployment (#718) revisions cannot be deleted without explicitly deleting the entire spec or deployment (https://google.aip.dev/162#deleting-revisions and #257).
Additionally, numerous improvements were made to the registry
tool related to API scoring. See commit notes for details.
Changelog
- 86315f3 Set limits on the number and lifetime of connections. (#725)
- 8e82f10 deprecation warning for client env var use (#721)
- f1e9153 Lock the table of affected entities during update operations. (#720)
- f641fbe #711 ensure environment variables are scoped to the script (#716)
- 68842b0 prevent deletion of the last deployment revision (#718)
- 952753d Registry server: report AlreadyExists errors in updates as Abort to cause them to be retried (#715)
- 0a574b1 Registry server: wrap mutating actions in transactions (#700)
- e9c6f8c Add handlers for more possible errors that can arise during load-testing. (#714)
- 1777bc2 Support max-actions flag in resolve (#710)
- d172582 Remove check for specName while performing linting (#711)
- 76088d4 Update logging interceptor to print all gRPC status codes. (#713)
- e65afe0 #701 Update windows auth file to use registry configurations (#712)
- 7ae47d6 fix readme formatting (#707)
- e4ecf46 use more simple and efficient gorm upsert for save (#705)
- 8f052b4 lint fix - simplify (#704)
- 0ee1a0d Registry tool: Use
registry config
instead of env vars for scripts (#699) - 7bf958e improve create entity validation and efficiency (#694)
- b108d39 disallow delete of only SpecRevision (#698)
- 8bd4082 clone active w/ flags on config create (#695)
- 8029db1 Add documentation to config and auth commands (#696)
- 1343f69 Add information about server conformance and benchmark tests to the top-level README. (#690)
- 33decc7 Fix out of range error for scores (#689)
- 999f425 Remove cmd/registry/cmd/util.go (#687)
- 8f8da52 Expand handling of database error codes (#682)
- 0382b31 add project, location config and allow short names (#683)
- a22d4ca ignore ext
APG_REGISTRY
vars in config tests (#685) - ba99327 Registry tool: add auth handling (#681)