prost-reflect-derive Added the file_descriptor_set_bytes attribute as an alternative to descriptor_pool, which automatically registers the file with the global pool.
prost-reflect-build Added Builder::file_descriptor_pool_bytes to set the file_descriptor_set_bytes derive attribute.
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-buildBreaking Renamed Builder::file_descriptor_expr to Builder::descriptor_pool.
prost-reflect-buildBreaking 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
Fixed type resolution for double fields. Thanks to [@jackkleeman] for #29
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.
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
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)
Updates the requirements on prost-reflect to permit the latest version.
Changelog
Sourced from prost-reflect's changelog.
... (truncated)
Commits
38b8803
(cargo-release) prost-reflect-build version 0.11.0bcbcb83
(cargo-release) prost-reflect version 0.11.0705bcd7
(cargo-release) prost-reflect-derive version 0.11.0f81a6fe
Update readme49befbc
Fix global on rust 1.60.0129c7b8
Update prost-reflect-derive and prost-reflect-build to use global poolee4437c
Add global file descriptor pool66f4afa
Always ignore duplicate files529b2ba
Update syn requirement from 1.0.84 to 2.0.3 (#31)dfa69b2
(cargo-release) version 0.10.3Dependabot 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)