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

fix(deps): update minor and patch upgrades #54

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@pothos/plugin-relay (source) 4.2.1 -> 4.3.0 age adoption passing confidence
@sveltejs/adapter-node (source) 5.2.6 -> 5.2.7 age adoption passing confidence
@sveltejs/kit (source) 2.7.0 -> 2.7.1 age adoption passing confidence
@types/node (source) 20.16.11 -> 20.16.12 age adoption passing confidence
drizzle-orm (source) ^0.34.0 -> ^0.35.0 age adoption passing confidence
drizzle-orm (source) ^0.31.1 || ^0.32.0 || ^0.33.0 || ^0.34.0 -> ^0.31.1 || ^0.32.0 || ^0.33.0 || ^0.34.0 || ^0.35.0 age adoption passing confidence
file-type 19.5.0 -> 19.6.0 age adoption passing confidence
lucide-react (source) ^0.452.0 -> ^0.453.0 age adoption passing confidence
lucide-svelte (source) ^0.452.0 -> ^0.453.0 age adoption passing confidence
lucide-vue-next (source) ^0.452.0 -> ^0.453.0 age adoption passing confidence
nx (source) 20.0.0 -> 20.0.1 age adoption passing confidence
pnpm (source) 9.12.1 -> 9.12.2 age adoption passing confidence
sass 1.79.5 -> 1.80.1 age adoption passing confidence
tslib (source) 2.7.0 -> 2.8.0 age adoption passing confidence
typescript-eslint (source) 8.8.1 -> 8.9.0 age adoption passing confidence
vite (source) 5.4.8 -> 5.4.9 age adoption passing confidence

Release Notes

hayes/pothos (@​pothos/plugin-relay)

v4.3.0

Compare Source

Minor Changes
  • 6a80a7c: Add builder.nodeRef method
sveltejs/kit (@​sveltejs/adapter-node)

v5.2.7

Compare Source

Patch Changes
sveltejs/kit (@​sveltejs/kit)

v2.7.1

Compare Source

Patch Changes
  • chore: upgrade to sirv 3.0 (#​12796)

  • fix: warn when form action responses are lost because SSR is off (#​12063)

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

v0.35.1

Compare Source

  • Updated internal versions for the drizzle-kit and drizzle-orm packages. Changes were introduced in the last minor release, and you are required to upgrade both packages to ensure they work as expected

v0.35.0

Compare Source

Important change after 0.34.0 release

Updated the init Drizzle database API

The API from version 0.34.0 turned out to be unusable and needs to be changed. You can read more about our decisions in this discussion

If you still want to use the new API introduced in 0.34.0, which can create driver clients for you under the hood, you can now do so

import { drizzle } from "drizzle-orm/node-postgres";

const db = drizzle(process.env.DATABASE_URL);
// or
const db = drizzle({
  connection: process.env.DATABASE_URL
});
const db = drizzle({
  connection: {
    user: "...",
    password: "...",
    host: "...",
    port: 4321,
    db: "...",
  },
});

// if you need to pass logger or schema
const db = drizzle({
  connection: process.env.DATABASE_URL,
  logger: true,
  schema: schema,
});

in order to not introduce breaking change - we will still leave support for deprecated API until V1 release.
It will degrade autocomplete performance in connection params due to DatabaseDriver | ConnectionParams types collision,
but that's a decent compromise against breaking changes

import { drizzle } from "drizzle-orm/node-postgres";
import { Pool } from "pg";

const client = new Pool({ connectionString: process.env.DATABASE_URL });
const db = drizzle(client); // deprecated but available

// new version
const db = drizzle({
  client: client,
});

New Features

New .orderBy() and .limit() functions in update and delete statements SQLite and MySQL

You now have more options for the update and delete query builders in MySQL and SQLite

Example

await db.update(usersTable).set({ verified: true }).limit(2).orderBy(asc(usersTable.name));

await db.delete(usersTable).where(eq(usersTable.verified, false)).limit(1).orderBy(asc(usersTable.name));

New drizzle.mock() function

There were cases where you didn't need to provide a driver to the Drizzle object, and this served as a workaround

const db = drizzle({} as any)

Now you can do this using a mock function

const db = drizzle.mock()

There is no valid production use case for this, but we used it in situations where we needed to check types, etc., without making actual database calls or dealing with driver creation. If anyone was using it, please switch to using mocks now

Internal updates

  • Upgraded TS in codebase to the version 5.6.3

Bug fixes

sindresorhus/file-type (file-type)

v19.6.0

Compare Source

lucide-icons/lucide (lucide-react)

v0.453.0: New icons 0.453.0

Compare Source

New icons 🎨

nrwl/nx (nx)

v20.0.1

Compare Source

20.0.1 (2024-10-15)
🩹 Fixes
  • angular: ensure provideStore is provided before storeDevTools #​28107 (#​28428, #​28107)
  • angular: add missing package version bump for zone.js (#​28430)
  • core: support NX_NO_CLOUD (#​28366)
  • core: add busy handler for sqlite (#​28390)
  • core: handle neverConnectToCloud property (#​28452)
  • core: add migration to set useLegacyCache by default (#​28454)
  • js: improve @​nx/js/typescript plugin and typescript-sync generator performance (#​28379)
  • linter: scope js and ts shared configs to js and ts files (#​28381)
  • module-federation: ensure mf-manifest supported and tspaths are added with snake_case (#​28244)
  • module-federation: remote names should follow JS variable naming schema (#​28401)
  • react: depends on migration should ignore configs that point to @​nx/react #​28377 (#​28382, #​28377)
  • rspack: log compilation errors #​28179 (#​28429, #​28179)
  • rspack: do not select char from string when mapping remotes (#​28441)
❤️ Thank You
pnpm/pnpm (pnpm)

v9.12.2

Compare Source

sass/dart-sass (sass)

v1.80.1

Compare Source

  • Fix a bug where repeated deprecation warnings were not automatically limited.

v1.80.0

Compare Source

  • @import is now officially deprecated, as are global built-in functions that
    are available within built-in modules. See the Sass blog post for more
    details on the deprecation process.
Embedded Host
  • Fix an error that would sometimes occur when deprecation warnings were
    emitted when using a custom importer with the legacy API.

v1.79.6

Compare Source

  • Fix a bug where Sass would add an extra */ after loud comments with
    whitespace after an explicit */ in the indented syntax.

  • Potentially breaking bug fix: Adding text after an explicit */ in the
    indented syntax is now an error, rather than silently generating invalid CSS.

Embedded Host
  • Properly export the SassBoolean type.
Microsoft/tslib (tslib)

v2.8.0

Compare Source

What's Changed

Full Changelog: microsoft/tslib@v2.7.0...v2.8.0

typescript-eslint/typescript-eslint (typescript-eslint)

v8.9.0

Compare Source

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

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

vitejs/vite (vite)

v5.4.9

Compare Source

Please refer to CHANGELOG.md for details.


Configuration

📅 Schedule: Branch creation - "before 5am on the first day of the week" (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.

@renovate renovate bot force-pushed the renovate/minor-and-patch-upgrades branch from 6e21211 to 2e8b95b Compare October 17, 2024 15:25
@Lichthagel Lichthagel merged commit bfc6736 into main Oct 17, 2024
1 check passed
@Lichthagel Lichthagel deleted the renovate/minor-and-patch-upgrades branch October 17, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant