Skip to content

Releases: get-convex/convex-backend

Precompiled 2025-04-07-a63a91a

07 Apr 00:51
Compare
Choose a tag to compare
Pre-release
Add UsageEvent::InsightReadLimit (#36166)

GitOrigin-RevId: e8298af1611c880497659c2dc534532246b9d089

Precompiled 2025-04-04-30e5673

04 Apr 18:29
Compare
Choose a tag to compare
Fix a couple anonymous dev related bugs (#36207)

* My port picking logic was slightly wrong -- if I told it to pick ports starting at 1234, it would actually start at 1235.
* The logic for parsing query params for the self hosted dashboard wasn't getting hit when serving the static export. I moved this into an effect in the render path instead.

GitOrigin-RevId: 1528728dd2f9aee4920866af5272f1f183cc0a55

Precompiled 2025-04-04-30a933a

04 Apr 00:50
Compare
Choose a tag to compare
Pre-release
Implement OpenID Connect custom claims using AdditionalClaims (#36167)

GitOrigin-RevId: 2ae1db008c82cc96c99959252b68c086cb08c222

Precompiled 2025-04-03-363000b

03 Apr 00:50
Compare
Choose a tag to compare
Pre-release
Update Rust crate derive_more to v2 (#36071)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [derive_more](https://redirect.github.com/JelteF/derive_more) | workspace.dependencies | major | `0.99` -> `2.0` |

---

### Release Notes

<details>
<summary>JelteF/derive_more (derive_more)</summary>

### [`v2.0.1`](https://redirect.github.com/JelteF/derive_more/blob/HEAD/CHANGELOG.md#201---2025-02-03)

[Compare Source](https://redirect.github.com/JelteF/derive_more/compare/v2.0.0...v2.0.1)

##### Added

-   Add crate metadata for the Rust Playground. This makes sure that the Rust
    Playground will have all `derive_more` features available once
    [`selectors`](https://docs.rs/selectors/latest/selectors) crate updates its
    `derive_more` version.
    ([#&#8203;445](https://redirect.github.com/JelteF/derive_more/pull/445))

### [`v2.0.0`](https://redirect.github.com/JelteF/derive_more/blob/HEAD/CHANGELOG.md#200---2025-02-03)

[Compare Source](https://redirect.github.com/JelteF/derive_more/compare/v1.0.0...v2.0.0)

##### Breaking changes

-   `use derive_more::SomeTrait` now imports macro only. Importing macro with
    its trait along is possible now via `use derive_more::with_trait::SomeTrait`.
    ([#&#8203;406](https://redirect.github.com/JelteF/derive_more/pull/406))
-   Top-level `#[display("...")]` attribute on an enum now has defaulting behavior
    instead of replacing when no wrapping is possible (no `_variant` placeholder).
    ([#&#8203;395](https://redirect.github.com/JelteF/derive_more/pull/395))

##### Fixed

-   Associated types of type parameters not being treated as generics in `Debug`
    and `Display` expansions.
    ([#&#8203;399](https://redirect.github.com/JelteF/derive_more/pull/399))
-   `unreachable_code` warnings on generated code when `!` (never type) is used.
    ([#&#8203;404](https://redirect.github.com/JelteF/derive_more/pull/404))
-   Ambiguous associated item error when deriving `TryFrom`, `TryInto` or `FromStr`
    with an associated item called `Error` or `Err` respectively.
    ([#&#8203;410](https://redirect.github.com/JelteF/derive_more/pull/410))
-   Top-level `#[display("...")]` attribute on an enum being incorrectly treated
    as transparent or wrapping.
    ([#&#8203;395](https://redirect.github.com/JelteF/derive_more/pull/395))
-   Omitted raw identifiers in `Debug` and `Display` expansions.
    ([#&#8203;431](https://redirect.github.com/JelteF/derive_more/pull/431))
-   Incorrect rendering of raw identifiers as field names in `Debug` expansions.
    ([#&#8203;431](https://redirect.github.com/JelteF/derive_more/pull/431))
-   Top-level `#[display("...")]` attribute on an enum not working transparently
    for directly specified fields.
    ([#&#8203;438](https://redirect.github.com/JelteF/derive_more/pull/438))
-   Incorrect dereferencing of unsized fields in `Debug` and `Display` expansions.
    ([#&#8203;440](https://redirect.github.com/JelteF/derive_more/pull/440))

### [`v1.0.0`](https://redirect.github.com/JelteF/derive_more/blob/HEAD/CHANGELOG.md#100---2024-08-07)

[Compare Source](https://redirect.github.com/JelteF/derive_more/compare/v0.99.19...v1.0.0)

More than 8 years after the first commit and almost 5 years after the 0.99.0
release, `derive_more` has finally reached its 1.0.0 release. This release
contains a lot of changes (including some breaking ones) to make it easier to
use the derives and make it possible to extend them without having to break
backwards compatibility again. There are five major changes that I would like
to call out, but there are many more changes that are documented below:

1.  There is a new `Debug` derive that can be used to easily customize `Debug`
    formatting.
2.  A greatly improved `Display` derive, which allows you to do anything that
    [`thiserror`](https://redirect.github.com/dtolnay/thiserror) provides, but it works
    for any type not just errors. And by combining the `Display` derive with the
    `Error` and `From` derives, there shouldn't really be any need to use
    `thiserror` anymore (if you are missing a feature/behaviour from `thiserror`
    please report an issue).
3.  Traits that can return errors now return a type that implements `Error`
    when an error occurs instead of a `&'static str`.
4.  When using `use derive_more::SomeTrait` the actual trait is also imported
    not just the derive macro. This is especially useful for `Error` and
    `Display`
5.  The docs are now rendered on docs.rs and are much better overall.

##### Breaking changes

-   The minimum supported Rust version (MSRV) is now Rust 1.75.
-   Add the `std` feature which should be disabled in `no_std` environments.
-   All Cargo features, except `std`, are now disabled by default. The `full`
    feature can be used to get the old behavior of supporting all possible
    derives.
-   The `TryFrom`, `Add`, `Sub`, `BitAnd`, `BitOr`, `BitXor`, `Not` and `Neg`
    derives now return a dedicated error type instead of a `&'static str` on
    error.
-   The `FromStr` derive now uses a dedicated `FromStrError` error type instead
    of generating unique one each time.
-   The `Display` derive (and other `fmt`-like ones) now uses
    `#[display("...", (<expr>),*)]` syntax instead of
    `#[display(fmt = "...", ("<expr>"),*)]`, and `#[display(bound(<bound>))]`
    instead of `#[display(bound = "<bound>")]`. So without the double quotes
    around the expressions and bounds.
-   The `Debug` and `Display` derives (and other `fmt`-like ones) now transparently
    delegate to the inner type when `#[display("...", (<expr>),*)]` attribute is
    trivially substitutable with a transparent call.
    ([#&#8203;322](https://redirect.github.com/JelteF/derive_more/pull/322))
-   The `DebugCustom` derive is renamed to just `Debug` (gated now under a separate
    `debug` feature), and its semantics were changed to be a superset of `std` variant
    of `Debug`.
-   The `From` derive doesn't derive `From<()>` for enum variants without any
    fields anymore. This feature was removed because it was considered useless in
    practice.
-   The `From` derive now uses `#[from(<types>)]` instead of `#[from(types(<types>))]`
    and ignores field type itself.
-   The `Into` derive now uses `#[into(<types>)]` instead of `#[into(types(<types>))]`
    and ignores field type itself.
-   The `Into` derive now generates separate impls for each field whenever the `#[into(...)]`
    attribute is applied to it. ([#&#8203;291](https://redirect.github.com/JelteF/derive_more/pull/291))
-   Importing a derive macro now also imports its corresponding trait.
-   The `Error` derive is updated with changes to the `error_generic_member_access`
    unstable feature for nightly users. ([#&#8203;200](https://redirect.github.com/JelteF/derive_more/pull/200),
    [#&#8203;294](https://redirect.github.com/JelteF/derive_more/pull/294))
-   The `as_mut` feature is removed, and the `AsMut` derive is now gated by the
    `as_ref` feature. ([#&#8203;295](https://redirect.github.com/JelteF/derive_more/pull/295))
-   A top level `#[display("...")]` attribute on an enum now requires the usage
    of `{_variant}` to include the variant instead of including it at `{}`. The
    reason is that `{}` now references the first argument to the format string,
    just like in all other format strings. ([#&#8203;377](https://redirect.github.com/JelteF/derive_more/pull/377))

##### Added

-   Add support captured identifiers in `Display` derives. So now you can use:
    `#[display(fmt = "Prefix: {field}")]` instead of needing to use
    `#[display(fmt = "Prefix: {}", field)]`
-   Add `FromStr` derive support for enums that contain variants without fields.
    If you pass the name of the variant to `from_str` it will create the matching
    variant.
-   Add `#[unwrap(owned, ref, ref_mut)]` attribute for the `Unwrap` derive.
    By using them, it is possible to derive implementations for the reference types as well.
    ([#&#8203;206](https://redirect.github.com/JelteF/derive_more/pull/206))
-   Add `TryUnwrap` derive similar to the `Unwrap` derive. This one returns a `Result` and does not panic.
    ([#&#8203;206](https://redirect.github.com/JelteF/derive_more/pull/206))
-   Add support for container format in `Debug` derive with the same syntax as `Display` derives.
    ([#&#8203;279](https://redirect.github.com/JelteF/derive_more/pull/279))
-   `derive_more::derive` module exporting only macros, without traits.
    ([#&#8203;290](https://redirect.github.com/JelteF/derive_more/pull/290))
-   Add support for specifying concrete types to `AsRef`/`AsMut` derives.
    ([#&#8203;298](https://redirect.github.com/JelteF/derive_more/pull/298))
-   Add `TryFrom` derive for enums to convert from their discriminant.
    ([#&#8203;300](https://redirect.github.com/JelteF/derive_more/pull/300))
-   `#[inline]` attributes to `IsVariant` and `Debug` implementations.
    ([#&#8203;334](https://redirect.github.com/JelteF/derive_more/pull/334)
-   Add `#[track_caller]` to `Add`, `Mul`, `AddAssign` and `MulAssign` derives
    ([#&#8203;378](https://redirect.github.com/JelteF/derive_more/pull/378)

##### Changed

-   The `Constructor` and `IsVariant` derives now generate `const fn` functions.
-   Static methods derived by `IsVariant` are now marked `#[must_use]`.
    ([#&#8203;350](https://redirect.github.com/JelteF/derive_more/pull/350))
-   The `Unwrap` and `IsVariant` derives now generate doc comments.
-   `#[automatically_derived]` is now emitted from all macro expansions. This
    should prevent code style linters from attempting to modify the generated
    code.
-   Upgrade to `syn` 2.0.
-   The `Error` derive now works in nightly `no_std` environments

##### Fixed

-   Use a deterministic `HashSet` in all derives, this is needed for rust analyzer
    to work correctly.
-   Use `Provider` API for backtraces in `Error` derive.
-   Fix `Error` derive not working with `const` generics.
-   Support trait objects for source in Error, e.g.
    `Box<dyn Error + Send + 'static>`
-   Fix bounds on derived `IntoIterator` impls for generic structs.
    ([#&#8203;284](https://redirect.github.com/JelteF/derive_more/pull/284))
-   Fix documentation of generated bounds in `Display` derive.
    ([#&#8203;297](https://redirect.github.com/JelteF/derive_more/pull/297))
-   Hygiene of macro expansions in presence of custom `core` crate.
    ([#&#8203;327](https://redirect.github.com/JelteF/derive_more/pull/327))
-   Fix documentation of generated methods in `IsVariant` derive.
-   Make `{field:p}` do the expected thing in format strings for `Display` and
    `Debug`. Also document weirdness around `Pointer` formatting when using
    expressions, due to field variables being references.
    ([#&#8203;381](https://redirect.github.com/JelteF/derive_more/pull/381))

### [`v0.99.19`](https://redirect.github.com/JelteF/derive_more/blob/HEAD/CHANGELOG.md#09919---2025-02-03)

[Compare Source](https://redirect.github.com/JelteF/derive_more/compare/v0.99.18...v0.99.19)

-   Add crate metadata for the Rust Playground.

### [`v0.99.18`](https://redirect.github.com/JelteF/derive_more/blob/HEAD/CHANGELOG.md#09918---2024-06-15)

[Compare Source](https://redirect.github.com/JelteF/derive_more/compare/v0.99.17...v0.99.18)

-   Upgrade to `syn` 2.0.
-   The minimum supported Rust version (MSRV) is now Rust 1.65.

</details>

---

### 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 [Renovate Bot](https://redirect.github.com/renovatebot/renovate).

GitOrigin-RevId: 00b6b96364202d0b70cda83eda3e589736a6ca9f

Precompiled 2025-04-02-3d235c3

02 Apr 22:02
Compare
Choose a tag to compare
Add a redirection for project usage (#36146)

Redirects `/t/{team}/{project}/usage` to `/t/{team}/settings/usage?projectSlug={project}`

GitOrigin-RevId: 87f5792670634deddee51e0a8f05f3e91965bf2f

Precompiled 2025-04-02-ee7d63e

02 Apr 00:51
Compare
Choose a tag to compare
Pre-release
Update dependency globals to ~15.15.0 (#36063)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [globals](https://redirect.github.com/sindresorhus/globals) | devDependencies | minor | [`~15.14.0` -> `~15.15.0`](https://renovatebot.com/diffs/npm/globals/15.14.0/15.15.0) |

---

### Release Notes

<details>
<summary>sindresorhus/globals (globals)</summary>

### [`v15.15.0`](https://redirect.github.com/sindresorhus/globals/releases/tag/v15.15.0)

[Compare Source](https://redirect.github.com/sindresorhus/globals/compare/v15.14.0...v15.15.0)

-   Regenerate vitest globals ([#&#8203;279](https://redirect.github.com/sindresorhus/globals/issues/279))  [`445df81`](https://redirect.github.com/sindresorhus/globals/commit/445df81)

***

</details>

---

### 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 [Renovate Bot](https://redirect.github.com/renovatebot/renovate).

GitOrigin-RevId: b91276ae985e99cb1318a70d5f05ddbc5b3bee13

Precompiled 2025-04-01-4bf77f2

01 Apr 00:51
Compare
Choose a tag to compare
Pre-release
Configure OAuth to allow any subdomain (#36022)

GitOrigin-RevId: 19c132d541fbcf039a4dbaadadd9bd2f8619555c

Precompiled 2025-04-01-32445f8

01 Apr 02:33
Compare
Choose a tag to compare
Pre-release
Log if a (non root) component calls getUserIdentity (#36030)

GitOrigin-RevId: 52c7eb4326b4e325a9fca3cb0ba008a10358babd

Precompiled 2025-03-31-011dbfc

31 Mar 00:51
Compare
Choose a tag to compare
Pre-release
Fix dashboard-credentials-request message (#35997)

GitOrigin-RevId: 30a0543273650ea75902b9a1c653377a95204b2e

Precompiled 2025-03-28-db57c17

28 Mar 00:51
Compare
Choose a tag to compare
Remove references to unused referral_verified field (#35946)

GitOrigin-RevId: dbca7e837c7bdac7ffc207e18ae355b637638461