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 non-major dependencies #330

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cloudflare/workers-types 4.20241022.0 -> 4.20250224.0 age adoption passing confidence
@leeoniya/ufuzzy 1.0.14 -> 1.0.18 age adoption passing confidence
@types/node (source) 22.8.7 -> 22.13.5 age adoption passing confidence
better-sqlite3 11.5.0 -> 11.8.1 age adoption passing confidence
discord-api-types (source) 0.37.103 -> 0.37.119 age adoption passing confidence
discord-interactions 4.1.0 -> 4.1.1 age adoption passing confidence
dotenv 16.4.5 -> 16.4.7 age adoption passing confidence
drizzle-kit (source) 0.27.1 -> 0.30.4 age adoption passing confidence
drizzle-orm (source) 0.36.0 -> 0.39.3 age adoption passing confidence
hono (source) 4.6.8 -> 4.7.2 age adoption passing confidence
miniflare (source) 3.20241022.0 -> 3.20250214.0 age adoption passing confidence
nanoid 5.0.9 -> 5.1.2 age adoption passing confidence
p-queue 8.0.1 -> 8.1.0 age adoption passing confidence
pnpm (source) 10.0.0 -> 10.5.0 age adoption passing confidence
prettier (source) 3.3.3 -> 3.5.2 age adoption passing confidence
rambda 9.3.0 -> 9.4.2 age adoption passing confidence
tsup (source) 8.3.5 -> 8.3.6 age adoption passing confidence
typescript (source) 5.6.3 -> 5.7.3 age adoption passing confidence
wrangler (source) 3.84.1 -> 3.109.3 age adoption passing confidence

Release Notes

cloudflare/workerd (@​cloudflare/workers-types)

v4.20250224.0

Compare Source

v4.20250214.0

Compare Source

v4.20250204.0

Compare Source

v4.20250129.0

Compare Source

v4.20250124.3

Compare Source

v4.20250121.0

Compare Source

v4.20250109.0

Compare Source

v4.20241230.0

Compare Source

v4.20241224.0

Compare Source

v4.20241218.0

Compare Source

v4.20241216.0

Compare Source

v4.20241214.0

Compare Source

v4.20241205.0

Compare Source

v4.20241202.0

Compare Source

v4.20241127.0

Compare Source

v4.20241112.0

Compare Source

v4.20241106.0

Compare Source

leeoniya/uFuzzy (@​leeoniya/ufuzzy)

v1.0.18

Compare Source

v1.0.17

Compare Source

fixes default export

v1.0.16

Compare Source

v1.0.15

Compare Source

BUSTED RELEASE, DOES NOT WORK, DO NOT USE

WiseLibs/better-sqlite3 (better-sqlite3)

v11.8.1

Compare Source

What's Changed
New Contributors

Full Changelog: WiseLibs/better-sqlite3@v11.8.0...v11.8.1

v11.8.0

Compare Source

What's Changed

Full Changelog: WiseLibs/better-sqlite3@v11.7.2...v11.8.0

v11.7.2

Compare Source

What's Changed

Full Changelog: WiseLibs/better-sqlite3@v11.7.1...v11.7.2

v11.7.0

Compare Source

What's Changed

Full Changelog: WiseLibs/better-sqlite3@v11.6.0...v11.7.0

v11.6.0

Compare Source

What's Changed
New Contributors

Full Changelog: WiseLibs/better-sqlite3@v11.5.0...v11.6.0

discordjs/discord-api-types (discord-api-types)

v0.37.119

Compare Source

Bug Fixes
  • route escaping round three (d5cdb37)

v0.37.118

Compare Source

Features

v0.37.117

Compare Source

v0.37.116

Compare Source

Features

v0.37.115

Compare Source

v0.37.114

Compare Source

Bug Fixes

v0.37.113

Compare Source

Bug Fixes
  • skip encoded url parts from re-encoding (fc4e7be)
Features

v0.37.112

Compare Source

Features

v0.37.111

Compare Source

v0.37.110

Compare Source

Features

v0.37.109

Compare Source

Features

v0.37.108

Compare Source

Features

v0.37.107

Compare Source

Bug Fixes
  • security: escape path parameters (1ba3472)

v0.37.106

Compare Source

v0.37.105

Compare Source

Features

v0.37.104

Compare Source

