docs/releases/v1.7.0-next.1-changelog.md
connection and connectionScope parameters to configure social identity providers.d558f41d3a: Added new column Label to CatalogTable.columns, this new column allows you make use of labels from metadata.
For example: category and visibility are type of labels associated with API entity illustrated below.
YAML code snippet for API entity
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: sample-api
description: API for sample
links:
- url: http://localhost:8080/swagger-ui.html
title: Swagger UI
tags:
- http
labels:
category: legacy
visibility: protected
Consumers can customise columns to include label column and show in api-docs list
const columns = [
CatalogTable.columns.createNameColumn({ defaultKind: 'API' }),
CatalogTable.columns.createLabelColumn('category', { title: 'Category' }),
CatalogTable.columns.createLabelColumn('visibility', {
title: 'Visibility',
defaultValue: 'public',
}),
];
EntityKindPicker so that it can be shown alongside the other filters on the left side of your catalog pages.EntityKindPicker so that it can be shown alongside the other filters on the left side of your catalog pages.EntityRefLinks props, the first being getTitle that allows for customization of the title used for each link. The second one is fetchEntities, which triggers a fetching of all entities so that the full entity definition is available in the getTitle callback.16c853a6ed: Be less restrictive with unknown keys on query endpoint
a799972bb1: The query received by search engines now contains a property called pageLimit, it specifies how many results to return per page when sending a query request to the search backend.
Example: Returns up to 30 results per page
GET /query?pageLimit=30
The search backend validates the page limit and this value must not exceed 100, but it doesn't set a default value for the page limit parameter, it leaves it up to each search engine to set this, so Lunr, Postgres and Elastic Search set 25 results per page as a default value.
pageLimit on the SearchQuery interface that specifies how many results should be returned per page.4ed1fa2480: The search query state now has an optional pageLimit property that determines how many results will be requested per page, it defaults to 25.
Examples: Basic
<SearchResults query={{ pageLimit: 30 }}>
{results => {
// Item rendering logic is omitted
}}
</SearchResults>
With context
<SearchContextProvider initialState={{ pageLimit: 30 }}>
<SearchResults>
{results => {
// Item rendering logic is omitted
}}
</SearchResults>
</SearchContextProvider>
bed5a1dc6e: The <SearchResultList /> component now accepts an optional property disableRenderingWithNoResults to disable rendering when no results are returned.
Possibility to provide a custom no results component if needed through the noResultsComponent property.
Examples:
Rendering a custom no results component
<SearchResultList
query={query}
noResultsComponent={<ListItemText primary="No results were found" />}
/>
Disable rendering when there are no results
<SearchResultList query={query} disableRenderingWithNoResults />
6faaa05626: The <SearchResultGroup /> component now accepts an optional property disableRenderingWithNoResults to disable rendering when no results are returned.
Possibility to provide a custom no results component if needed through the noResultsComponent property.
Examples:
Rendering a custom no results component
<SearchResultGroup
query={query}
icon={<DocsIcon />}
title="Documentation"
noResultsComponent={<ListItemText primary="No results were found" />}
/>
Disable rendering when there are no results
<SearchResultGroup
query={query}
icon={<DocsIcon />}
title="Documentation"
disableRenderingWithNoResults
/>
getClient() for a pluginId would return different clients and not share themcreateBackendModule, with guidelines for choosing a module ID.validateEntity from location to locationRefwatch mode@asyncapi/react-component to 1.0.0-next.43.moduleId of the experimental module export.luxon dependency to 3.xmoduleId of the experimental module export.pageLimit property on search queries. If none is provided, the search engine will continue to use its default value of 25 results per page.pageLimit property on search queries. If none is provided, the search engine will continue to use its default value of 25 results per page.pageLimit property on search queries. If none is provided, the search engine will continue to use its default value of 25 results per page..set() to execute a request to the StorageClient if the user is guest