Skip to content

Releases: get-convex/convex-backend

Precompiled 2024-07-08-a9edd82

08 Jul 00:51
Compare
Choose a tag to compare
Update Rust crate slab to 0.4.9 (#27480)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [slab](https://togithub.com/tokio-rs/slab) | workspace.dependencies | patch | `0.4.8` -> `0.4.9` |

---

### Configuration

📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **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 this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/get-convex/convex).

GitOrigin-RevId: 459d1cb41bee7528751b6d632e568c6d0bd19877

Precompiled 2024-07-05-a9edd82

05 Jul 00:50
Compare
Choose a tag to compare
Update Rust crate slab to 0.4.9 (#27480)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [slab](https://togithub.com/tokio-rs/slab) | workspace.dependencies | patch | `0.4.8` -> `0.4.9` |

---

### Configuration

📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **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 this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/get-convex/convex).

GitOrigin-RevId: 459d1cb41bee7528751b6d632e568c6d0bd19877

Precompiled 2024-07-04-9226c22

04 Jul 00:50
Compare
Choose a tag to compare
route to the most specific http endpoint (#27567)

the httpRouter currently has somewhat odd behavior, because we allow paths to overlap but only if you define them in a certain order.

new behavior: http route paths can always overlap, unless they are exactly the same. when picking one to execute, we choose an exact path if one matches, and otherwise we pick the longest prefix path that matches.

added test cases, and also ran similar tests manually

GitOrigin-RevId: 372c4bdaf384e91dfa8d4c6cf77e6d75ec1708e2

Precompiled 2024-07-03-7011546

03 Jul 00:54
Compare
Choose a tag to compare
file storage refactor

GitOrigin-RevId: 1e654aaf7ca1ea7297c37cdcea193f6aae850f1f

Precompiled 2024-07-02-c3266c8

02 Jul 00:50
Compare
Choose a tag to compare
update COMPONENTS_ENABLED gating (#27529)

update components code to go through the same path regardless of whether components are enabled.

if there are is no document for root component metadata, and we're querying the root component or its definition, return the default data (ComponentType::App or an empty ComponentDefinitionMetadata). this allows us to start using components in prod without worrying about data getting out of sync. we don't need to backfill anything to get started with components.

note if there is no component metadata, you can't call function in child components, but i think that's expected.

this change is tested pretty well by existing tests, since i'm opening up the components codepaths to always run, instead of hiding them behind an env variable

GitOrigin-RevId: 0ceaf2a57ab6df701f25764cdcd4c3e1edf299b3

Precompiled 2024-07-01-7d52d79

01 Jul 00:51
Compare
Choose a tag to compare
Upgrade async_zip (#27417)

The new interface is rather nice - as it uses the type system
to alternate between zipfile and zipreader.

GitOrigin-RevId: 38158a31fc97b5e6ce21a5a8bca6b8a7a182cdc1

Precompiled 2024-06-28-91981ab

28 Jun 00:50
Compare
Choose a tag to compare
Update

GitOrigin-RevId: 79c94dba3604cc915e83c8dee23f365dd748a2f1

Precompiled 2024-06-27-6feeaf2

27 Jun 00:50
Compare
Choose a tag to compare
Run model tests and proptests at lower concurrency in CI (#27364)

This seems to offer a modest speedup, between 20-40s depending on the machine type.
The model tests hammer local postgres too quickly and use up all available disk I/O, and proptests peg the CPU. By limiting the number that can be running from each group, we are able to make forward progress a bit faster.

GitOrigin-RevId: d6c7608166427780b3dfe7ef6194adf283a324de

Precompiled 2024-06-26-19018a9

26 Jun 00:50
Compare
Choose a tag to compare
Use TextFlusher2 in tests (#27337)

This PR converts tests to use `TextFlusher2` instead of `TextFlusher`, which enables us to remove the single-segment build path.

GitOrigin-RevId: be6a9788d62a3f289affa904bed5c3c1d1fcb8e2

Precompiled 2024-06-25-ce3450f

25 Jun 00:50
Compare
Choose a tag to compare
Merge deletes correctly for text indexes (#27302)

This PR fixes a bug where we were not updating the deleted terms metadata when reprocessing deletes that happened in a race with a compaction. I added a `merge_deletes` method to the search index trait and had to thread through repeatable persistence to look up previous revisions for text search. It's a shame that we have to re-walk the document log and previous revisions in this race, but it also seems complicated to store the deletes and try to remap them to the right segments because we don't know how many compactions occur while we're writing the new segment to disk.

GitOrigin-RevId: e7df528990f8d36bd25b0be11a6b841e192e55ce