fix(deps): update all non-major dependencies#10
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
be0fb65 to
5b94780
Compare
5b94780 to
410768d
Compare
59d18d1 to
c9a6954
Compare
6409fd0 to
28ffcb4
Compare
6fabeca to
e58c10c
Compare
df59de4 to
6b36430
Compare
34bdea1 to
e241612
Compare
5a770b6 to
2a4be06
Compare
439e1ec to
9813391
Compare
fc9dfbb to
d5e1b2a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.3.12→^0.8.1^1.5.24→^1.15.33^20.12.13→^20.19.39^8.11.6→^8.20.0^16.4.5→^16.6.1^0.22.7→^0.31.1020→20.20.020-dev→20.20.0-dev^6.16.2→^6.17.3^8.11.5→^8.20.0^9.1.0→^9.14.0^11.1.0→^11.3.0^6.0.1→^6.1.3Release Notes
swc-project/swc (@swc/core)
v1.15.33Compare Source
Bug Fixes
(ci) Update rand lockfile entries (#11827) (7988966)
(es/minifier) Fold unary bool nullish coalescing (#11826) (e39ae3d)
(es/minifier) Preserve for-init sequence order (#11837) (16a56d0)
(es/parser) Parse empty Flow exact object type (#11836) (3d18a26)
Features
v1.15.32Compare Source
Bug Fixes
(es/flow) Fix Flow type-only modules in script transforms (#11817) (be38316)
(es/flow) Avoid restoring module context when flow syntax is enabled (#11819) (3ed7243)
(es/minifier) Preserve frozen spread registry keys (#11825) (347181c)
(es/parser) Align Flow generic arrow JSX disambiguation (#11821) (28a7fad)
Features
jsc.preserveSymlinkstoswc::Options(#11813) (fe38342)v1.15.30Compare Source
Bug Fixes
(deploy) Fix musl binding test workflow (#11804) (c30a522)
(deploy) Build package ts before Linux GNU binding tests (#11806) (a3d3ef3)
(es/jsx) Preserve quoted JSX attribute newlines (#11796) (9fe56c8)
(es/minifier) Support full ES version parsing in minify (#11800) (af1f08f)
(es/module) Add opt-in symlink-preserving resolver (#11801) (6028240)
(es/parser) Allow return type annotation on Flow constructors (#11790) (d66b29c)
(es/parser) Support Flow anonymous keyof indexers (#11792) (452c4e5)
(es/parser) Add Flow strip RN and RNW regression corpus (#11799) (23a9109)
Documentation
Features
v1.15.26Compare Source
v1.15.24Compare Source
v1.15.21Compare Source
v1.15.18Compare Source
v1.15.17Compare Source
v1.15.13Compare Source
v1.15.11Compare Source
v1.15.10Compare Source
v1.15.8Compare Source
v1.15.7Compare Source
v1.15.6Compare Source
v1.15.5Compare Source
v1.15.4Compare Source
v1.15.3Compare Source
v1.15.2Compare Source
v1.15.1Compare Source
v1.15.0Compare Source
v1.14.0Compare Source
v1.13.21Compare Source
v1.13.20Compare Source
v1.13.19Compare Source
v1.13.5Compare Source
v1.13.4Compare Source
v1.13.3Compare Source
v1.13.2Compare Source
v1.13.1Compare Source
v1.13.0Compare Source
v1.12.14Compare Source
v1.12.11Compare Source
v1.12.9Compare Source
v1.12.7Compare Source
v1.12.6Compare Source
v1.12.5Compare Source
v1.12.4Compare Source
v1.12.3Compare Source
v1.12.2Compare Source
v1.12.1Compare Source
v1.12.0Compare Source
v1.11.31Compare Source
v1.11.29Compare Source
v1.11.24Compare Source
v1.11.22Compare Source
v1.11.21Compare Source
v1.11.20Compare Source
v1.11.18Compare Source
v1.11.16Compare Source
v1.11.15Compare Source
v1.11.13Compare Source
v1.11.12Compare Source
v1.11.11Compare Source
v1.11.10Compare Source
v1.11.9Compare Source
v1.11.8Compare Source
v1.11.7Compare Source
v1.11.6Compare Source
v1.11.5Compare Source
v1.11.4Compare Source
v1.11.1Compare Source
v1.10.18Compare Source
v1.10.17Compare Source
v1.10.16Compare Source
v1.10.15Compare Source
v1.10.14Compare Source
v1.10.12Compare Source
v1.10.11Compare Source
v1.10.9Compare Source
v1.10.8Compare Source
v1.10.7Compare Source
v1.10.6Compare Source
v1.10.4Compare Source
v1.10.3Compare Source
v1.10.2Compare Source
v1.10.1Compare Source
v1.10.0Compare Source
v1.9.3Compare Source
v1.9.2Compare Source
v1.9.1Compare Source
v1.9.0Compare Source
v1.8.0Compare Source
v1.7.42Compare Source
v1.7.40Compare Source
v1.7.39Compare Source
v1.7.36Compare Source
v1.7.35Compare Source
v1.7.28Compare Source
v1.7.26Compare Source
v1.7.25Compare Source
v1.7.24Compare Source
v1.7.23Compare Source
v1.7.22Compare Source
v1.7.21Compare Source
v1.7.19Compare Source
v1.7.18Compare Source
v1.7.14Compare Source
v1.7.12Compare Source
v1.7.11Compare Source
v1.7.10Compare Source
v1.7.9Compare Source
v1.7.6Compare Source
v1.7.5Compare Source
v1.7.4Compare Source
v1.7.3Compare Source
v1.7.2Compare Source
v1.7.1Compare Source
v1.7.0Compare Source
v1.6.13Compare Source
v1.6.12Compare Source
v1.6.7Compare Source
v1.6.6Compare Source
motdotla/dotenv (dotenv)
v16.6.1Compare Source
Changed
quietto true – hiding the runtime log message (#874)config({ quiet: true })to suppress.require('dotenv').config()forrequire('@​dotenvx/dotenvx').config().v16.6.0Compare Source
Added
[dotenv@16.6.0] injecting env (1) from .env(#870){ quiet: true }to suppressv16.5.0Compare Source
Added
Changed
_logmethod. Use_debug#862v16.4.7Compare Source
Changed
.tapfolder when publishing. (oops, sorry about that everyone. - @motdotla) #848v16.4.6Compare Source
Changed
drizzle-team/drizzle-orm (drizzle-kit)
v0.31.10Compare Source
hanji@0.0.8- native bunstringWidth,stripANSIsupport, errors for non-TTY environmentsesbuild-registertotsxloader, it will now allow to usedrizzle-kitseamlessly with bothESMandCJSmodulesBunandDenolaunch support, which will not triggertsxloader and utilise nativebunanddenoimports capabilities and faster startup timesv0.31.9Compare Source
v0.31.8Compare Source
Bug fixes
algorythm=>algorithmtypo.v0.31.7: drizzle-kit@0.31.7Compare Source
Bug fixes
v0.31.6Compare Source
Bug fixes
v0.31.5Compare Source
v0.31.4Compare Source
halfvec,bitandsparsevectype generation bug in drizzle-kitv0.31.3Compare Source
databaseNameandpackageNameproperties for Studiov0.31.2Compare Source
Bug fixes
v0.31.1Compare Source
Fixed
drizzle-kit pullbugs when using Gel extensions.Because Gel extensions create schema names containing
::(for example,ext::auth), Drizzle previously handled these names incorrectly. Starting with this release, you can use Gel extensions without any problems. Here’s what you should do:drizzle.config.tsRun
drizzle-kit pullDone!
v0.31.0Compare Source
Features and improvements
Enum DDL improvements
For situations where you drop an
enumvalue or reorder values in anenum, there is no native way to do this in PostgreSQL. To handle these cases,drizzle-kitused to:However, there were a few scenarios that weren’t covered:
PostgreSQLwasn’t updating default expressions for columns when their data types changedTherefore, for cases where you either change a column’s data type from an
enumto some other type, drop anenumvalue, or reorderenumvalues, we now do the following:esbuildversion upgradeFor
drizzle-kitwe upgraded the version to latest (0.25.2), thanks @paulmarsicloudBug fixes
v0.30.6Compare Source
Bug fixes
v0.30.5Compare Source
New Features
Added
Geldialect support andgel-jsclient supportDrizzle is getting a new
Geldialect with its own types and Gel-specific logic. In this first iteration, almost all query-building features have been copied from thePostgreSQLdialect since Gel is fully PostgreSQL-compatible. The only change in this iteration is the data types. The Gel dialect has a different set of available data types, and all mappings for these types have been designed to avoid any extra conversions on Drizzle's side. This means you will insert and select exactly the same data as supported by the Gel protocol.Drizzle + Gel integration will work only through
drizzle-kit pull. Drizzle won't supportgenerate,migrate, orpushfeatures in this case. Instead, drizzle-kit is used solely to pull the Drizzle schema from the Gel database, which can then be used in yourdrizzle-ormqueries.The Gel + Drizzle workflow:
gelCLI to manage your schema.gelCLI to generate and apply migrations to the database.On the drizzle-kit side you can now use
dialect: "gel"For a complete Get Started tutorial you can use our new guides:
v0.30.4Compare Source
v0.30.3Compare Source
SingleStore
pushandgenerateimprovementsAs 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.2Compare Source
v0.30.1Compare Source
New Features
drizzle-kit exportTo 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 consoleRunning
npx drizzle-kit exportwill output this string to console
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 toolsnpx drizzle-kit export --sqlv0.30.0Compare 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:
v0.29.1Compare Source
v0.29.0Compare Source
New Dialects
🎉
SingleStoredialect is now available in DrizzleThanks 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
You can check out our Getting started guides to try SingleStore!
New Drivers
🎉
SQLite Durable Objectsdriver is now available in DrizzleYou can now query SQLite Durable Objects in Drizzle!
For the full example, please check our Get Started Section
v0.28.1Compare Source
Bug fixes
v0.28.0Compare Source
Improvements
Bug Fixes
v0.27.2Compare Source
drizzle-orm/supabasev0.27.1Compare Source
v0.27.0Compare Source
New Features
Row-Level Security (RLS)
With Drizzle, you can enable Row-Level Security (RLS) for any Postgres table, create policies with various options, and define and manage the roles those policies apply to.
Drizzle supports a raw representation of Postgres policies and roles that can be used in any way you want. This works with popular Postgres database providers such as
NeonandSupabase.In Drizzle, we have specific predefined RLS roles and functions for RLS with both database providers, but you can also define your own logic.
Enable RLS
If you just want to enable RLS on a table without adding policies, you can use
.enableRLS()As mentioned in the PostgreSQL documentation:
Roles
Currently, Drizzle supports defining roles with a few different options, as shown below. Support for more options will be added in a future release.
If a role already exists in your database, and you don’t want drizzle-kit to ‘see’ it or include it in migrations, you can mark the role as existing.
Policies
To fully leverage RLS, you can define policies within a Drizzle table.
Example of pgPolicy with all available properties
Link Policy to an existing table
There are situations where you need to link a policy to an existing table in your database.
The most common use case is with database providers like
NeonorSupabase, where you need to add a policyto their existing tables. In this case, you can use the
.link()APIMigrations
If you are using drizzle-kit to manage your schema and roles, there may be situations where you want to refer to roles that are not defined in your Drizzle schema. In such cases, you may want drizzle-kit to skip managing these roles without having to define each role in your drizzle schema and marking it with
.existing().In these cases, you can use
entities.rolesindrizzle.config.ts. For a complete reference, refer to the thedrizzle.config.tsdocumentation.By default,
drizzle-kitdoes not manage roles for you, so you will need to enable this feature indrizzle.config.ts.In case you need additional configuration options, let's take a look at a few more examples.
You have an
adminrole and want to exclude it from the list of manageable rolesYou have an
adminrole and want to include it in the list of manageable rolesIf you are using
Neonand want to exclude Neon-defined roles, you can use the provider optionIf you are using
Supabaseand want to exclude Supabase-defined roles, you can use the provider optionRLS on views
With Drizzle, you can also specify RLS policies on views. For this, you need to use
security_invokerin the view's WITH options. Here is a small example:Using with Neon
The Neon Team helped us implement their vision of a wrapper on top of our raw policies API. We defined a specific
/neonimport with thecrudPolicyfunction that includes predefined functions and Neon's default roles.Here's an example of how to use the
crudPolicyfunction:This policy is equivalent to:
Neonexposes predefinedauthenticatedandanaonymousroles and related functions. If you are usingNeonfor RLS, you can use these roles, which are marked as existing, and the related functions in your RLS queries.For example, you can use the
Neonpredefined roles and functions like this:Using with Supabase
We also have a
/supabaseimport with a set of predefined roles marked as existing, which you can use in your schema.This import will be extended in a future release with more functions and helpers to make using RLS and
Supabasesimpler.For example, you can use the
Supabasepredefined roles like this:The
/supabaseimport also includes predefined tables and functions that you can use in your application