chore(deps): update all non-major dependencies #39
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:
^1.2.9
->^1.2.10
^2.2.264
->^2.2.266
^22.8.1
->^22.8.6
^11.1.0
->^11.2.0
^0.26.2
->^0.27.0
^0.35.3
->^0.36.0
^5.0.7
->^5.0.8
^6.9.15
->^6.9.16
^0.5.0
->^0.5.1
9.12.2
->9.12.3
^1.4.1
->^1.4.3
^2.1.8
->^2.1.10
Release Notes
iconify/icon-sets (@iconify/json)
v2.2.266
Compare Source
v2.2.265
Compare Source
vueuse/vueuse (@vueuse/core)
v11.2.0
Compare Source
🚀 Features
🐞 Bug Fixes
canUndo
andcanRedo
typing to be computed ref - by @roydukkey and Anthony Fu in https://github.com/vueuse/vueuse/issues/4261 (b46d2)View changes on GitHub
drizzle-team/drizzle-orm (drizzle-kit)
v0.27.0
Compare 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
Neon
andSupabase
.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
Neon
orSupabase
, 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.roles
indrizzle.config.ts
. For a complete reference, refer to the thedrizzle.config.ts
documentation.By default,
drizzle-kit
does 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
admin
role and want to exclude it from the list of manageable rolesYou have an
admin
role and want to include it in the list of manageable rolesIf you are using
Neon
and want to exclude Neon-defined roles, you can use the provider optionIf you are using
Supabase
and 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_invoker
in 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
/neon
import with thecrudPolicy
function that includes predefined functions and Neon's default roles.Here's an example of how to use the
crudPolicy
function:This policy is equivalent to:
Neon
exposes predefinedauthenticated
andanaonymous
roles and related functions. If you are usingNeon
for 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
Neon
predefined roles and functions like this:Using with Supabase
We also have a
/supabase
import 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
Supabase
simpler.For example, you can use the
Supabase
predefined roles like this:The
/supabase
import also includes predefined tables and functions that you can use in your applicationThis allows you to use it in your code, and Drizzle Kit will treat them as existing databases,
using them only as information to connect to other entities
Let's check an example of adding a policy to a table that exists in
Supabase
Bug fixes
ai/nanoid (nanoid)
v5.0.8
Compare Source
customAlphabet
size (by @kirillgroshkov).nodemailer/nodemailer (nodemailer)
v6.9.16
Compare Source
Bug Fixes
atinux/nuxt-auth-utils (nuxt-auth-utils)
v0.5.1
Compare Source
compare changes
🩹 Fixes
useWebAuthn
composable registration & fixallowCredentials
/excludeCredentials
option (#266)🏡 Chore
❤️ Contributors
pnpm/pnpm (pnpm)
v9.12.3
Compare Source
Patch Changes
node_modules
, when typing "n" in the prompt that asks whether to removenode_modules
before installation #8655.manage-package-manager-versions=true
is set and the.tools
directory is corrupt.crypto.hash
, when available, for improved performance #8629.package.json
at the root of the workspace #8667.manage-package-manager-versions
is set totrue
, errors spawning a self-managed version ofpnpm
will now be shown (instead of being silent).vuejs/vitepress (vitepress)
v1.4.3
Compare Source
Performance Improvements
v1.4.2
Compare Source
Bug Fixes
VPLink
,VPSocialLink
andVPSocialLinks
exports (#4284) (fcae4d5)siteTitle
(#4308) (bd690d6)vuejs/language-tools (vue-tsc)
v2.1.10
Compare Source
Features
const props =
withprops
completion (#4942) - Thanks to @KazariEX!Bug Fixes
as
assertion ofuseCssModule
into correct location (#4952) - Thanks to @KazariEX!Refactors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Hywax Assistant.