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

Update dependency @ducanh2912/next-pwa to v9.7.2 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ducanh2912/next-pwa (source) 9.2.0 -> 9.7.2 age adoption passing confidence

Release Notes

DuCanhGH/next-pwa (@​ducanh2912/next-pwa)

v9.7.2

Compare Source

Patch Changes
  • 78ce4fb Thanks @​DuCanhGH! - fix(next-pwa): fixed InjectManifest crashing due to babelPresetEnvTargets being set

    • I'm still astonished that noone, including me, has noticed this issue all this time 💀. Really unfortunately speaks volumes about how popular this feature is among us, though.
    • This also fixes our applying defaults for GenerateSW, so if there's any unexpected change that arises from this, I'm really sorry. This affects you if you use importScripts, which used to cause the custom worker and the fallback worker to not be imported into your service worker.

v9.7.1

Compare Source

Patch Changes
  • #​96 27d5f20 Thanks @​DuCanhGH! - fix: remove lazy and importInterop from .swcrc

    • Seems that these values are no longer allowed with module.type set to "es6" or "nodenext".

    • In addition, jsc.parser.tsx has been set to false as it doesn't really make sense to use React in these workers.

v9.7.0

Compare Source

Minor Changes
  • #​90 c24e175 Thanks @​DuCanhGH! - feat: added watchWorkersInDev

    • Note that this feature is disabled by default, and can be enabled by setting PluginOptions.watchWorkersInDev to true. After a change is detected and webpack rebuilds the custom worker, you have to reload the page for it to take effect.
  • #​90 c24e175 Thanks @​DuCanhGH! - feat: added .webm to defaultCache's static-video-assets

    • I think it'd be nice to support this extension as well, and this shouldn't cause a breaking change (if there is another entry that matches .webm files in workboxOptions.runtimeCaching and extendDefaultRuntimeCaching, then Workbox will still pick that entry).

v9.6.0

Compare Source

Minor Changes
  • #​84 12a6542 Thanks @​DuCanhGH! - feat: added PluginOptions.browserslist

    • This defaults to "chrome >= 56", same with Workbox's default.
    • Note that .browserslistrc, package.json.browserslist, etc. are not supported (yet), and the only way to pass the config to next-pwa is PluginOptions.browserslist, but you can read the file yourself, parse it, then pass it to next-pwa.
    • This allows you to configure which browsers you want to target your workers for. This tells next-pwa to add PluginOptions.workboxOptions.babelPresetEnvTargets if that option is not defined, which means that the service worker will, too, be bundled to target these browsers, but you can change that by adding the option.
  • #​84 12a6542 Thanks @​DuCanhGH! - feat: support Next's new logging style

    • So Next changed its logging style again, and I'm wondering if trying to match its logging style is even a good idea.

v9.5.0

Compare Source

Minor Changes
  • #​74 158ebe1 Thanks @​DuCanhGH! - refactor: removed 'activated' event listeners in sw-entry.ts

    • These listeners seem to be unnecessary as we already have runtimeCaching. Though, this is merely an assumption and might cause issues for some people.
      Do open a new issue if you are one of them :)
    • This also updates every dependency to their latest versions.

v9.4.0

Compare Source

Minor Changes
  • #​62 771de70 Thanks @​DuCanhGH! - feat(next-pwa): added customWorkerDest, customWorkerPrefix, use file hashing for workers' output filenames' suffix

    • customWorkerPrefix works like our sw option, except that it is just a prefix and not the whole name to allow having a hash at the end of the custom worker's output filename.
    • This also deprecates customWorkerDir and replaces it with customWorkerSrc to align with customWorkerDest so as to avoid confusion.
    • We now use file hashing instead of buildId for our workers' output filenames' suffix.

v9.3.0

Compare Source

Minor Changes
  • #​58 b88526a Thanks @​DuCanhGH! - chore: revert adding webpack to dependencies

    • This version reverts that now that Next 13.4.10 has been released, which fixes the issue in which workbox-webpack-plugin fails to resolve webpack in
      development mode.
    • Note: If you are using Next 13.4.9, you will need to install webpack as a devDependency to avoid the aforementioned issue. This is quite a breaking
      change, but it is due to a bug and I've decided against making a major jump. It is recommended to just upgrade to Next 13.4.10 (and still have webpack installed, as it is one of our peerDependencies).

v9.2.1

Compare Source

Patch Changes
  • #​55 c8523d5 Thanks @​DuCanhGH! - chore(deps): updated dependencies, moved webpack to "dependencies"

    • webpack is now a dependency rather than a peer dependency.
    • Reverted the change where we replaced webpack with Next's webpack instance.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jul 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog ❌ Failed (Inspect) Jul 11, 2024 10:13am

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.

0 participants