Skip to content

Update Rust crate utoipa to v5#5893

Closed
hash-worker[bot] wants to merge 1 commit intomainfrom
deps/rs/major-utoipa-monorepo
Closed

Update Rust crate utoipa to v5#5893
hash-worker[bot] wants to merge 1 commit intomainfrom
deps/rs/major-utoipa-monorepo

Conversation

@hash-worker
Copy link
Copy Markdown
Contributor

@hash-worker hash-worker bot commented Dec 13, 2024

This PR contains the following updates:

Package Type Update Change
utoipa workspace.dependencies major =4.2.3 -> =5.2.0

Release Notes

juhaku/utoipa (utoipa)

v5.2.0

Compare Source

What's New 💎 🆕 🎉

Full change log

v5.1.3

Compare Source

What's New 💎 🆕 🎉

Full change log

v5.1.2

Compare Source

What's New 💎 🆕 🎉

Full change log

v5.1.1

Compare Source

What's New 💎 🆕 🎉

Full change log

v5.1.0

Compare Source

What's New 💎 🆕 🎉

Full change log

v5.0.0

Compare Source

What's New 💎 🆕 🎉

Thank you all for the contributions and patience for now is the time for another major release of utoipa. Make it a bit more utopic than before. 🚀 This release brings about a bunch of perks which definitely are found to be useful by many. These are full generics support, automatic schema collection, support for rust type aliases, axum bindings, nesting support and OpenAPI 3.1 only.

The changes in this release are in full correlation with changes introduce to https://github.com/juhaku/utoipa/releases/tag/utoipa-gen-5.0.0.

Those looking to migrate here is the Migration Guide.

Full change log

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

@hash-worker hash-worker bot enabled auto-merge December 13, 2024 03:25
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Dec 13, 2024
@hash-worker hash-worker bot requested a review from a team December 13, 2024 03:47
@github-actions
Copy link
Copy Markdown
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$15.6 \mathrm{ms} \pm 181 \mathrm{μs}\left({\color{lightgreen}-34.456 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.6 \mathrm{ms} \pm 190 \mathrm{μs}\left({\color{lightgreen}-5.757 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.6 \mathrm{ms} \pm 189 \mathrm{μs}\left({\color{gray}1.57 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$15.7 \mathrm{ms} \pm 152 \mathrm{μs}\left({\color{lightgreen}-6.820 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$16.9 \mathrm{ms} \pm 232 \mathrm{μs}\left({\color{gray}3.36 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.5 \mathrm{ms} \pm 161 \mathrm{μs}\left({\color{gray}0.905 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.5 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{lightgreen}-5.945 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$17.5 \mathrm{ms} \pm 211 \mathrm{μs}\left({\color{lightgreen}-26.752 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.8 \mathrm{ms} \pm 230 \mathrm{μs}\left({\color{lightgreen}-30.420 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$65.1 \mathrm{ms} \pm 162 \mathrm{μs}\left({\color{gray}-3.449 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.6 \mathrm{ms} \pm 172 \mathrm{μs}\left({\color{lightgreen}-5.269 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$55.9 \mathrm{ms} \pm 254 \mathrm{μs}\left({\color{gray}-3.904 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$42.6 \mathrm{ms} \pm 172 \mathrm{μs}\left({\color{gray}-4.251 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$47.5 \mathrm{ms} \pm 270 \mathrm{μs}\left({\color{lightgreen}-5.394 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$52.2 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}-4.763 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$106 \mathrm{ms} \pm 322 \mathrm{μs}\left({\color{gray}-4.017 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$41.9 \mathrm{ms} \pm 231 \mathrm{μs}\left({\color{gray}-4.969 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$98.1 \mathrm{ms} \pm 428 \mathrm{μs}\left({\color{gray}-3.559 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$81.9 \mathrm{ms} \pm 422 \mathrm{μs}\left({\color{gray}-2.687 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$89.7 \mathrm{ms} \pm 339 \mathrm{μs}\left({\color{gray}-3.763 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$94.0 \mathrm{ms} \pm 322 \mathrm{μs}\left({\color{gray}-4.158 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$1.39 \mathrm{ms} \pm 6.86 \mathrm{μs}\left({\color{gray}-0.177 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$273 \mathrm{ms} \pm 1.49 \mathrm{ms}\left({\color{lightgreen}-95.012 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$26.7 \mathrm{ms} \pm 141 \mathrm{μs}\left({\color{gray}1.60 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.5 \mathrm{ms} \pm 94.0 \mathrm{μs}\left({\color{gray}1.77 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$57.5 \mathrm{ms} \pm 265 \mathrm{μs}\left({\color{gray}2.21 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$181 \mathrm{ms} \pm 795 \mathrm{μs}\left({\color{gray}3.21 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.92 \mathrm{ms} \pm 6.99 \mathrm{μs}\left({\color{gray}1.38 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.11 \mathrm{ms} \pm 8.36 \mathrm{μs}\left({\color{gray}4.60 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.92 \mathrm{ms} \pm 5.46 \mathrm{μs}\left({\color{gray}0.447 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.81 \mathrm{ms} \pm 11.1 \mathrm{μs}\left({\color{gray}-1.718 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.20 \mathrm{ms} \pm 100 \mathrm{μs}\left({\color{lightgreen}-32.175 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$4.06 \mathrm{ms} \pm 18.6 \mathrm{μs}\left({\color{lightgreen}-19.418 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.97 \mathrm{ms} \pm 9.87 \mathrm{μs}\left({\color{gray}1.99 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.93 \mathrm{ms} \pm 6.87 \mathrm{μs}\left({\color{gray}0.802 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.17 \mathrm{ms} \pm 9.61 \mathrm{μs}\left({\color{gray}2.53 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.34 \mathrm{ms} \pm 16.8 \mathrm{μs}\left({\color{red}6.12 \mathrm{\%}}\right) $$ Flame Graph

@vilkinsons
Copy link
Copy Markdown
Member

I didn't open this. @TimDiekmann Do we even want this given our plans around utoipa?

@TimDiekmann
Copy link
Copy Markdown
Member

I might look into this if I got bored over my holidays, but given that we're going to HaRPC in the foreseeable future it's not worth spending time on it. The new features of utoipa are neat and it's noticeable that utopia got a lot easier to use and has more idiomatic interfaces. However, the biggest issue currently for our codegen is the OpenAPI generator in TS which has really a quite limited feature set of OpenAPI (not supporting allOf is hard to work around) so we won't get much from this update.

auto-merge was automatically disabled December 13, 2024 10:27

Pull request was closed

@TimDiekmann TimDiekmann deleted the deps/rs/major-utoipa-monorepo branch December 13, 2024 10:27
@hash-worker
Copy link
Copy Markdown
Contributor Author

hash-worker bot commented Dec 13, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Mar 24, 2026 1:03am
hashdotdesign Ready Ready Preview, Comment Mar 24, 2026 1:03am
hashdotdesign-tokens Ready Ready Preview, Comment Mar 24, 2026 1:03am
petrinaut Ready Ready Preview Mar 24, 2026 1:03am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/deps Relates to third-party dependencies (area)

Development

Successfully merging this pull request may close these issues.

3 participants