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

build(deps): update deps #840

Merged
merged 1 commit into from
Dec 1, 2024
Merged

build(deps): update deps #840

merged 1 commit into from
Dec 1, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@aws-sdk/client-s3 (source) ^3.693.0 -> ^3.701.0 age adoption passing confidence
@fastify/static ^8.0.2 -> ^8.0.3 age adoption passing confidence
@fastify/swagger ^9.3.0 -> ^9.4.0 age adoption passing confidence
@sinclair/typebox ~0.34.3 -> ~0.34.9 age adoption passing confidence
altair-static ^8.0.3 -> ^8.0.4 age adoption passing confidence
drizzle-orm (source) ^0.36.3 -> ^0.36.4 age adoption passing confidence
got ^14.4.4 -> ^14.4.5 age adoption passing confidence
yaml (source) ^2.6.0 -> ^2.6.1 age adoption passing confidence

Release Notes

aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)

v3.701.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.700.0

Compare Source

Features
  • client-s3: Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications. (453f462)

v3.699.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.698.0

Compare Source

Features
  • client-s3: Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API. (d5b27f3)

v3.697.0

Compare Source

Bug Fixes
  • middleware-flexible-checksums: use input from args and not middleware config (#​6677) (199aad0)

v3.696.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

fastify/fastify-static (@​fastify/static)

v8.0.3

Compare Source

What's Changed
New Contributors

Full Changelog: fastify/fastify-static@v8.0.2...v8.0.3

fastify/fastify-swagger (@​fastify/swagger)

v9.4.0

Compare Source

What's Changed

Full Changelog: fastify/fastify-swagger@v9.3.0...v9.4.0

sinclairzx81/typebox (@​sinclair/typebox)

v0.34.9

Compare Source

v0.34.8

Compare Source

altair-graphql/altair (altair-static)

v8.0.4

Compare Source

What's Changed

Full Changelog: altair-graphql/altair@v8.0.3...v8.0.4

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

v0.36.4

Compare Source

New Package: drizzle-seed

[!NOTE]
drizzle-seed can only be used with drizzle-orm@0.36.4 or higher. Versions lower than this may work at runtime but could have type issues and identity column issues, as this patch was introduced in drizzle-orm@0.36.4

Full Reference

The full API reference and package overview can be found in our official documentation

Basic Usage

In this example we will create 10 users with random names and ids

import { pgTable, integer, text } from "drizzle-orm/pg-core";
import { drizzle } from "drizzle-orm/node-postgres";
import { seed } from "drizzle-seed";

const users = pgTable("users", {
  id: integer().primaryKey(),
  name: text().notNull(),
});

async function main() {
  const db = drizzle(process.env.DATABASE_URL!);
  await seed(db, { users });
}

main();

Options

count

By default, the seed function will create 10 entities.
However, if you need more for your tests, you can specify this in the seed options object

await seed(db, schema, { count: 1000 });

seed

If you need a seed to generate a different set of values for all subsequent runs, you can define a different number
in the seed option. Any new number will generate a unique set of values

await seed(db, schema, { seed: 12345 });

The full API reference and package overview can be found in our official documentation

Features

Added OVERRIDING SYSTEM VALUE api to db.insert()

If you want to force you own values for GENERATED ALWAYS AS IDENTITY columns, you can use OVERRIDING SYSTEM VALUE

As PostgreSQL docs mentions

In an INSERT command, if ALWAYS is selected, a user-specified value is only accepted if the INSERT statement specifies OVERRIDING SYSTEM VALUE. If BY DEFAULT is selected, then the user-specified value takes precedence

await db.insert(identityColumnsTable).overridingSystemValue().values([
  { alwaysAsIdentity: 2 },
]);

Added .$withAuth() API for Neon HTTP driver

Using this API, Drizzle will send you an auth token to authorize your query. It can be used with any query available in Drizzle by simply adding .$withAuth() before it. This token will be used for a specific query

Examples

const token = 'HdncFj1Nm'

await db.$withAuth(token).select().from(usersTable);
await db.$withAuth(token).update(usersTable).set({ name: 'CHANGED' }).where(eq(usersTable.name, 'TARGET'))

Bug Fixes

sindresorhus/got (got)

v14.4.5

Compare Source


Configuration

📅 Schedule: Branch creation - "on the 1st day of the month" in timezone Asia/Shanghai, 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 added the dependencies Pull requests that update a dependency file label Nov 30, 2024
@trim21 trim21 merged commit 6a9c48c into master Dec 1, 2024
4 checks passed
@trim21 trim21 deleted the renovate/deps branch December 1, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant