v0.6.9
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 observe
registry.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)