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

chore(deps): update all non-major dependencies #53

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@auth/core (source) ^0.35.3 -> ^0.37.0 age adoption passing confidence dependencies minor
@auth/drizzle-adapter (source) ^1.5.3 -> ^1.7.0 age adoption passing confidence dependencies minor
@types/node (source) 22.7.4 -> 22.7.5 age adoption passing confidence devDependencies patch
@types/react-dom (source) 18.3.0 -> 18.3.1 age adoption passing confidence devDependencies patch
@typescript-eslint/eslint-plugin (source) ^8.8.0 -> ^8.9.0 age adoption passing confidence devDependencies minor
@typescript-eslint/parser (source) ^8.8.0 -> ^8.9.0 age adoption passing confidence devDependencies minor
@upstash/redis ^1.34.1 -> ^1.34.3 age adoption passing confidence dependencies patch
babel-plugin-react-compiler (source) ^0.0.0-experimental-b4db8c3-20241001 -> ^0.0.0-experimental-fa06e2c-20241014 age adoption passing confidence dependencies patch
cookies-next ^4.2.0 -> ^4.3.0 age adoption passing confidence dependencies minor
drizzle-kit (source) ^0.24.2 -> ^0.25.0 age adoption passing confidence devDependencies minor
drizzle-orm (source) ^0.33.0 -> ^0.34.1 age adoption passing confidence dependencies minor
eslint-config-next (source) 14.2.14 -> 14.2.15 age adoption passing confidence devDependencies patch
eslint-plugin-react-compiler (source) ^0.0.0-experimental-42acc6a-20241001 -> ^0.0.0-experimental-fa06e2c-20241014 age adoption passing confidence devDependencies patch
eslint-plugin-tailwindcss ^3.17.4 -> ^3.17.5 age adoption passing confidence devDependencies patch
jiti ^2.1.0 -> ^2.3.3 age adoption passing confidence devDependencies minor
lucide-react (source) ^0.447.0 -> ^0.452.0 age adoption passing confidence dependencies minor
node 20.17.0-alpine -> 20.18.0-alpine age adoption passing confidence final minor
node (source) >=20.17.0 -> >=20.18.0 age adoption passing confidence engines minor
tailwind-merge ^2.5.2 -> ^2.5.4 age adoption passing confidence dependencies patch
typescript (source) 5.6.2 -> 5.6.3 age adoption passing confidence devDependencies patch

Release Notes

nextauthjs/next-auth (@​auth/core)

v0.37.0

Compare Source

Features

v0.36.0

Compare Source

Features

Bugfixes

  • correctly set isNewUser during account linking & user creation

Other

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.9.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-parameters] cannot assume variables are either type or value

  • scope-manager: [no-use-before-define] do not treat nested namespace aliases as variable references

  • eslint-plugin: [return-await] sync the behavior with await-thenable

  • eslint-plugin: [prefer-literal-enum-member] report a different error message when allowBitwiseExpressions is enabled

  • eslint-plugin: [no-loop-func] sync from upstream base rule

  • eslint-plugin: [no-unused-vars] never report the naming of an enum member

  • eslint-plugin: correct use-at-your-own-risk type definitions

  • eslint-plugin: handle unions in await...for

❤️ Thank You
  • Abraham Guo
  • Anna Bocharova
  • Arya Emami
  • auvred
  • Joshua Chen
  • Kirk Waiblinger
  • Lotfi Meklati
  • mdm317
  • Ronen Amiel
  • Sukka
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v8.8.1

Compare Source

🩹 Fixes
  • eslint-plugin: stop warning on @​ts-nocheck comments which aren't at the beginning of the file
❤️ Thank You
  • Brad Zacher
  • Ronen Amiel
  • WhitePiano

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v8.9.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.8.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

upstash/upstash-redis (@​upstash/redis)

v1.34.3

Compare Source

What's Changed
Changes
Vercel Env Variables

@​upstash/redis sdk now also works when the env variables of Vercel KV are set:

KV_REST_API_URL
KV_REST_API_TOKEN
Granular Auto Pipeline Errors

When the pipeline of the auto pipeline failed, it threw an error for all commands in the auto pipeline. This is not ideal for the use case of auto pipeline. Now, they are raised seperately.

This required changing the exec method of Pipeline. It's not possible to return the errors instead of raising them. See the docstring for more details.

Remove throw on missing URL/Token

We updated the SDK to throw error if the URL or the token is not set in v1.31.1, in PR #​1065. This causes the Vercel builds in Turbo repo to fail unless the turbo.json is updated.

Now, we only print warning logs if the credentials are missing, instead of throwing.

Full Changelog: upstash/redis-js@v1.34.2...v1.34.3

v1.34.2

Compare Source

What's Changed

Full Changelog: upstash/redis-js@v1.34.1...v1.34.2

facebook/react (babel-plugin-react-compiler)

v0.0.0-experimental-fa06e2c-20241014

Compare Source

v0.0.0-experimental-f1f288c-20240725

Compare Source

v0.0.0-experimental-e68eda9-20240829

Compare Source

v0.0.0-experimental-e504e66-20241010

Compare Source

v0.0.0-experimental-de2cfda-20240912

Compare Source

v0.0.0-experimental-da85dca-20240809

Compare Source

v0.0.0-experimental-ca8e0be-20240916

Compare Source

v0.0.0-experimental-c23de8d-20240515

Compare Source

andreizanik/cookies-next (cookies-next)

v4.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: andreizanik/cookies-next@v4.2.1...v4.3.0

drizzle-team/drizzle-orm (drizzle-kit)

v0.25.0

Compare Source

Breaking changes and migrate guide for Turso users

If you are using Turso and libsql, you will need to upgrade your drizzle.config and @libsql/client package.

  1. This version of drizzle-orm will only work with @libsql/[email protected] or higher if you are using the migrate function. For other use cases, you can continue using previous versions(But the suggestion is to upgrade)
    To install the latest version, use the command:
npm i @​libsql/client@latest
  1. Previously, we had a common drizzle.config for SQLite and Turso users, which allowed a shared strategy for both dialects. Starting with this release, we are introducing the turso dialect in drizzle-kit. We will evolve and improve Turso as a separate dialect with its own migration strategies.

Before

import { defineConfig } from "drizzle-kit";

export default defineConfig({
  dialect: "sqlite",
  schema: "./schema.ts",
  out: "./drizzle",
  dbCredentials: {
    url: "database.db",
  },
  breakpoints: true,
  verbose: true,
  strict: true,
});

After

import { defineConfig } from "drizzle-kit";

export default defineConfig({
  dialect: "turso",
  schema: "./schema.ts",
  out: "./drizzle",
  dbCredentials: {
    url: "database.db",
  },
  breakpoints: true,
  verbose: true,
  strict: true,
});

If you are using only SQLite, you can use dialect: "sqlite"

LibSQL/Turso and Sqlite migration updates

SQLite "generate" and "push" statements updates

Starting from this release, we will no longer generate comments like this:

      '/*\n SQLite does not support "Changing existing column type" out of the box, we do not generate automatic migration for that, so it has to be done manually'
      + '\n Please refer to: https://www.techonthenet.com/sqlite/tables/alter_table.php'
      + '\n                  https://www.sqlite.org/lang_altertable.html'
      + '\n                  https://stackoverflow.com/questions/2083543/modify-a-columns-type-in-sqlite3'
      + "\n\n Due to that we don't generate migration automatically and it has to be done manually"
      + '\n*/'

We will generate a set of statements, and you can decide if it's appropriate to create data-moving statements instead. Here is an example of the SQL file you'll receive now:

PRAGMA foreign_keys=OFF;
--> statement-breakpoint
CREATE TABLE `__new_worker` (
  `id` integer PRIMARY KEY NOT NULL,
  `name` text NOT NULL,
  `salary` text NOT NULL,
  `job_id` integer,
  FOREIGN KEY (`job_id`) REFERENCES `job`(`id`) ON UPDATE no action ON DELETE no action
);
--> statement-breakpoint
INSERT INTO `__new_worker`("id", "name", "salary", "job_id") SELECT "id", "name", "salary", "job_id" FROM `worker`;
--> statement-breakpoint
DROP TABLE `worker`;
--> statement-breakpoint
ALTER TABLE `__new_worker` RENAME TO `worker`;
--> statement-breakpoint
PRAGMA foreign_keys=ON;
LibSQL/Turso "generate" and "push" statements updates

Since LibSQL supports more ALTER statements than SQLite, we can generate more statements without recreating your schema and moving all the data, which can be potentially dangerous for production environments.

LibSQL and Turso will now have a separate dialect in the Drizzle config file, meaning that we will evolve Turso and LibSQL independently from SQLite and will aim to support as many features as Turso/LibSQL offer.

With the updated LibSQL migration strategy, you will have the ability to:

  • Change Data Type: Set a new data type for existing columns.
  • Set and Drop Default Values: Add or remove default values for existing columns.
  • Set and Drop NOT NULL: Add or remove the NOT NULL constraint on existing columns.
  • Add References to Existing Columns: Add foreign key references to existing columns

You can find more information in the LibSQL documentation

LIMITATIONS
  • Dropping foreign key will cause table recreation.

This is because LibSQL/Turso does not support dropping this type of foreign key.

CREATE TABLE `users` (
  `id` integer NOT NULL,
  `name` integer,
  `age` integer PRIMARY KEY NOT NULL
  FOREIGN KEY (`name`) REFERENCES `users1`("id") ON UPDATE no action ON DELETE no action
);
  • If the table has indexes, altering columns will cause index recreation:
    Drizzle-Kit will drop the indexes, modify the columns, and then create the indexes.

  • Adding or dropping composite foreign keys is not supported and will cause table recreation.

  • Primary key columns can not be altered and will cause table recreation.

  • Altering columns that are part of foreign key will cause table recreation.

NOTES
  • You can create a reference on any column type, but if you want to insert values, the referenced column must have a unique index or primary key.
CREATE TABLE parent(a PRIMARY KEY, b UNIQUE, c, d, e, f);
CREATE UNIQUE INDEX i1 ON parent(c, d);
CREATE INDEX i2 ON parent(e);
CREATE UNIQUE INDEX i3 ON parent(f COLLATE nocase);

CREATE TABLE child1(f, g REFERENCES parent(a));                        -- Ok
CREATE TABLE child2(h, i REFERENCES parent(b));                        -- Ok
CREATE TABLE child3(j, k, FOREIGN KEY(j, k) REFERENCES parent(c, d));  -- Ok
CREATE TABLE child4(l, m REFERENCES parent(e));                        -- Error!
CREATE TABLE child5(n, o REFERENCES parent(f));                        -- Error!
CREATE TABLE child6(p, q, FOREIGN KEY(p, q) REFERENCES parent(b, c));  -- Error!
CREATE TABLE child7(r REFERENCES parent(c));                           -- Error!

NOTE: The foreign key for the table child5 is an error because, although the parent key column has a unique index, the index uses a different collating sequence.

See more: https://www.sqlite.org/foreignkeys.html

New casing param in drizzle-orm and drizzle-kit

There are more improvements you can make to your schema definition. The most common way to name your variables in a database and in TypeScript code is usually snake_case in the database and camelCase in the code. For this case, in Drizzle, you can now define a naming strategy in your database to help Drizzle map column keys automatically. Let's take a table from the previous example and make it work with the new casing API in Drizzle

Table can now become:

import { pgTable } from "drizzle-orm/pg-core";

export const ingredients = pgTable("ingredients", (t) => ({
  id: t.uuid().defaultRandom().primaryKey(),
  name: t.text().notNull(),
  description: t.text(),
  inStock: t.boolean().default(true),
}));

As you can see, inStock doesn't have a database name alias, but by defining the casing configuration at the connection level, all queries will automatically map it to snake_case

const db = await drizzle('node-postgres', { connection: '', casing: 'snake_case' })

For drizzle-kit migrations generation you should also specify casing param in drizzle config, so you can be sure you casing strategy will be applied to drizzle-kit as well

import { defineConfig } from "drizzle-kit";

export default defineConfig({
  dialect: "postgresql",
  schema: "./schema.ts",
  dbCredentials: {
    url: "postgresql://postgres:password@localhost:5432/db",
  },
  casing: "snake_case",
});
vercel/next.js (eslint-config-next)

v14.2.15

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • support breadcrumb style catch-all parallel routes #​65063
  • Provide non-dynamic segments to catch-all parallel routes #​65233
  • Fix client reference access causing metadata missing #​70732
  • feat(next/image): add support for decoding prop #​70298
  • feat(next/image): add images.localPatterns config #​70529
  • fix(next/image): handle undefined images.localPatterns config in images-manifest.json
  • fix: Do not omit alt on getImgProps return type, ImgProps #​70608
  • [i18n] Routing fix #​70761
Credits

Huge thanks to @​ztanner, @​agadzik, @​huozhi, @​styfle, @​icyJoseph and @​wyattjoh for helping!

facebook/react (eslint-plugin-react-compiler)

v0.0.0-experimental-fa06e2c-20241014

Compare Source

v0.0.0-experimental-f8a5409-20240829

Compare Source

v0.0.0-experimental-f444e11-20240926

Compare Source

v0.0.0-experimental-eeb1b2a-20240818

Compare Source

v0.0.0-experimental-e04a001-20240515

Compare Source

v0.0.0-experimental-d0e920e-20240815

Compare Source

v0.0.0-experimental-ca16900-20240916

Compare Source

v0.0.0-experimental-c8b3f72-20240517

Compare Source

v0.0.0-experimental-c764db4-20240812

Compare Source

v0.0.0-experimental-c7434b2-20240809

Compare Source

v0.0.0-experimental-b8a7b48-20240903

Compare Source

v0.0.0-experimental-b8a7b48-20240830

Compare Source

v0.0.0-experimental-b6b226f-20240807

Compare Source

v0.0.0-experimental-b6997ec-20240910

Compare Source

v0.0.0-experimental-b6997ec-20240909

Compare Source

v0.0.0-experimental-a97cca1-20240529

Compare Source

v0.0.0-experimental-9ed098e-20240725

Compare Source

v0.0.0-experimental-9aef357-20240815

Compare Source

v0.0.0-experimental-9a75bad-20241003

Compare Source

v0.0.0-experimental-939a02d-20240930

Compare Source

v0.0.0-experimental-92aaa43-20240925

Compare Source

v0.0.0-experimental-92aaa43-20240924

Compare Source

v0.0.0-experimental-92aaa43-20240919

Compare Source

v0.0.0-experimental-8e3b87c-20240822

Compare Source

v0.0.0-experimental-8e3b87c-20240821

Compare Source

v0.0.0-experimental-8e3b87c-20240819

Compare Source

v0.0.0-experimental-8d8bd53-20240905

Compare Source

v0.0.0-experimental-8d8bd53-20240904

Compare Source

v0.0.0-experimental-7c1344f-20241009

Compare Source

v0.0.0-experimental-7c1344f-20241007

Compare Source

v0.0.0-experimental-78cc3df-20241003

Compare Source

v0.0.0-experimental-78c4cf3-20240926

Compare Source

v0.0.0-experimental-7670337-20240918

Compare Source

v0.0.0-experimental-75b9fd4-20240912

Compare Source

v0.0.0-experimental-72f06b2-20240822

Compare Source

v0.0.0-experimental-5c9a529-20240912

Compare Source

v0.0.0-experimental-5c9a529-20240911

Compare Source

v0.0.0-experimental-56229e1-20240813

Compare Source

v0.0.0-experimental-53bb89e-20240515

Compare Source

v0.0.0-experimental-51a85ea-20240601

Compare Source

v0.0.0-experimental-4c9207a-20241007

Compare Source

v0.0.0-experimental-47e15aa-20240725

Compare Source

v0.0.0-experimental-45f3dd4-20240923

Compare Source

v0.0.0-experimental-45ae4c3-20241011

Compare Source

francoismassart/eslint-plugin-tailwindcss (eslint-plugin-tailwindcss)

v3.17.5

Compare Source

unjs/jiti (jiti)

v2.3.3

Compare Source

compare changes

🩹 Fixes
  • eval: Return fallback value (#​326)
💅 Refactors
  • Remove some unused exports (#​327)
❤️ Contributors

v2.3.2

Compare Source

compare changes

🩹 Fixes
  • eval: Fallback in async mode (#​325)
🏡 Chore
❤️ Contributors

v2.3.1

Compare Source

compare changes

🩹 Fixes
  • Conditional access to mod.default (8c30a94)
🏡 Chore
❤️ Contributors

v2.3.0

Compare Source

compare changes

🚀 Enhancements
  • Support jiti.import(id, {default: true}) (#​323)
🩹 Fixes
  • interopDefault: Avoid in operator for primitive inputs (#​321)
💅 Refactors
  • interopDefault: Simplify logic for default export checks (#​322)
📖 Documentation
  • Fix format (#​320)
  • Update interopDefault description and reference (61891a0)
  • Add note about interop default (537fa39)
🏡 Chore
❤️ Contributors

v2.2.1

Compare Source

compare changes

🩹 Fixes
❤️ Contributors

v2.2.0

Compare Source

compare changes

🚀 Enhancements
  • Use smarter proxy for interopDefault (#​318)
💅 Refactors
  • Inline interopDefault from mlly (8826047)
🤖 CI
❤️ Contributors

v2.1.2

Compare Source

compare changes

🌊 Types
  • Use local NodeModule type (718bea2)
❤️ Contributors

v2.1.1

Compare Source

compare changes

🩹 Fixes
  • types: Add standalone types for node require (#​316)
🏡 Chore
✅ Tests
  • Add dependency tests (1d86ca3)
  • Ignore deps for node native register (e7ffe04)
❤️ Contributors
lucide-ic

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 Oct 7, 2024

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

Name Status Preview Comments Updated (UTC)
lipi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 6:52pm

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d04bff2 to 130c33c Compare October 7, 2024 13:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 130c33c to 2f6cb23 Compare October 7, 2024 15:25
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 2f6cb23 to 4578fef Compare October 7, 2024 18:30
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4578fef to 7dfb528 Compare October 7, 2024 21:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7dfb528 to 255553a Compare October 8, 2024 01:30
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 255553a to baad789 Compare October 8, 2024 09:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from baad789 to eb02967 Compare October 8, 2024 12:34
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from eb02967 to 354382d Compare October 8, 2024 15:43
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 354382d to aed05ac Compare October 8, 2024 21:16
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from aed05ac to a688620 Compare October 9, 2024 00:04
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from a688620 to 4eb2552 Compare October 9, 2024 15:26
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4eb2552 to 59556f7 Compare October 9, 2024 18:27
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 59556f7 to 229c2f6 Compare October 9, 2024 21:23
@renovate renovate bot merged commit 8d6dd16 into master Oct 14, 2024
4 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch October 14, 2024 22:51
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