-
-
Notifications
You must be signed in to change notification settings - Fork 830
Use lua scripts for get tag and onMutate #4399
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
Open
CahidArda
wants to merge
46
commits into
drizzle-team:cache
Choose a base branch
from
CahidArda:cache-lua
base: cache
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
…sed (drizzle-team#4237) * Updates for @neondatabase/[email protected] compatibility * Clearer comments * Linting
…ests Optimize tests
* Various fixes, features bundled for v0.41.0 * Fixed broken test case * D1 Buffer mapping fix, tests fix * Disabled type parsers for `neon-http` driver
* drizzle-kit and push to d1-http failed There are two reasons: - d1-http don't support transactions with db.run("begin/commit/rollback") - introspections run against some CF-D1 internal tables and fails later. that could mitigated with a right tablesFilter: ['!_cf_KV']. There was a incomplete mitigation in place which now includes _cf_KV tables. * chore: there are more _cf_ prefixed tables * fix: Add escaping to sqlite pull queries * should we pass-with-no-tests ?? * D P R I N T * Add ci vitest config * Bump kit, added release notes --------- Co-authored-by: Roman <[email protected]> Co-authored-by: AndriiSherman <[email protected]>
…4314) * Export (almost) everything from validator packages * Support infinitely recursive types in JSON columns * Fix import * Format * Init drizzle-arktype * Finish drizzle-arktype * Sync fixes from other branch * Update READMEs * Update README * Type optimizations and better debugging for tests * Add CI/CD updates for arktype package * Bump arktype * bump to 0.1.2 * Update turbo config * Bump all validator packages versions --------- Co-authored-by: Andrii Sherman <[email protected]> Co-authored-by: David Blass <[email protected]>
* fix: incorrect types for inArray (drizzle-team#1774) Co-authored-by: Andrii Sherman <[email protected]> * Pass row type parameter to @planetscale/database's execute (drizzle-team#1852) * Update session.ts No need to cast, you can just pass a type parameter * Update package.json --------- Co-authored-by: AndriiSherman <[email protected]> * Don't enforce type restrictions on mysqlEnum and pgEnum to be non-empty arrays (drizzle-team#2429) * Removed type restriction on non-empty arrays for mysqEnum * Removed type restriction on non-empty arrays for pgEnum * check values argument is not an empty array for pgEnum * fix: typings * Add type tests --------- Co-authored-by: AndriiSherman <[email protected]> * Export mapColumnToSchema function (drizzle-team#2495) Co-authored-by: Andrii Sherman <[email protected]> * [Pg-kit] Fix malformed array literal error on indexes (drizzle-team#2884) * Fix malformed array literal error on indexes The main issue is the expression text to array conversion happening in the edited line. Commas in an expression become delimiters and split the expression up prematurely. Some special characters like double quotes can cause the malformed array literal errors. The postgres function pg_get_indexdef does what the snippet above is trying to do, but safely. * Add index introspect test * Update pg.test.ts Remove .only in basic index test --------- Co-authored-by: Andrii Sherman <[email protected]> * add infer enum type (drizzle-team#2552) * Update how enums work in pg and mysql * Remove duplicated exports, add related test (drizzle-team#4413) * Remove duplicated exports, add related test Fixes drizzle-team#4079 * Fix test * chore: updating esbuild version in drizzle-kit (drizzle-team#4046) * chore: updating esbuild version in drizzle-kit * Fix build errors --------- Co-authored-by: AndriiSherman <[email protected]> * Drizzle-kit: fix recreate enums + altering data type to enums, from enums in pg (drizzle-team#4330) Co-authored-by: AndriiSherman <[email protected]> * Skip test and try latest gel * Add release notes --------- Co-authored-by: James <[email protected]> Co-authored-by: Ayrton <[email protected]> Co-authored-by: April Mintac Pineda <[email protected]> Co-authored-by: Matthew Ary <[email protected]> Co-authored-by: Kratious <[email protected]> Co-authored-by: Toti Muñoz <[email protected]> Co-authored-by: Dan Kochetov <[email protected]> Co-authored-by: Paul Marsicovetere <[email protected]> Co-authored-by: Aleksandr Sherman <[email protected]>
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.
Using lua scripts for geting cache value by tag and onMutate methods.
HEXPIRE commands are added but they are commented out. Internal config is compatible with SET, not HEXPIRE. Options if HEXPIRE should be like: