serwist

A Swiss Army knife for service workers.

MIT License

Downloads
1.7M
Stars
667
Committers
81

Bot releases are visible (Hide)

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)
serwist - @serwist/[email protected]

Published by github-actions[bot] 11 months ago

Major Changes

  • e0313f0 Thanks @DuCanhGH! - chore: initial release

    • Reimagined @serwist/next.
      • Removed various options.
        • Removed aggressiveFrontEndNavCaching to reassess its usefulness.
        • Removed browserslist. Use swcEnvTargets instead (TODO: add this option).
        • Custom workers have been removed. You should use swSrc.
        • Removed extendDefaultRuntimeCaching. Use the spread syntax instead (use import { defaultCache } from "@serwist/next/browser" to import the default runtimeCaching array).
        • Temporarily removed fallbacks to investigate module-friendly alternatives.
        • Removed swcMinify.
        • Removed watchWorkersInDev.
        • Removed cacheStartUrl, dynamicStartUrl, and dynamicStartUrl. These shall be re-added only when their use cases are made more clear to me.
      • Merged workboxOptions with the plugin's options.
      • Removed swc-loader, terser-minify, webpack-builders,... (we now leverage ChildCompilationPlugin to compile workers - this change will be backported to @ducanh2912/next-pwa@10)
      • Removed the ability to use GenerateSW. @serwist/sw.installSerwist is provided as a replacement.
      • swSrc is now a required property.
      • Moved minimum support Next.js version from 11.0.0 to 14.0.0.
    • Removed GenerateSW (replaced by @serwist/sw.installSerwist).
      • See examples/next-basic/app/sw.ts to see how installSerwist should be used.
    • Repurposed @serwist/sw.
      • The old package might be reintroduced if there's demand.
    • Note: This is just the initial release, and there is still a lot of ground to cover (a lot of legacy code to be removed, a lot of features to be reintroduced,...). Here's to a bright future for the project :_)

Patch Changes

Package Rankings
Top 23.13% on Npmjs.org