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 all dependencies #18

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

Update all dependencies #18

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hookform/resolvers (source) 3.3.4 -> 3.9.0 age adoption passing confidence
@nhost/nhost-js (source) 3.0.9 -> 3.1.9 age adoption passing confidence
@nhost/nhost-js (source) 3.0.9 -> 3.1.9 age adoption passing confidence
@novu/node 0.24.0 -> 2.0.1 age adoption passing confidence
@novu/notification-center 0.24.0 -> 2.0.0 age adoption passing confidence
@serwist/next (source) 8.4.4 -> 9.0.8 age adoption passing confidence
@serwist/precaching (source) 8.4.4 -> 9.0.8 age adoption passing confidence
@serwist/sw (source) 8.4.4 -> 9.0.8 age adoption passing confidence
@t3-oss/env-nextjs (source) 0.9.2 -> 0.11.1 age adoption passing confidence
@types/node (source) 20.11.25 -> 20.16.5 age adoption passing confidence
@types/node (source) 20.11.25 -> 20.16.5 age adoption passing confidence
autoprefixer 10.4.18 -> 10.4.20 age adoption passing confidence
axios (source) 1.6.7 -> 1.7.7 age adoption passing confidence
clsx 2.1.0 -> 2.1.1 age adoption passing confidence
dayjs (source) 1.11.10 -> 1.11.13 age adoption passing confidence
eslint-plugin-react 7.34.0 -> 7.36.1 age adoption passing confidence
express (source) 4.18.3 -> 4.21.0 age adoption passing confidence
graphql 16.8.1 -> 16.9.0 age adoption passing confidence
graphql-request 6.1.0 -> 7.1.0 age adoption passing confidence
husky 9.0.11 -> 9.1.6 age adoption passing confidence
jose 5.2.3 -> 5.9.2 age adoption passing confidence
lint-staged 15.2.2 -> 15.2.10 age adoption passing confidence
next-themes 0.2.1 -> 0.3.0 age adoption passing confidence
pnpm (source) 8.15.4 -> 9.11.0 age adoption passing confidence
postcss (source) 8.4.35 -> 8.4.47 age adoption passing confidence
prettier (source) 3.2.5 -> 3.3.3 age adoption passing confidence
prettier-plugin-tailwindcss 0.5.12 -> 0.6.6 age adoption passing confidence
react-hook-form (source) 7.51.0 -> 7.53.0 age adoption passing confidence
sonner (source) 1.4.3 -> 1.5.0 age adoption passing confidence
tailwind-merge 2.2.1 -> 2.5.2 age adoption passing confidence
tailwindcss (source) 3.4.1 -> 3.4.12 age adoption passing confidence
typescript (source) 5.4.2 -> 5.6.2 age adoption passing confidence
typescript (source) 5.4.2 -> 5.6.2 age adoption passing confidence
zod (source) 3.22.4 -> 3.23.8 age adoption passing confidence

Release Notes

react-hook-form/resolvers (@​hookform/resolvers)

v3.9.0

Compare Source