Bug Fixes
discord/discord-interactions-js (discord-interactions)

v4.1.1: - Fix some types

Compare Source

Small bug-fix release that fixes the types for ActionRow's components and also adds the various XSelect components to MessageComponents

motdotla/dotenv (dotenv)

v16.4.7

Compare Source

Changed
  • Ignore .tap folder when publishing. (oops, sorry about that everyone. - @​motdotla) #​848

v16.4.6

Compare Source

Changed
  • Clean up stale dev dependencies #​847
  • Various README updates clarifying usage and alternative solutions using dotenvx
drizzle-team/drizzle-orm (drizzle-kit)

v0.30.4

Compare Source

  • Fix bug that generates incorrect syntax when introspect in mysql
  • Fix a bug that caused incorrect syntax output when introspect in unsigned columns

v0.30.3

Compare Source

SingleStore push and generate improvements

As SingleStore did not support certain DDL statements before this release, you might encounter an error indicating that some schema changes cannot be applied due to a database issue. Starting from this version, drizzle-kit will detect such cases and initiate table recreation with data transfer between the tables

Bug fixes

v0.30.2

Compare Source

v0.30.1

Compare Source

New Features

drizzle-kit export

To make drizzle-kit integration with other migration tools, like Atlas much easier, we've prepared a new command called export. It will translate your drizzle schema in SQL representation(DDL) statements and outputs to the console

// schema.ts
import { pgTable, serial, text } from 'drizzle-orm/pg-core'

export const users = pgTable('users', {
	id: serial('id').primaryKey(),
	email: text('email').notNull(),
	name: text('name')
});

Running

npx drizzle-kit export

will output this string to console

CREATE TABLE "users" (
        "id" serial PRIMARY KEY NOT NULL,
        "email" text NOT NULL,
        "name" text
);

By default, the only option for now is --sql, so the output format will be SQL DDL statements. In the future, we will support additional output formats to accommodate more migration tools

npx drizzle-kit export --sql

v0.30.0

Compare Source

Starting from this update, the PostgreSQL dialect will align with the behavior of all other dialects. It will no longer include IF NOT EXISTS, $DO, or similar statements, which could cause incorrect DDL statements to not fail when an object already exists in the database and should actually fail.

This change marks our first step toward several major upgrades we are preparing:

  • An updated and improved migration workflow featuring commutative migrations, a revised folder structure, and enhanced collaboration capabilities for migrations.
  • Better support for Xata migrations.
  • Compatibility with CockroachDB (achieving full compatibility will only require removing serial fields from the migration folder).

v0.29.1

Compare Source

  • Fix SingleStore generate migrations command

v0.29.0

Compare Source

New Dialects

🎉 SingleStore dialect is now available in Drizzle

Thanks to the SingleStore team for creating a PR with all the necessary changes to support the MySQL-compatible part of SingleStore. You can already start using it with Drizzle. The SingleStore team will also help us iterate through updates and make more SingleStore-specific features available in Drizzle

import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';

export default defineConfig({
  dialect: 'singlestore',
  out: './drizzle',
  schema: './src/db/schema.ts',
  dbCredentials: {
    url: process.env.DATABASE_URL!,
  },
});

You can check out our Getting started guides to try SingleStore!

New Drivers

🎉 SQLite Durable Objects driver is now available in Drizzle

You can now query SQLite Durable Objects in Drizzle!

For the full example, please check our Get Started Section

import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
  out: './drizzle',
  schema: './src/db/schema.ts',
  dialect: 'sqlite',
  driver: 'durable-sqlite',
});

v0.28.1

Compare Source

Bug fixes

v0.28.0

Compare Source

Improvements

Bug Fixes

v0.27.2

Compare Source

honojs/hono (hono)

v4.7.2

Compare Source

What's Changed

Full Changelog: honojs/hono@v4.7.1...v4.7.2

v4.7.1

Compare Source

What's Changed
New Contributors

Full Changelog: honojs/hono@v4.7.0...v4.7.1

v4.7.0

Compare Source

Release Notes

Hono v4.7.0 is now available!

This release introduces one helper and two middleware.

  • Proxy Helper
  • Language Middleware
  • JWK Auth Middleware

Plus, Standard Schema Validator has been born.

Let's look at each of these.

Proxy Helper

