Releases: coder/backstage-plugins
Releases · coder/backstage-plugins
coder/v0.3.0
Breaking changes
- The
useCoderWorkspacesQuery
hook has been removed. Please refactor any code to use the newuseCoderQuery
oruseCoderApi
hooks. - The
CoderAuthWrapper
component has been removed in favor of consolidating logic intoCoderProvider
. useCoderAuth
'sejectToken
method has been renamed tounlinkToken
.
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 thefallbackAuthUiMode
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 combininguseCoderApi
with the base TanStack QueryuseQuery
hook.
devcontainers-react/v0.1.1
Fixed
- Improve support for forges other than GitHub.
devcontainers-backend/v0.1.1
Bug fixes
- Updated entity-parsing logic to improve support for GitLab and Bitbucket repo URLs
coder/v0.2.1
Bug fixes
- Frontend plugin now always forwards auth bearer tokens to Backstage backends correctly
coder/v0.2.0
All documentation has been updated to reflect version 0.2.0.
Breaking changes
- The
templateName
andmode
properties onCoderAppConfig
have been renamed todefaultTemplateName
anddefaultMode
- 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
'screationUrl
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
inCoderWorkspacesCard
orCoderWorkspacesCard.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
Minor changes
- Added test cases for core functionality
coder/v0.1.0
Breaking changes
useEntityConfig
is nowuseCoderWorkspacesConfig
- 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
- Now accepts an optional
useCoderWorkspaces
is nowuseCoderWorkspacesQuery
- Now accepts an optional
workspacesConfig
(created byuseCoderWorkspacesConfig
) as input. When defined, the config will affect how the query makes API requests, and how it filters data
- Now accepts an optional
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 forCoderWorkspacesCard
:- 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
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
Changes made
- Updates visual output for example Dev Containers component
devcontainers-backend/v0.0.2
Changes made
- Simplifies logic for dynamically adding and erasing tags from entities, to make logic less error-prone