Skip to content

Releases: DuCanhGH/next-pwa

@ducanh2912/[email protected]

15 Jun 15:55
Compare
Choose a tag to compare

Minor Changes

  • d166a7...fa08192 Thanks @DuCanhGH! - feat(next-pwa, experimental): aggressiveFrontEndNavCaching

    • This feature, combined with cacheOnFrontEndNav, will cache <link rel="stylesheet" href="" /> and <script src="" /> on frontend navigation. This allows
      pages which have only been visited through that method to work offline when directly visited.

    • Frontend navigation caching has also been offloaded to a separate worker with this feature.

@ducanh2912/[email protected]

06 Jun 17:28
15a65a1
Compare
Choose a tag to compare

Minor Changes

  • b9dff21: chore(deps): updated workbox to v7

    • This version updates workbox to v7 and other dependencies to latest. It's nice to see that workbox is finally maintained again :)

Patch Changes

  • b9dff21: feat: documentation

    • Added a new docs website and replaced links.

@ducanh2912/[email protected]

25 May 09:09
59f1b69
Compare
Choose a tag to compare

Patch Changes

  • 9045662: fix(next-pwa,compatibility): remove node: protocol from imports

    • We currently don't have a clear version requirement for Node.js, and as such we should support as many versions as possible. It seems that only Node.js 16 and later support node: protocol imports for CJS, so we remove this protocol by using @rollup/plugin-alias. This compatibility patch might be removed in the future though.

@ducanh2912/[email protected]

24 May 19:00
808bbd9
Compare
Choose a tag to compare

Minor Changes

  • 286f347: feat(next-pwa): better offline support for app

    • This update helps improve offline support for App Router by caching RSC prefetches separately from other RSC requests.
  • 286f347: feat(next-pwa): added support for extending the default runtimeCaching array

    • To use this feature you can add extendDefaultRuntimeCaching to your configuration.

    • This feature helps you easily extend the default runtimeCaching array without having to copy the whole thing to your config. Your runtimeCaching has priority over the default runtime caching array, so its entries will override the default runtimeCaching's entries should any of them share cacheName.

  • 0ab9a7a: Update SETUP.md

    • Add "/" to declare self-closing tags

Thank @vegancat for helping!

@ducanh2912/[email protected]

10 May 00:38
84be59b
Compare
Choose a tag to compare

Patch Changes

  • 5c37579: fix(next-pwa): removed ignoreVary for pages-rsc

@ducanh2912/[email protected]

09 May 16:27
Compare
Choose a tag to compare

(manually created because changesets screwed up, gotta do something later...)

Minor Changes

  • 6f73e23: feat: change logging style based on Next's version

    • If your Next version is older than 13.4.1 then next-pwa will use the old logging style.

@ducanh2912/[email protected]

22 Apr 16:07
Compare
Choose a tag to compare

(manually created because changesets screwed up, gotta do something later...)

Minor Changes

  • 537566f: chore(deps): monthly dependencies maintenance

  • 537566f: feat(logging): use chalk with console.log

    • Log with info -, warn -, error -, wait - to match Next's style of logging.

    • chalk is bundled with the package so there shouldn't be any compatibility issue.

@ducanh2912/[email protected]

24 Mar 16:17
ebc4593
Compare
Choose a tag to compare

Minor Changes

  • 8421d6d: feat(fallbackRoutes): enable the fallback worker when app/~offline/page.js is found

    • This also adds a warning about Next.js appDir ignoring folders prefixed by underscore and suggests migrating to /~offline when /_offline is found.

@ducanh2912/[email protected]

10 Mar 13:05
ac9a327
Compare
Choose a tag to compare

Patch Changes

  • 7e5a838: refactor(core): use .swcrc instead of Next's webpack.config.resolve for path aliases.

@ducanh2912/[email protected]

02 Mar 18:23
a580ebb
Compare
Choose a tag to compare

Minor Changes

  • 172eebf: feat(deps): next-pwa no longer requires swc-loader to be manually installed

    • This package now installs swc-loader on its own, and then resolve it using require.resolve.
  • 172eebf: chore(docs): isolated parts of README.md into SETUP.md for better docs maintenance

    • I found scrolling through README.md to be quite a pain, so I've isolated parts of it into a new file again.

Patch Changes

  • 172eebf: chore(deps): monthly dependencies maintenance

    • Though I've been quite busy recently with Next.js itself (tons of typedRoutes PRs) and my own stuff, I've promised to always perform a monthly dependencies maintenance.

    • examples/basic has migrated from <head /> to metadata with this.