# @backstage/plugin-techdocs-backend ## 0.3.2 ### Patch Changes - 1e22f8e0b: Unify `dockerode` library and type dependency versions - Updated dependencies [38e24db00] - Updated dependencies [e3bd9fc2f] - Updated dependencies [12bbd748c] - Updated dependencies [83b6e0c1f] - Updated dependencies [e3bd9fc2f] - @backstage/backend-common@0.4.0 - @backstage/config@0.1.2 - @backstage/catalog-model@0.5.0 ## 0.3.1 ### Patch Changes - ae95c7ff3: Update URL auth format for GitLab clone - Updated dependencies [612368274] - Updated dependencies [08835a61d] - Updated dependencies [a9fd599f7] - Updated dependencies [bcc211a08] - @backstage/backend-common@0.3.3 - @backstage/catalog-model@0.4.0 ## 0.3.0 ### Minor Changes - 4b53294a6: - Use techdocs annotation to add repo_url if missing in mkdocs.yml. Having repo_url creates a Edit button on techdocs pages. - techdocs-backend: API endpoint `/metadata/mkdocs/*` renamed to `/metadata/techdocs/*` ### Patch Changes - Updated dependencies [3aa7efb3f] - Updated dependencies [ab94c9542] - Updated dependencies [2daf18e80] - Updated dependencies [069cda35f] - Updated dependencies [b3d4e4e57] - @backstage/backend-common@0.3.2 - @backstage/catalog-model@0.3.1 ## 0.2.2 ### Patch Changes - Updated dependencies [1166fcc36] - Updated dependencies [bff3305aa] - Updated dependencies [1185919f3] - Updated dependencies [b47dce06f] - @backstage/catalog-model@0.3.0 - @backstage/backend-common@0.3.1 ## 0.2.1 ### Patch Changes - Updated dependencies [1722cb53c] - Updated dependencies [1722cb53c] - Updated dependencies [7b37e6834] - Updated dependencies [8e2effb53] - @backstage/backend-common@0.3.0 ## 0.2.0 ### Minor Changes - 6d29605db: Change the default backend plugin mount point to /api - 5249594c5: Add service discovery interface and implement for single host deployments Fixes #1847, #2596 Went with an interface similar to the frontend DiscoveryApi, since it's dead simple but still provides a lot of flexibility in the implementation. Also ended up with two different methods, one for internal endpoint discovery and one for external. The two use-cases are explained a bit more in the docs, but basically it's service-to-service vs callback URLs. This did get me thinking about uniqueness and that we're heading towards a global namespace for backend plugin IDs. That's probably fine, but if we're happy with that we should leverage it a bit more to simplify the backend setup. For example we'd have each plugin provide its own ID and not manually mount on paths in the backend. Draft until we're happy with the implementation, then I can add more docs and changelog entry. Also didn't go on a thorough hunt for places where discovery can be used, but I don't think there are many since it's been pretty awkward to do service-to-service communication. - 5a920c6e4: Updated naming of environment variables. New pattern [NAME]\_TOKEN for GitHub, GitLab, Azure & GitHub Enterprise access tokens. ### Detail: - Previously we have to export same token for both, catalog & scaffolder ```bash export GITHUB_ACCESS_TOKEN=foo export GITHUB_PRIVATE_TOKEN=foo ``` with latest changes, only single export is sufficient. ```bash export GITHUB_TOKEN=foo export GITLAB_TOKEN=foo export GHE_TOKEN=foo export AZURE_TOKEN=foo ``` ### list:
| Old name | New name |
|---|---|
| GITHUB_ACCESS_TOKEN | GITHUB_TOKEN |
| GITHUB_PRIVATE_TOKEN | GITHUB_TOKEN |
| GITLAB_ACCESS_TOKEN | GITLAB_TOKEN |
| GITLAB_PRIVATE_TOKEN | GITLAB_TOKEN |
| AZURE_PRIVATE_TOKEN | AZURE_TOKEN |
| GHE_PRIVATE_TOKEN | GHE_TOKEN |