dginev / CorTeX

A general purpose processing framework for corpora of scientific documents
https://corpora.mathweb.org/
MIT License
57 stars 6 forks source link

Bump rocket_codegen from 0.4.11 to 0.5.0 #270

Open dependabot[bot] opened 9 months ago

dependabot[bot] commented 9 months ago

Bumps rocket_codegen from 0.4.11 to 0.5.0.

Release notes

Sourced from rocket_codegen's releases.

Rocket v0.5.0

See the CHANGELOG, release news article, RWF2 announcement, migration guide, and FAQ for more information.

Rocket v0.5.0-rc.4

See the CHANGELOG, news article, migration guide, and FAQ for more information.

Rocket v0.5.0-rc.3

See the CHANGELOG, news article, migration guide, and FAQ for more information.

Rocket v0.5.0-rc.2

See the CHANGELOG, news article, migration guide, and FAQ for more information.

Rocket v0.5.0-rc.1

See the CHANGELOG and news article for more information.

Changelog

Sourced from rocket_codegen's changelog.

Version 0.5.0 (Nov 17, 2023)

Major Features and Improvements

This release introduces the following major features and improvements:

  • Support for [compilation on Rust's stable] release channel.
  • A rewritten, fully asynchronous core with support for [async/await].
  • WebSocket support via [rocket_ws].
  • [Feature-complete forms support] including multipart, collections, [ad-hoc validation], and context.
  • [Sentinels]: automatic verification of application state at start-up to prevent runtime errors.
  • [Graceful shutdown] with configurable signaling, grace periods, [notification], and [shutdown fairings].
  • An entirely new, flexible and robust [configuration system] based on [Figment].
  • Typed [asynchronous streams] and [Server-Sent Events] with generator syntax.
  • Asynchronous database pooling support via [rocket_db_pools].
  • Support for [mutual TLS] and client [Certificate]s.
  • Automatic support for HTTP/2 including h2 ALPN.
  • Graduation of json, msgpack, and uuid rocket_contrib [features into core].
  • An automatically enabled [Shield]: security and privacy headers for all responses.
  • Type-system enforced [incoming data limits] to mitigate memory-based DoS attacks.
  • Compile-time URI literals via a fully revamped [uri!] macro.
  • [Request connection upgrade APIs] with support for raw I/O with the client.
  • Full support for [UTF-8 characters] in routes and catchers.
  • Precise detection of missing managed state, databases, and templating with [sentinels].
  • Typed [build phases] with strict application-level guarantees.
  • [Ignorable segments]: wildcard route matching with no typing restrictions.
  • First-class [support for serde] for built-in guards and types.
  • New application launch attributes: #[launch] and #[rocket::main].
  • [Default catchers] via #[catch(default)], which handle any status code.
  • [Catcher scoping] to narrow the scope of a catcher to a URI prefix.
  • Built-in libraries and support for [asynchronous testing].
  • A [TempFile] data and form guard for automatic uploading to a temporary file.
  • A [Capped<T>] data and form guard which enables detecting truncation due to data limits.
  • Support for dynamic and static prefixing and suffixing of route URIs in [uri!].
  • Support for custom config profiles and [automatic typed config extraction].
  • Rewritten, zero-copy, RFC compliant URI parsers with support for URI-[Reference]s.
  • Multi-segment parameters (<param..>) which match zero segments.
  • A [local_cache!] macro for request-local storage of non-uniquely typed values.
  • A [CookieJar] without "one-at-a-time" limitations.
  • [Singleton fairings] with replacement and guaranteed uniqueness.
  • [Data limit declaration in SI units]: "2 MiB", 2.mebibytes().
  • Optimistic responding even when data is left unread or limits are exceeded.
  • Fully decoded borrowed strings as dynamic parameters, form and data guards.
  • Borrowed byte slices as data and form guards.
  • Fail-fast behavior for [misconfigured secrets], file serving paths.
  • Support for generics and custom generic bounds in

... (truncated)

Commits
  • c20efb9 New version: 0.5.0.
  • 64cf1ee Polish news for v0.5. Add RWF2 announcement.
  • ba9f776 Update FAQ for 0.5.0.
  • 38ae8d6 Update version numbers for 0.5.0.
  • 3c45718 Initial news article for v0.5 release.
  • daa4e34 Add WebSocket section to upgrading guide.
  • f6916e6 Add 0.5.0 CHANGELOG entry.
  • c06a51b Fix typos.
  • a6a1a9e Fix broken site links.
  • 3ee6e5c New version: 0.5.0-rc.4.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)