Files
backstage/plugins/home/CHANGELOG.md
T
github-actions[bot] b6d947b67f Version Packages
2022-03-10 11:30:23 +00:00

8.5 KiB

@backstage/plugin-home

0.4.18

Patch Changes

  • Updated dependencies

0.4.18-next.0

Patch Changes

  • Updated dependencies
    • @backstage/plugin-catalog-react@0.9.0-next.0
    • @backstage/core-components@0.9.1-next.0
    • @backstage/catalog-model@0.13.0-next.0
    • @backstage/plugin-search@0.7.3-next.0

0.4.17

Patch Changes

  • Updated dependencies
    • @backstage/catalog-model@0.12.0
    • @backstage/core-components@0.9.0
    • @backstage/plugin-search@0.7.2
    • @backstage/plugin-catalog-react@0.8.0
    • @backstage/core-plugin-api@0.8.0

0.4.16

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.8.10
    • @backstage/plugin-catalog-react@0.7.0
    • @backstage/catalog-model@0.11.0
    • @backstage/core-plugin-api@0.7.0
    • @backstage/plugin-search@0.7.1

0.4.15

Patch Changes

  • 1ed305728b: Bump node-fetch to version 2.6.7 and cross-fetch to version 3.1.5

  • c77c5c7eb6: Added backstage.role to package.json

  • 651b919dbb: Add Renderer support for the HomePageToolkit component.

    Previously <HomePageToolkit Renderer={ComponentAccordion} Tools={[]} /> would result in the error can't access property "map", props.tools is undefined. This change adds a context that can pass props down to the HomePageToolkit. Also introduced is an expanded prop on the ComponentAccordion to setting the default expanded state. See In Accordian story for details.

  • Updated dependencies

    • @backstage/core-components@0.8.9
    • @backstage/core-plugin-api@0.6.1
    • @backstage/plugin-catalog-react@0.6.15
    • @backstage/plugin-search@0.7.0
    • @backstage/catalog-model@0.10.0
    • @backstage/theme@0.2.15

0.4.14

Patch Changes

  • a4a777441d: Adds new StarredEntities component responsible for rendering a list of starred entities on the home page
  • Updated dependencies
    • @backstage/core-components@0.8.8
    • @backstage/plugin-search@0.6.2
    • @backstage/plugin-catalog-react@0.6.14

0.4.14-next.0

Patch Changes

  • a4a777441d: Adds new StarredEntities component responsible for rendering a list of starred entities on the home page
  • Updated dependencies
    • @backstage/core-components@0.8.8-next.0
    • @backstage/plugin-search@0.6.2-next.0
    • @backstage/plugin-catalog-react@0.6.14-next.0

0.4.13

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.8.7
    • @backstage/plugin-search@0.6.1

0.4.13-next.0

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.8.7-next.0
    • @backstage/plugin-search@0.6.1-next.0

0.4.12

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.8.6
    • @backstage/plugin-search@0.6.0

0.4.11

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.8.5
    • @backstage/plugin-search@0.5.6
    • @backstage/core-plugin-api@0.6.0

0.4.11-next.0

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.8.5-next.0
    • @backstage/core-plugin-api@0.6.0-next.0
    • @backstage/plugin-search@0.5.6-next.0

0.4.10

Patch Changes

  • bdf1419d20: Adds two new home components - CompanyLogo and Toolkit.
  • Updated dependencies
    • @backstage/core-components@0.8.4
    • @backstage/core-plugin-api@0.5.0
    • @backstage/plugin-search@0.5.5

0.4.9

