Depscloud Versions Save

Index and query dependencies across your company's private repositories.

v0.3.5

2 years ago

Features

  • Make tree its own command to get access to information in lieu of cycles in the full topology.

Contributors

v0.3.4

2 years ago

Fixes

Contributors

v0.3.3

2 years ago

Fixes

  • fix(gh-296): upgrade express-prometheus-middleware

Contributors

v0.3.2

2 years ago

Features

feat(gh-15): support field indexes

This started as an idea, and a quick implementation came together rather quick. After a quick refactor of the database support structures, adding support for this was much easier. This indexes a handful of fields (namely, url on sources and language and name for modules). This allows clients to quickly search for nodes in their graph.

New Endpoints

By adding support for field indexes, we were able to implement the following endpoints in REST and gRPC.

Description Endpoints
List languages deps.cloud has modules for. grpc - depscloud.api.v1beta.LanguageService#List
rest - /v1beta/languages
cli - deps get languages
Search modules containing the provided name part. grpc - depscloud.api.v1beta.ModuleService#Search
rest - /v1beta/modules/search?like.name=xxx
cli - deps search modules
Search sources containing the provided url part. grpc - depscloud.api.v1beta.SourceService#Search
rest - /v1beta/sources/search?like.url=xxx
cli - deps search sources

feat(gh-228): move off gogo protobuf

For better compatibility with the standard tooling provided by the community, we moved from the gogo to upstream protobuf. From a usage perspective, you shouldn't notice a difference. A big benefit to the project is that we should be able to leverage the reflection API instead of managing a static routing table in gateway.

Upgrade to Node 16

We've upgraded the extractor process to use NodeJS 16. This is a pretty major upgrade considering the last version we were running on was NodeJS 12. For the most part, not much changed that impacted the extractor process. There were some minor modifications, but nothing that appeared to impact the overall functionality.

Fixes

  • fix: refactor the database layer (#293) 3547dc0
  • fix: use repo url to infer vendor.conf files f84759a
  • fix: cleanup remaining references to older terminology pairs 49d4fcf
  • fix: remove warning output for healthcheck a74639f

Contributors

v0.3.1

3 years ago

Features

  • Upgrade to Go 1.16
  • darwin/arm64 support for deps command line tool

Fixes

  • upgrade gateway checks to use v1beta

Bugfix

  • cgo binding preventing use of sqlite for tracker

v0.3.0

3 years ago

Alright. After a lot of work, we've finally made it to v0.3.0. A lot has changed. And I mean, a lot.

First, we've completely overhauled the API to better support our data structure. /v1beta simplifies queries for project dependencies, dependents, and associated trees. It also enables us to support many newer features like following library versions as we traverse the edges of the graph. v1alpha will still be available, but will only receive critical updates. In v0.4.0, it will be removed.

Second, the indexer process writes to the new v1beta endpoints. If you want to keep v1alpha up to date for some time after the upgrade, you can deploy two copies of the indexer. One should use v0.3.0 to populate the v1beta store. The other should use v0.2.33 to populate the v1alpha store. Once callers have upgraded to v1beta, you can clean up the v1alpha store (i.e the dts_graphdata table). Edit: You will also need a similar setup for the extractor process.

Third, the deps CLI has been updated to call the new v1beta endpoints. This means that if a user installs a v0.3.x version of the CLI before the server has been upgraded, all requests to the server will likely result in an unimplemented response. Using deps debug, you can quickly determine if there are inconsistencies between the client and server versions. To resolve this, you’ll need to uninstall the latest version of the depscloud CLI and install the v0.2.x specific versions.

# OSX
brew uninstall depscloud/tap/depscloud-cli
brew install depscloud/tap/[email protected]

# Linux
sudo apt-get install depscloud-cli=0.2.34

Then, once the server-processes are upgraded, you can re-install the latest version of the CLI.

# OSX
brew uninstall depscloud/tap/[email protected]
brew install depscloud/tap/depscloud-cli

# Linux
sudo apt-get install depscloud-cli

Finally, we’ve dropped support for 32-bit architectures. 32-bit architecture support has held back many much-needed upgrades such as our NodeJS major version.

Edit: Additionally, this release also features support for tracking helm chart dependencies and preliminary support for python dependencies via Pipfile (preferred) or requirements.txt (early).

  • Upgrade deployments to v0.3.0
  • Manually trigger a run of the indexer process (or processes). Once complete, your v1beta database should be populated with the latest information.
  • Allow v1alpha to serve static data and request that callers/consumers upgrade.

v0.2.34

3 years ago

Changelog

e85b382 0.2.34

v0.2.33

3 years ago

No more organization / module semantics on the API. Completely removed in favor of name.

Changelog

a846006 0.2.33

v0.2.32

3 years ago

Changelog

6b8356c 0.2.32

v0.2.31

3 years ago

Changelog

Summary

  • Upgrade to Go 1.15
  • Adds support for querying using the module name