Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: version packages #897

Merged
merged 1 commit into from
Feb 13, 2025
Merged

release: version packages #897

merged 1 commit into from
Feb 13, 2025

Conversation

silverhand-bot
Copy link
Collaborator

@silverhand-bot silverhand-bot commented Jan 2, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@logto/next@4.2.0

Minor Changes

  • a0f91a3: support custom external session storage

    Add sessionWrapper to the config, you can implement your own session wrapper to support custom external session storage.

    Take a look at the example below:

    import { MemorySessionWrapper } from './storage';
    
    export const config = {
      // ...
      sessionWrapper: new MemorySessionWrapper(),
    };
    import { randomUUID } from 'node:crypto';
    
    import { type SessionWrapper, type SessionData } from '@logto/next';
    
    export class MemorySessionWrapper implements SessionWrapper {
      private readonly storage = new Map<string, unknown>();
    
      async wrap(data: unknown, _key: string): Promise<string> {
        const sessionId = randomUUID();
        this.storage.set(sessionId, data);
        return sessionId;
      }
    
      async unwrap(value: string, _key: string): Promise<SessionData> {
        if (!value) {
          return {};
        }
    
        const data = this.storage.get(value);
        return data ?? {};
      }
    }

    You can implement your own session wrapper to support custom external session storage like Redis, Memcached, etc.

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/node@3.1.1

@logto/browser@3.0.4

Patch Changes

  • 733e978: support ssr for browser-based SDKs

    Check if the window is defined, if not, ignore the storage operations, avoid breaking the server side rendering.

    For this kind of SDKs, it doesn't make sense to be used in server side, because the auth state is usually stored in the client side which is not available in server side. So we can safely ignore the storage operations in server side.

  • d6a900c: bump dependencies for security update

  • Updated dependencies [d6a900c]

    • @logto/client@3.0.4

@logto/capacitor@3.0.4

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [733e978]
  • Updated dependencies [d6a900c]
    • @logto/browser@3.0.4

@logto/chrome-extension@0.1.18

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [733e978]
  • Updated dependencies [d6a900c]
    • @logto/browser@3.0.4

@logto/client@3.0.4

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/js@5.0.3

@logto/express@3.0.5

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/node@3.1.1

@logto/js@5.0.3

Patch Changes

  • d6a900c: bump dependencies for security update

@logto/node@3.1.1

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/client@3.0.4

@logto/nuxt@1.2.1

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/node@3.1.1

@logto/react@4.0.4

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [733e978]
  • Updated dependencies [d6a900c]
    • @logto/browser@3.0.4

@logto/remix@3.0.5

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/node@3.1.1

@logto/sveltekit@0.3.14

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/node@3.1.1

@logto/vue@3.0.4

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [733e978]
  • Updated dependencies [d6a900c]
    • @logto/browser@3.0.4

@logto/angular-sample@0.0.3

Patch Changes

  • d6a900c: bump dependencies for security update

@logto/browser-sample@2.0.24

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [733e978]
  • Updated dependencies [d6a900c]
    • @logto/browser@3.0.4

@logto/chrome-extension-sample@0.1.3

Patch Changes

  • d6a900c: bump dependencies for security update

@logto/express-sample@2.0.24

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/express@3.0.5

@logto/next-sample@2.2.8

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
  • Updated dependencies [a0f91a3]
    • @logto/next@4.2.0

@logto/next-server-actions-sample@2.3.11

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
  • Updated dependencies [a0f91a3]
    • @logto/next@4.2.0

@logto/passportjs-sample@1.0.4

Patch Changes

  • d6a900c: bump dependencies for security update

@logto/react-sample@2.1.23

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/react@4.0.4

@logto/sveltekit-sample@0.2.3

Patch Changes

  • d6a900c: bump dependencies for security update

@logto/vue-sample@2.1.22

Patch Changes

  • d6a900c: bump dependencies for security update
  • Updated dependencies [d6a900c]
    • @logto/vue@3.0.4

@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch 2 times, most recently from 9414d3a to c1b432d Compare January 7, 2025 11:43
@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch 6 times, most recently from 58c827d to c289148 Compare January 23, 2025 13:04
@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch from c289148 to 196cef6 Compare February 6, 2025 10:50
@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch from 196cef6 to ff7c928 Compare February 13, 2025 08:06
@charIeszhao charIeszhao merged commit c6a0469 into master Feb 13, 2025
21 checks passed
@charIeszhao charIeszhao deleted the changeset-release/master branch February 13, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants