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

Publish packages #39

Merged
merged 1 commit into from
Jun 20, 2023
Merged

Publish packages #39

merged 1 commit into from
Jun 20, 2023

Conversation

DuCanhGH
Copy link
Owner

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

@ducanh2912/next-pwa@9.0.0

Major Changes

  • #38 7bd3ba7 Thanks @DuCanhGH! - BREAKING CHANGE(next-pwa, next-sw): use next's swc bindings instead of swc/core

    What: From now on we will try to resolve next/dist/build/swc in swc-loader (needed to use cacheOnFrontEndNav, custom workers and offline fallbacks). If it can't be resolved, we will fallback to @swc/core (needed to be installed manually).

    Why: This is to save disk space (we don't need two @swc/core) and avoid exceeding Vercel's serverless size limit.

    Why use Next's next/dist/build/swc: it seems that @next/mdx is also doing the same for their mdx Rust compiler.

    How to upgrade: Usually you don't need to do anything. But if you see this line when you build your Next app: Using @swc/core to compile next-pwa's features. Please install it if you haven't., please do as instructed.

  • #38 7bd3ba7 Thanks @DuCanhGH! - BREAKING CHANGE(requirements): bump minimum Next.js version to v11

    What: next-pwa's minimum supported Next.js version is now 11.0.0.

    Why: I noticed that workbox-webpack-plugin no longer works with Next.js 9 and 10, so this bumps the minimum supported Next.js version to v11.

    How to upgrade: Bump next to at least 11.0.0.

@ducanh2912/next-sw@1.1.0

Minor Changes

  • #38 7bd3ba7 Thanks @DuCanhGH! - BREAKING CHANGE(next-pwa, next-sw): use next's swc bindings instead of swc/core

    What: From now on we will try to resolve next/dist/build/swc in swc-loader (needed to use cacheOnFrontEndNav, custom workers and offline fallbacks). If it can't be resolved, we will fallback to @swc/core (needed to be installed manually).

    Why: This is to save disk space (we don't need two @swc/core) and avoid exceeding Vercel's serverless size limit.

    Why use Next's next/dist/build/swc: it seems that @next/mdx is also doing the same for their mdx Rust compiler.

    How to upgrade: Usually you don't need to do anything. But if you see this line when you build your Next app: Using @swc/core to compile next-pwa's features. Please install it if you haven't., please do as instructed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant