Skip to content

Releases: spreadshirt/backstage-plugin-s3

@spreadshirt/backstage-plugin-s3-viewer@0.2.0

01 Dec 14:15
25d9f73
Compare
Choose a tag to compare

Minor Changes

  • aa8f726: Prepare frontend plugin to use the identityApi. This will allow the backend determine if
    a user is allowed to fetch data for a certain bucket or not.

Patch Changes

  • Updated dependencies [caaac67]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.2.0

@spreadshirt/backstage-plugin-s3-viewer-common@0.2.0

01 Dec 14:15
25d9f73
Compare
Choose a tag to compare

Minor Changes

  • caaac67: Add permissions to plugin

@spreadshirt/backstage-plugin-s3-viewer-backend@0.2.0

01 Dec 14:15
25d9f73
Compare
Choose a tag to compare

Minor Changes

  • aa8f726: BREAKING: The s3-viewer-backend createRouter now requires that the identityApi, permissionEvaluator and tokenManager are passed to the router.

    These changes are required to packages/backend/src/plugins/s3.ts

    This change makes the requests to the s3 endpoint to be sent by a logged in user.

    import { S3Builder } from '@spreadshirt/backstage-plugin-s3-viewer-backend';
    import { Router } from 'express';
    import { PluginEnvironment } from '../types';
    
    export default async function createPlugin(
      env: PluginEnvironment,
    ): Promise<Router> {
      const { router } = S3Builder.createBuilder({
        config: env.config,
        logger: env.logger,
        scheduler: env.scheduler,
        discovery: env.discovery,
    +   identity: env.identity,
    +   permissions: env.permissions,
    +   tokenManager: env.tokenManager,
        }).build();
        return router;
    }

    Also possible to attach a middleware, which will be required to use the permissions in the plugin. For that, use the async function useMiddleware(). A custom middleware can also be used if that is needed.

Patch Changes

  • Updated dependencies [caaac67]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.2.0

@spreadshirt/backstage-plugin-s3-viewer@0.1.4

22 Nov 10:01
d7eb5cd
Compare
Choose a tag to compare

Patch Changes

  • 74fef18: Update dependencies to backstage 1.8.2
  • 48da476: Added Tooltip to the S3BucketTreePicker elements & fix of missing key to list elements
  • Updated dependencies [74fef18]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.1.4

@spreadshirt/backstage-plugin-s3-viewer-common@0.1.4

22 Nov 10:01
d7eb5cd
Compare
Choose a tag to compare

Patch Changes

  • 74fef18: Update dependencies to backstage 1.8.2

@spreadshirt/backstage-plugin-s3-viewer-backend@0.1.7

22 Nov 10:01
d7eb5cd
Compare
Choose a tag to compare

Patch Changes

  • 74fef18: Update dependencies to backstage 1.8.2
  • Updated dependencies [74fef18]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.1.4

@spreadshirt/backstage-plugin-s3-viewer@0.1.3

27 Oct 09:39
18a3ca0
Compare
Choose a tag to compare

Patch Changes

  • 91c40a8: Update dependencies to backstage 1.7.0
  • Updated dependencies [91c40a8]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.1.3

@spreadshirt/backstage-plugin-s3-viewer-common@0.1.3

27 Oct 09:39
18a3ca0
Compare
Choose a tag to compare

Patch Changes

  • 91c40a8: Update dependencies to backstage 1.7.0

@spreadshirt/backstage-plugin-s3-viewer-backend@0.1.6

27 Oct 09:39
18a3ca0
Compare
Choose a tag to compare

Patch Changes

  • 91c40a8: Update dependencies to backstage 1.7.0
  • Updated dependencies [91c40a8]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.1.3

@spreadshirt/backstage-plugin-s3-viewer@0.1.2

04 Oct 13:17
fc5ddde
Compare
Choose a tag to compare

Patch Changes

  • 58dcfce: Upgrade dependencies to backstage 1.6.0 & migrate to react-router v6 stable
  • Updated dependencies [58dcfce]
    • @spreadshirt/backstage-plugin-s3-viewer-common@0.1.2