Repository navigation
[Release] Version packages - #461
Merged
Merged
Conversation
Member
Author
|
Merging because PR #459 checked auto release. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch was successfully deployed
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
kitcn@0.33.0
Minor Changes
#456
5b0bd5aThanks @MikeyZhang75! - ## Breaking changesorderByandmaxScanto preserve newest-first paging.Patches
hydrates.
select()filters containing more than 64 values.inlists combined with another condition, such asname: { contains: 'x' }.in,notIn,ne, and same-field equalityORfilters regardless of list length.maxScanfor wide filters whose requested order follows their indexed values; cross-value sorting, such asorderBy: { createdAt: 'desc' }, still requiresmaxScanpast 64 values.#449
b8df2daThanks @MikeyZhang75! - ## Breaking changesselect().flatMap(relation, { where })stage through an index that extends the relation's foreign key when the schema declares one. Children arrive in that index's order, so a lowered range field now orders them ahead of creation time, and outstanding page cursors for those queries do not carry over.Patches
select().union([{ where }])sourcewhereagainst the table's indexes instead of filtering every scanned row, so an objectwhereon an indexed field bounds the read. A source keeps its unanchored read when the lowered one could not supplyinterleaveBy, and awherenever displaces an index the source or the chain pinned with a range.predicate(...)whereruns over an unbounded pipeline read: a union source names its ownindexoption, and aflatMapstage names the relation index it needs.select()union source orflatMapstagewhereonce per read. A callbackwhereruns a single time instead of twice, and an objectwherecompiles once instead of once per row.Patch Changes
#455
a73de28Thanks @MikeyZhang75! - ## PatchesfindManylosing its read bound when alimitis combined within,ne,notInor a same-fieldORon a table that has RLS enabled, or alongside afilter Convex cannot evaluate such as
contains. Either one used to make thequery read every row it matched against, so
findMany({ where: { ownerId: { in: [a, b] } }, limit: 3 })read 500 documentson a 500-row table and 200 on a 200-row table. It now reads 6 at either size,
and the count no longer grows with the table.
limitis counted, so it bounds rows the caller can actuallysee: with 80 rows an RLS policy hides sitting in front of the matches,
limit: 3still returns three rows and reads 86 documents instead of 200.inlist of any length.Rows and their order are unchanged. A
wherethat filters through a relationkeeps its previous read cost, as does
ne,notInorisNotNullordered by afield no index can serve.
#450
781af65Thanks @MikeyZhang75! - ## PatchesaggregateIndexandrankIndextables: readeach row once unless a user
update.beforehook requires a fresh read.transient aggregate-index state instead of
Delete on non-existent doc.#451
80f7609Thanks @MikeyZhang75! - ## PatchesaggregateIndexbulk-write read costs by reusing bucket and memberreads within uninterrupted ORM statements. User hooks and policy callbacks
end reuse so nested mutation writes remain visible to later maintenance.
#454
f399843Thanks @MikeyZhang75! - ## Patcheswithin uninterrupted statements. A 40-row key migration writes two shared
buckets and two extrema entries, plus forty membership rows.
called by lifecycle hooks or RLS policies. Reads and callbacks flush pending
writes; callbacks suspend batching until they settle.
withoutTriggers()and an ORMrebuilt from a hook context to observe the same rows as
ctx.orm.@kitcn/resend@0.33.0
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.