Skip to content

Releases: coder/backstage-plugins

coder/v0.3.0

17 Jun 20:13
80d6858
Compare
Choose a tag to compare

Breaking changes

  • The useCoderWorkspacesQuery hook has been removed. Please refactor any code to use the new useCoderQuery or useCoderApi hooks.
  • The CoderAuthWrapper component has been removed in favor of consolidating logic into CoderProvider.
  • useCoderAuth's ejectToken method has been renamed to unlinkToken.

New features

  • Added the useCoderQuery hook for making it easy to query and cache any Coder API endpoint.
  • Added the useCoderApi hook for exposing a lower-level primitive for accessing Coder API resources.
  • Added new logic to the CoderProvider component to provide an auth fallback input. By default, this displays whenever there are no official Coder components on screen, but this can be configured with the fallbackAuthUiMode prop.

Minor changes

  • Updated all official Coder components to use the new Coder API Backstage service under the hood.
  • Exposed a new CODER_QUERY_KEY_PREFIX constant for helping users group queries when combining useCoderApi with the base TanStack Query useQuery hook.

devcontainers-react/v0.1.1

15 May 19:17
devcontainers-react/v0.1.1
2fd0959
Compare
Choose a tag to compare

Fixed

  • Improve support for forges other than GitHub.

devcontainers-backend/v0.1.1

14 May 22:26
2fd0959
Compare
Choose a tag to compare

Bug fixes

  • Updated entity-parsing logic to improve support for GitLab and Bitbucket repo URLs

coder/v0.2.1

19 Apr 14:21
04a1c15
Compare
Choose a tag to compare

Bug fixes

  • Frontend plugin now always forwards auth bearer tokens to Backstage backends correctly

coder/v0.2.0

04 Apr 17:27
ece362a
Compare
Choose a tag to compare

All documentation has been updated to reflect version 0.2.0.

Breaking changes

  • The templateName and mode properties on CoderAppConfig have been renamed to defaultTemplateName and defaultMode
    • Both properties are now 100% optional
    • In the event that no template name is available (from either the app config or the catalog-info.yaml file), the user will not be able to create workspaces, but will see a reminder about setting things up
  • The value of CoderWorkspacesConfig's creationUrl property is now potentially undefined to reflect that there might not always be a usable template name
    • By extension, none of the links in the main components will let you create a Coder workspace if a usable workspace creation URL could not be generated.

Minor changes

  • When the value of readEntityData in CoderWorkspacesCard or CoderWorkspacesCard.Root changes during re-renders, that will no longer throw an error.
    • This technically wasn't a bug, and was instead a technical limitation that we figured out how to get around.

devcontainers-react/v0.1.0

29 Mar 22:09
6c050f1
Compare
Choose a tag to compare

Minor changes

  • Added test cases for core functionality

coder/v0.1.0

29 Mar 22:10
6c050f1
Compare
Choose a tag to compare

Breaking changes

  • useEntityConfig is now useCoderWorkspacesConfig
    • Now accepts an optional readEntityData prop for telling the config whether it should read entity data when displaying workspace info.
    • Now includes a creationUrl property that is always defined and will take you to the form for making a new Coder workspace
  • useCoderWorkspaces is now useCoderWorkspacesQuery
    • Now accepts an optional workspacesConfig (created by useCoderWorkspacesConfig) as input. When defined, the config will affect how the query makes API requests, and how it filters data

More information can be found in the backend-plugin-coder documentation.

Minor changes

  • Added additional statuses for each workspace in CoderWorkspacesList (pending and deleting)
  • Redesigned the warning elements that display when a Coder auth token is invalid to be less visually-loud
  • Added missing unit and integration tests for all core functionality

Bug fixes

  • Ensured that workspaces that were in the middle of being deleted would not show up as online
  • Updated the EntityDataReminder sub-component for CoderWorkspacesCard:
    • Ensured that component displays correctly in dark mode
    • Improved accessibility for screen readers and made sure content was exposed to accessibility tress as disclosure elements

devcontainers-backend/v0.1.0

27 Mar 15:10
41169a9
Compare
Choose a tag to compare

Changes made

  • Fixed bug where the plugin code wasn't always using user-defined tag name values
  • Fleshed out test cases for plugin

devcontainers-react/v0.0.2

14 Mar 21:52
9f72f71
Compare
Choose a tag to compare

Changes made

  • Updates visual output for example Dev Containers component

devcontainers-backend/v0.0.2

14 Mar 21:51
9f72f71
Compare
Choose a tag to compare

Changes made

  • Simplifies logic for dynamically adding and erasing tags from entities, to make logic less error-prone