Update dependency drizzle-orm to v1.0.0-rc.4-5d5b77c#25
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
9afdc53 to
727a5ce
Compare
727a5ce to
48e9e5d
Compare
6011387 to
682cd42
Compare
3ffa3f9 to
cd32534
Compare
cd32534 to
7c56622
Compare
7c56622 to
655ebc3
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:
1.0.0-beta.12-a5629fb→1.0.0-rc.4-5d5b77c1.0.0-beta.15-859cf75→1.0.0-rc.4-5d5b77cRelease Notes
drizzle-team/drizzle-orm (drizzle-orm)
v1.0.0-rc.3Compare Source
v1.0.0-rc.3
Porting all the changes that were made in PostgreSQL to other dialects. This release is about MySQL:
mysqldialect (._query)lastInsertId,affectedRowsfrom dedicated response fieldsNext releases will include:
v1.0.0-rc.2Compare Source
Updates
codec: (config) => config?.withTimeZone ? 'timestamptz' : 'timestamp')geometry->geometry(point),geometry:tuple->geometry(point):tupleAWS Data Apicodecs, removed query typings, improved input param mappingtypingsfield from all builderscolumnargument toCastParam,CastArrayParamcodecsMigration updates in SQLite
drizzle-kit generatenow checks whether those branches can be merged safely before creating the next migration. This helps catch cases where two migrations were created from the same parent and then changed the same SQLite object in incompatible ways, for example two branches changing the same table, index, or view.--ignore-conflictsto skip the conflict check for that command.{ "prevIds": ["first-open-leaf-id", "second-open-leaf-id"] }DrizzleQueryErrorandTransactionRollbackErrorconstructors to properly set the error name for better instanceof checksv1.0.0-rc.1v1.0.0-rc.1
casingAPI(see below) and removes RQB v1._queryfor postgresJIT mappers
Drizzle ORM now has an opt-in API for JIT(just in time compilated) mappers which make most expensive part of the db request pipeline(row mapping) as fast as humanly possible.
We've reworked internals of Drizzle ORM with the new system of
codecs. Those are now in charge of normalising responses and requests for diffrent drivers across pg dialect. They helped us not only properly fix a set of data mapping issues but also massively improve performance by not doing unnecessary work.We've seen a 25%-30% reduction in latency, while +800rps(14500->15300) in our benchmarks
Give it a go and let us know if everything works just fine!
Effect v4
drizzle-orm@1.0.0-rc.1comes with native support for Effect v4 via:New Casing API
In
rc.1we've finally reworked our legacy casing API ofconst db = drizzle({..., casing: "camel" })which turned out to not be a proper solution, it required duplication in drizzle-orm instantiation and drizzle-kit config and introduced and set of endless bugs all around query builder chain. All of the above is now fixed with new API:New Netlify Database Driver
Installation:
Usage example:
Bug fixes and improvements:
postgres- resolves issues created by differences of data types returned by different drivers or different contexts of query (regular select, JSON object, postgres array). Currently only handles supported by drizzle constructors column types. (fixes #3018, #5090, #5287)postgresdb._query) frompostgresmakePgArray,parsePgArray) fromdrizzle-orm/pg-core/utils[/array]todrizzle-orm/pg-core/arraypostgressessions & prepared queriesneon-httpbyteadata corruptionbun-sql/postgrestimestamp timezone truncation,json[b]data double stringificationdbinstance totable\view\schemaviaimport { snakeCase, camelCase } from "drizzle-orm/dialect-core", fixed #5112 #5282 #4181 #4209effect-schema,effect-postgres(fixes #5414)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.