Patch Changes

  • 4ce51ab0f1: Internal refactor of the react-use imports to use react-use/lib/* instead.
  • Updated dependencies
    • @backstage/core-plugin-api@0.4.1
    • @backstage/core-components@0.8.3

0.4.8

Patch Changes

  • 6d36220ef2: Fix undefined identity bug in WelcomeTitle caused by using deprecated methods of the IdentityApi
  • Updated dependencies
    • @backstage/core-plugin-api@0.4.0
    • @backstage/core-components@0.8.2

0.4.7

Patch Changes

  • cd450844f6: Moved React dependencies to peerDependencies and allow both React v16 and v17 to be used.
  • Updated dependencies
    • @backstage/core-components@0.8.0
    • @backstage/core-plugin-api@0.3.0

0.4.6

Patch Changes

  • a125278b81: Refactor out the deprecated path and icon from RouteRefs
  • Updated dependencies
    • @backstage/core-components@0.7.4
    • @backstage/core-plugin-api@0.2.0

0.4.5

Patch Changes

  • 4a336fd292: Add name option to createCardExtension to remove deprecation warnings for extensions without name. Name will be required for extensions in a future release of core-plugin-api and therefore also in createCardExtension.
  • Updated dependencies
    • @backstage/core-components@0.7.3
    • @backstage/theme@0.2.13
    • @backstage/core-plugin-api@0.1.13

0.4.4

Patch Changes

  • ef5bf4235a: Adds a <WelcomeTitle> component that shows a playful greeting on the home page. To use it, pass it to the home page header:

    <Page themeId="home">
      <Header title={<WelcomeTitle />} pageTitleOverride="Home">
        <HomepageTimer />
      </Header>
      
    </Page>
    
  • 87b2d5ad88: Fix <ComponentTabs> to display only the selected tab, not the other way around.

  • 2435d7a49b: Added HeaderWorldClock to the Home plugin which is a copy of the HomepageTimer from core-components that has been updated to use props over static config from app-config.yaml. To use HeaderWorldClock you'll need to create an array of ClockConfig like this:

    const clockConfigs: ClockConfig[] = [
      {
        label: 'NYC',
        timeZone: 'America/New_York',
      },
      {
        label: 'UTC',
        timeZone: 'UTC',
      },
      {
        label: 'STO',
        timeZone: 'Europe/Stockholm',
      },
      {
        label: 'TYO',
        timeZone: 'Asia/Tokyo',
      },
    ];
    

    Then you can pass clockConfigs into the HeaderWorldClock like this:

    <Page themeId="home">
      <Header title="Home">
        <HeaderWorldClock clockConfigs={clockConfigs} />
      </Header>
      <Content>...</Content>
    </Page>
    
  • Updated dependencies

    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

0.4.3

Patch Changes

  • ca0559444c: Avoid usage of .to*Case(), preferring .toLocale*Case('en-US') instead.
  • 81a41ec249: Added a name key to all extensions in order to improve Analytics API metadata.
  • Updated dependencies
    • @backstage/core-components@0.6.1
    • @backstage/core-plugin-api@0.1.10

0.4.2

Patch Changes

  • Updated dependencies
    • @backstage/core-plugin-api@0.1.9
    • @backstage/core-components@0.6.0

0.4.1

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.5.0

0.4.0

Minor Changes

  • bcf312fa52: The homepage <Header /> is now part of the composable canvas (allowing you to add the , for example).

    You will need to wrap your existing composed <HomePage /> component in <Page />, <Header />, and <Content /> components, like this:

    // app/src/components/home/HomePage.tsx
    
    + import { Content, Header, Page, HomePageTimer } from '@backstage/core-components';
    
    export const HomePage = () => (
    +  <Page themeId="home">
    +    <Header title="Home">
    +      <HomepageTimer />
    +    </Header>
    +    <Content>
      <Grid container spacing={3}>
        <Grid item xs={12}>
          <HomePageSearchBar />
        </Grid>
        // ...
    +    </Content>
    +  </Page>
    );
    

Patch Changes

  • 9f1362dcc1: Upgrade @material-ui/lab to 4.0.0-alpha.57.
  • 1da51fec2b: Adjust dependencies to @types/react and react-router to follow the pattern used by all other Backstage packages.
  • Updated dependencies
    • @backstage/core-components@0.4.2
    • @backstage/core-plugin-api@0.1.8

0.3.0

Minor Changes

  • 7f00902d9: Rename RandomJokeHomePageComponent to HomePageRandomJoke to fit convention, and update example app accordingly. NOTE: If you're using the RandomJoke component in your instance, it now has to be renamed to HomePageRandomJoke

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.4.1
    • @backstage/core-plugin-api@0.1.7

0.2.1

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.4.0

0.2.0

Minor Changes

  • 2b7d3455b: Create the Home plugin which exports some basic functionality that's used to compose a homepage. An example of a composed homepage is added to the example app.

    This change also introduces the createCardExtension which creates a lazy loaded card that is intended to be used for homepage components.

    Adoption of this homepage requires setup similar to what can be found in the example app.

Patch Changes

  • Updated dependencies
    • @backstage/core-components@0.3.2
    • @backstage/theme@0.2.10