We sometimes use the Hono application as a reverse proxy. In that case, it accesses the backend using fetch. However, it sends an unintended headers.

app.all('/proxy/:path', (c) => {
  // Send unintended header values to the origin server
  return fetch(`http://${originServer}/${c.req.param('path')}`)
})

For example, fetch may send Accept-Encoding, causing the origin server to return a compressed response. Some runtimes automatically decode it, leading to a Content-Length mismatch and potential client-side errors.

Also, you should probably remove some of the headers sent from the origin server, such as Transfer-Encoding.

Proxy Helper will send requests to the origin and handle responses properly. The above headers problem is solved simply by writing as follows.

import { Hono } from 'hono'
import { proxy } from 'hono/proxy'

app.get('/proxy/:path', (c) => {
  return proxy(`http://${originServer}/${c.req.param('path')}`)
})

You can also use it in more complex ways.

app.get('/proxy/:path', async (c) => {
  const res = await proxy(
    `http://${originServer}/${c.req.param('path')}`,
    {
      headers: {
        ...c.req.header(),
        'X-Forwarded-For': '127.0.0.1',
        'X-Forwarded-Host': c.req.header('host'),
        Authorization: undefined,
      },
    }
  )
  res.headers.delete('Set-Cookie')
  return res
})

Thanks @​usualoma!

Language Middleware

Language Middleware provides 18n functions to Hono applications. By using the languageDetector function, you can get the language that your application should support.

import { Hono } from 'hono'
import { languageDetector } from 'hono/language'

const app = new Hono()

app.use(
  languageDetector({
    supportedLanguages: ['en', 'ar', 'ja'], // Must include fallback
    fallbackLanguage: 'en', // Required
  })
)

app.get('/', (c) => {
  const lang = c.get('language')
  return c.text(`Hello! Your language is ${lang}`)
})

You can get the target language in various ways, not just by using Accept-Language.

  • Query parameters
  • Cookies
  • Accept-Language header
  • URL path

Thanks @​lord007tn!

JWK Auth Middleware

Finally, middleware that supports JWK (JSON Web Key) has landed. Using JWK Auth Middleware, you can authenticate by verifying JWK tokens. It can access keys fetched from the specified URL.

import { Hono } from 'hono'
import { jwk } from 'hono/jwk'

app.use(
  '/auth/*',
  jwk({
    jwks_uri: `https://${backendServer}/.well-known/jwks.json`,
  })
)

app.get('/auth/page', (c) => {
  return c.text('You are authorized')
})

Thanks @​Beyondo!

Standard Schema Validator

Standard Schema provides a common interface for TypeScript validator libraries. Standard Schema Validator is a validator that uses it. This means that Standard Schema Validator can handle several validators, such as Zod, Valibot, and ArkType, with the same interface.

The code below really works!

import { Hono } from 'hono'
import { sValidator } from '@​hono/standard-validator'
import { type } from 'arktype'
import * as v from 'valibot'
import { z } from 'zod'

const aSchema = type({
  agent: 'string',
})

const vSchema = v.object({
  slag: v.string(),
})

const zSchema = z.object({
  name: z.string(),
})

const app = new Hono()

app.get(
  '/:slag',
  sValidator('header', aSchema),
  sValidator('param', vSchema),
  sValidator('query', zSchema),
  (c) => {
    const headerValue = c.req.valid('header')
    const paramValue = c.req.valid('param')
    const queryValue = c.req.valid('query')
    return c.json({ headerValue, paramValue, queryValue })
  }
)

const res = await app.request('/foo?name=foo', {
  headers: {
    agent: 'foo',
  },
})

console.log(await res.json())

Thanks @​muningis!

New features
All changes

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (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.

@renovate renovate bot enabled auto-merge (squash) November 11, 2024 01:28
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 11 times, most recently from f054556 to 6c5dddc Compare November 18, 2024 03:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 17 times, most recently from 3ebee2e to 2e517cf Compare November 26, 2024 13:54
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from 2208abb to 495b1ab Compare February 11, 2025 00:54
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 12 times, most recently from 215df83 to a16b8e2 Compare February 17, 2025 02:35
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 70c9b6d to 16deba5 Compare February 24, 2025 23:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 16deba5 to b11eb6f Compare February 25, 2025 12:56
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.

0 participants