andrewhickman / protox

A pure-rust protobuf compiler, designed for use with prost-build
Apache License 2.0
73 stars 6 forks source link

Update prost-reflect requirement from 0.10.1 to 0.11.0 #1

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on prost-reflect to permit the latest version.

Changelog

Sourced from prost-reflect's changelog.

[0.11.0] - 2023-03-27

Added

Changed

  • Duplicate files are now always ignored when adding to a DescriptorPool (previously, the code would skip files with identical contents, but now it skips any file with the same name).
  • prost-reflect-derive Update syn requirement from 1.0.84 to 2.0.3
  • prost-reflect-build Breaking Renamed Builder::file_descriptor_expr to Builder::descriptor_pool.
  • prost-reflect-build Breaking Removed the default behaviour of looking for the file descriptor under crate::DESCRIPTOR_POOL. One of descriptor_pool or file_descriptor_pool_bytes must be set explicitly.

[0.10.3] - 2023-03-20

Fixed

[0.10.2] - 2023-02-17

Changed

  • Updated the base64 dependency to version 0.21.0.
  • If the json_name property for a field is unset, it will now be populated with the camel-cased field name (#5).

[0.10.1] - 2023-01-07

Fixed

  • The path for repeated extension options now includes the array index (for consistency with the output of protoc).

[0.10.0] - 2023-01-04

Added

  • Added the path() method to all descriptor types, which returns a path that can be used to get source code info by comparing against Location::path.
  • Added the options() method to all descriptor types, which returns a message containing the options defined for the descriptor, including custom options.
  • The uninterpreted_options field of options is now used to populate options if it is present.
    • Note that if the text-format feature flag is not enabled, then options set through the aggregate_value field will be ignored.
  • Added several new validation checks when constructing a DescriptorPool instance.
  • Added new file(), line() and column() methods to get more context information about errors.
  • When the miette feature is enabled, DescriptorError now implements Diagnostic. When source code is provided through DescriptorError::with_source_code, and span information is provided in FileDescriptorProto::source_code_info, then the error will have labels annotating relevant portions of the source.

Changed

  • The minimum supported rust version is now 1.60.0.
  • Breaking: The FileDescriptor::dependencies now returns all imported files, instead of just those imported with import public. The new public_dependencies method preserves the old behaviour (#19).

... (truncated)

Commits
  • 38b8803 (cargo-release) prost-reflect-build version 0.11.0
  • bcbcb83 (cargo-release) prost-reflect version 0.11.0
  • 705bcd7 (cargo-release) prost-reflect-derive version 0.11.0
  • f81a6fe Update readme
  • 49befbc Fix global on rust 1.60.0
  • 129c7b8 Update prost-reflect-derive and prost-reflect-build to use global pool
  • ee4437c Add global file descriptor pool
  • 66f4afa Always ignore duplicate files
  • 529b2ba Update syn requirement from 1.0.84 to 2.0.3 (#31)
  • dfa69b2 (cargo-release) version 0.10.3
  • Additional commits viewable in compare view


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 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)