Features
  • fluentvalidation-ts: add fluentvalidation-ts resolver (#​702) (5fc1e63)

v3.8.0

Compare Source

v3.7.0

Compare Source

Bug Fixes
  • zodResolver: cannot read properties of undefined (reading 'length') (a3e50c6)
Features

v3.6.0

Compare Source

Features

v3.5.0

Compare Source

Features

v3.4.2

Compare Source

Bug Fixes

v3.4.1

Compare Source

Bug Fixes

v3.4.0

Compare Source

nhost/nhost (@​nhost/nhost-js)

v3.1.9

Compare Source

v3.1.8

Compare Source

v3.1.7

Compare Source

v3.1.6

Compare Source

v3.1.5

Compare Source

v3.1.4

Compare Source

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

v3.0.11

Compare Source

v3.0.10

Compare Source

v3.0.9

Compare Source

v3.0.8

Compare Source

v3.0.7

Compare Source

v3.0.6

Compare Source

novuhq/novu (@​novu/node)

v2.0.1

Compare Source

v2.0.0

Compare Source

v0.24.2

Compare Source

v0.24.1

Compare Source

serwist/serwist (@​serwist/next)

v9.0.8

Compare Source

Patch Changes

v9.0.7

Compare Source

Patch Changes

v9.0.6

Compare Source

Patch Changes

v9.0.5

Compare Source

Patch Changes
  • Updated dependencies []:
    • serwist@9.0.5

v9.0.4

Compare Source

Patch Changes

v9.0.3

Compare Source

Patch Changes

v9.0.2

Compare Source

Patch Changes

v9.0.1

Compare Source

Patch Changes
  • #​128 ee8fa90 Thanks @​DuCanhGH! - fix(next): check if the current page is in the service worker's scope before registering

    • Before, if InjectPartial.scope was set to some value, and you visited a page out of that scope, you would see the warning "The current page is not in scope for the registered service worker. Was this a mistake?" logged. This simply fixes that by checking if the page is in the scope before calling window.serwist.register().
    • Wondering if we should have removed /sw-entry.ts before the 9.0.0 release...
  • Updated dependencies []:

v9.0.0

Compare Source

Major Changes
  • #​123 add4fdd Thanks @​DuCanhGH! - refactor(build): moved framework-specific types out of @serwist/build

    • Types the likes of WebpackPartial, WebpackInjectManifestOptions, ViteInjectManifestOptions, along with their according validators have been moved out of @serwist/build.

    • This design, a relic of Workbox, never made any sense in the first place. As such, we are getting rid of it and migrating to a design where types and validators are co-located with their related packages.

    • To migrate, update the imports:

      • @serwist/build.WebpackPartial -> @serwist/webpack-plugin.WebpackPartial
      • @serwist/build.WebpackInjectManifestOptions -> @serwist/webpack-plugin.InjectManifestOptions
      • @serwist/build.WebpackInjectManifestPartial -> Omit<import("@&#8203;serwist/webpack-plugin").InjectManifestOptions, keyof import("@&#8203;serwist/build").BasePartial | keyof import("@&#8203;serwist/build").InjectPartial | keyof import("@&#8203;serwist/webpack-plugin").WebpackPartial | keyof import("@&#8203;serwist/build").OptionalSwDestPartial>
      • @serwist/build.ViteInjectManifestOptions -> @serwist/vite.PluginOptions
    • With this change, validators and schemas have also been made public. Validators can be imported from "/" files, whereas schemas can be imported from "/schema" ones.

  • #​123 4a5d51a Thanks @​DuCanhGH! - chore(next): renamed "/browser" to "/worker"

    • This new name makes more sense than the old one, for these exports are actually for use in service workers.

    • To migrate, simply change all imports of @serwist/next/browser to those of @serwist/next/worker:

      • Old:
      import { installSerwist } from "@&#8203;serwist/sw";
      import { defaultCache } from "@&#8203;serwist/next/browser";
      
      installSerwist({
        // Other options
        runtimeCaching: defaultCache,
      });
      • New:
      import { Serwist } from "serwist";
      import { defaultCache } from "@&#8203;serwist/next/worker";
      
      const serwist = new Serwist({
        // Other options
        runtimeCaching: defaultCache,
      });
      
      serwist.addEventListeners();
  • #​123 4a5d51a Thanks @​DuCanhGH! - chore(peerDeps): bump minimum supported TypeScript and Node.js version

    • From now, we only support TypeScript versions later than 5.0.0 and Node.js ones later than 18.0.0.
    • To migrate, simply update these tools.

Change to your preferred way of updating Node.js

nvm use 18

Change to your package manager

npm i -D typescript@5
```
  • #​123 7b55ac5 Thanks @​DuCanhGH! - refactor(js): dropped the CommonJS build

    • Serwist is now an ESM-only project.

    • This was done because our tooling around supporting CJS had always been crappy: it was slow, had no way of supporting emitting .d.cts (we used to copy .d.ts to .d.cts), and was too error-prone (there were various issues of our builds crashing due to an ESM-only package slipping in).

    • If you already use ESM, there's nothing to be done. Great! Otherwise, to migrate:

      • Migrate to ESM if possible.

      • Otherwise, use dynamic imports. For example, to migrate to the new @serwist/next:

        • Old:
        // @&#8203;ts-check
        const withSerwist = require("@&#8203;serwist/next").default({
          cacheOnNavigation: true,
          swSrc: "app/sw.ts",
          swDest: "public/sw.js",
        });
        /** @&#8203;type {import("next").NextConfig} */
        const nextConfig = {
          reactStrictMode: true,
        };
        
        module.exports = withSerwist(nextConfig);
        • New:
        // @&#8203;ts-check
        /** @&#8203;type {import("next").NextConfig} */
        const nextConfig = {
          reactStrictMode: true,
        };
        
        module.exports = async () => {
          const withSerwist = (await import("@&#8203;serwist/next")).default({
            cacheOnNavigation: true,
            swSrc: "app/sw.ts",
            swDest: "public/sw.js",
          });
          return withSerwist(nextConfig);
        };
      • If all else fails, use require(esm). This may or may not be supported on your current Node.js version.

  • #​123 7524712 Thanks @​DuCanhGH! - chore(next): changed defaultCache's "next-data"'s handler to NetworkFirst

    • Using StaleWhileRevalidate affects getServerSideProps's freshness. See #​74 for more details.
    • There's nothing to be done on your side.
  • #​123 837cd0d Thanks @​DuCanhGH! - chore(next): renamed cacheOnFrontEndNav to cacheOnNavigation

    • Generally, we avoid using abbreviations (except for acronyms) to name Serwist's APIs.

    • To migrate, simply replace cacheOnFrontEndNav with cacheOnNavigation:

      • Old:
      const withSerwist = withSerwistInit({
        cacheOnFrontEndNav: true,
      });
      
      /** @&#8203;type {import("next").NextConfig} */
      const nextConfig = {};
      
      export default withSerwist(nextConfig);
      • New:
      const withSerwist = withSerwistInit({
        cacheOnNavigation: true,
      });
      
      /** @&#8203;type {import("next").NextConfig} */
      const nextConfig = {};
      
      export default withSerwist(nextConfig);
Minor Changes
  • #​123 51a686f Thanks @​DuCanhGH! - refactor(webpack,next): allow webpack to be an optional peerDependency

    • Since we support frameworks that ship a prebundled webpack, such as Next.js, it would be nice if we can take advantage of that as well.
    • As a result, webpack is now an optional peerDependency for @serwist/webpack-plugin and is no longer a peerDependency for @serwist/next. Thanks to the fact that we currently don't use any webpack plugin, it is also not indirectly installed.
  • #​123 4a5d51a Thanks @​DuCanhGH! - feat(next): added @serwist/next/worker.PAGES_CACHE_NAME

    • Due to the fact that App Router pages use RSC, we define 3 runtimeCaching entries in defaultCache, which are "pages-rsc-prefetch", "pages-rsc", and "pages". This simply re-exports these cacheName's for the users so that they can use them in their own extensions of our defaultCache.

    • If you previously copied these values from the source code, it is recommended that you migrate to this constant:

      • Old:
      import { defaultCache } from "@&#8203;serwist/next/browser";
      import { installSerwist } from "@&#8203;serwist/sw";
      
      installSerwist({
        // Other options...
        runtimeCaching: [
          {
            urlPattern: ({ request, url: { pathname }, sameOrigin }) =>
              request.headers.get("RSC") === "1" &&
              request.headers.get("Next-Router-Prefetch") === "1" &&
              sameOrigin &&
              !pathname.startsWith("/api/"),
            handler: "NetworkFirst",
            options: {
              cacheName: "pages-rsc-prefetch",
              expiration: {
                maxEntries: 32,
                maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
              },
            },
          },
          {
            urlPattern: ({ request, url: { pathname }, sameOrigin }) =>
              request.headers.get("RSC") === "1" &&
              sameOrigin &&
              !pathname.startsWith("/api/"),
            handler: "NetworkFirst",
            options: {
              cacheName: "pages-rsc",
              expiration: {
                maxEntries: 32,
                maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
              },
            },
          },
          {
            urlPattern: ({ request, url: { pathname }, sameOrigin }) =>
              request.headers.get("Content-Type")?.includes("text/html") &&
              sameOrigin &&
              !pathname.startsWith("/api/"),
            handler: "NetworkFirst",
            options: {
              cacheName: "pages",
              expiration: {
                maxEntries: 32,
                maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
              },
            },
          },
          ...defaultCache,
        ],
      });
      • New:
      import { defaultCache, PAGES_CACHE_NAME } from "@&#8203;serwist/next/worker";
      import { Serwist } from "serwist";
      
      const serwist = new Serwist({
        // Other options...
        runtimeCaching: [
          {
            matcher: ({ request, url: { pathname }, sameOrigin }) =>
              request.headers.get("RSC") === "1" &&
              request.headers.get("Next-Router-Prefetch") === "1" &&
              sameOrigin &&
              !pathname.startsWith("/api/"),
            handler: new NetworkFirst({
              cacheName: PAGES_CACHE_NAME.rscPrefetch,
              plugins: [
                new ExpirationPlugin({
                  maxEntries: 32,
                  maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
                }),
              ],
            }),
          },
          {
            matcher: ({ request, url: { pathname }, sameOrigin }) =>
              request.headers.get("RSC") === "1" &&
              sameOrigin &&
              !pathname.startsWith("/api/"),
            handler: new NetworkFirst({
              cacheName: PAGES_CACHE_NAME.rsc,
              plugins: [
                new ExpirationPlugin({
                  maxEntries: 32,
                  maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
                }),
              ],
            }),
          },
          {
            matcher: ({ request, url: { pathname }, sameOrigin }) =>
              request.headers.get("Content-Type")?.includes("text/html") &&
              sameOrigin &&
              !pathname.startsWith("/api/"),
            handler: new NetworkFirst({
              cacheName: PAGES_CACHE_NAME.html,
              plugins: [
                new ExpirationPlugin({
                  maxEntries: 32,
                  maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
                }),
              ],
            }),
          },
          ...defaultCache,
        ],
      });
      
      serwist.addEventListeners();
Patch Changes
t3-oss/t3-env (@​t3-oss/env-nextjs)

v0.11.1

Compare Source

Patch Changes

v0.11.0

Compare Source

Patch Changes

v0.10.1

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 Apr 1, 2024

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

Name Status Preview Comments Updated (UTC)
next-shadcn-nhost-web ❌ Failed (Inspect) Apr 22, 2024 10:02am

@renovate renovate bot force-pushed the renovate/all branch 12 times, most recently from 8d4a8a0 to 918b3e7 Compare September 3, 2024 14:45
@renovate renovate bot force-pushed the renovate/all branch 7 times, most recently from d2116d4 to a6b85fb Compare September 10, 2024 04:01
@renovate renovate bot force-pushed the renovate/all branch 8 times, most recently from 33c1ac1 to 725101e Compare September 17, 2024 15:49
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