This version makes Protobuf Editions available to users of this package, without needing to use a special opt-in that is documented as test-only. It contains one backwards-incompatible change, only for users that used that Editions opt-in: it has been removed since the functionality is now generally available.
What's Changed
Bugfixes
Correctly handle groups in the TextName method of field descriptors created by the compiler in #297
Fix bug in extension declarations: presence of a declaration implies the range is verified in #303
Fix a typo in code that adapts/re-parses features to match a descriptor; addresses a bug in protoutil.ResolveCustomFeature in #305
Add more thorough checks for when to adapt a value when resolving custom feature; addresses a deficiency in protoutil.ResolveCustomFeature in #306
Correctly handle maps in the Kind method of field descriptors created by the compiler, in files that define a file-wide default of delimited encoding for messages in #312
Enhancements
Add google/protobuf/cpp_features.proto, google/protobuf/java_features.proto, and google/protobuf/go_features.proto to the set of files provided by protocomile.WithStandardImports in #295
Add some final checks to mirror logic of protoc v27.0: files cannot use custom features defined in the same file, enforce "feature support" options, which define the editions in which a feature and/or feature value can be used in #301 and #309
Enable support for Protobuf Editions. To start, this only supports edition 2023. Added in #301
This contains a backwards-incompatible change: the editionstesting.AllowEditions() function (which was documented as temporary when introduced in v0.10.0) has been removed.
Add wellknownimports package, for providing actual source code for the standard imports (wellknownimports.WithStandardImports is an alternative to protocompile.WithStandardImports) in #310
Other changes
Update linker tests to use protodesc to create descriptors from compilation results, to verify compilation results can be correctly processed by protobuf-go runtime in #302
Add another (missing) test case for extension declarations in #304
Updates google.golang.org/protobuf from 1.34.1 to 1.34.2-0.20240529085009-ca837e5c658b
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 6 updates:
0.13.0
0.14.0
0.12.15
0.12.16
1.8.1
1.10.2
0.23.0
0.24.0
0.17.0
0.18.0
1.34.1
1.34.2-0.20240529085009-ca837e5c658b
Updates
github.com/bufbuild/protocompile
from 0.13.0 to 0.14.0Release notes
Sourced from github.com/bufbuild/protocompile's releases.
Commits
604d705
Map fields and message values in map entries cannot be group-encoded (#312)16a0337
Add wellknownimports package, for providing actual source code for the standa...4190af1
Add final checks that were added to protoc between v27.0-rc3 and final v27.0 ...85801e4
Add more thorough checks for when to adapt a value when resolving custom feat...752249d
Fix a typo in code that adapts/re-parses features to match a descriptor (#305)2179754
Add another test case for extension declarations (#304)54ef548
Last change for Editions: enforce feature lifetimes, and make it available to...6e58a0c
Bump golang.org/x/tools from 0.20.0 to 0.21.0 in /internal/tools (#299)52103cb
Bump github.com/bufbuild/buf from 1.30.1 to 1.31.0 in /internal/tools (#296)324bc5a
Fix bug in extension declarations: presence of a declaration implies the rang...Updates
github.com/itchyny/gojq
from 0.12.15 to 0.12.16Release notes
Sourced from github.com/itchyny/gojq's releases.
Changelog
Sourced from github.com/itchyny/gojq's changelog.
Commits
0607aa5
bump up version to 0.12.160709341
update CHANGELOG.md for v0.12.161324e6e
update dependencies01355e9
improve parser to allow binary operators as object valuesa41a5f8
fix debug/1 function to be available only when debug/0 is definedf694c1b
fix a benchmark test BenchmarkCompilef2559f6
remove private compare function0cd3a66
improve compiler to abort with error if query is missing422cc9d
refactor stringify function declarations of query1130c4e
refactor program body, rename rules, remove empty actions in parserUpdates
github.com/k1LoW/donegroup
from 1.8.1 to 1.10.2Release notes
Sourced from github.com/k1LoW/donegroup's releases.
Changelog
Sourced from github.com/k1LoW/donegroup's changelog.
Commits
21f315c
Merge pull request #53 from k1LoW/tagpr-from-v1.10.1ee0f857
[tagpr] update CHANGELOG.mdff9cfce
[tagpr] prepare for the next releasee7e00b6
Use sync/atomic1499301
Merge branch 'main' of ssh://github.com/k1LoW/donegroupf0a9a0b
Merge pull request #52 from k1LoW/func32ae167
Fix race condition in donegroup_test.go18ae0a3
Merge branch 'main' of ssh://github.com/k1LoW/donegroupa23767f
Add test66a30f6
Use context.AfterFunc instead of go func()Updates
golang.org/x/crypto
from 0.23.0 to 0.24.0Commits
332fd65
go.mod: update golang.org/x dependencies0b431c7
x509roots/fallback: update bundle349231f
ssh: implement CryptoPublicKey on sk keys44c9b0f
ssh: allow server auth callbacks to send additional banners67b1361
sha3: reenable s390x assembly477a5b4
sha3: make APIs usable with zero allocations59b5a86
sha3: disable s390x assembly10f366e
sha3: simplify XOR functionsUpdates
golang.org/x/mod
from 0.17.0 to 0.18.0Commits
c0bdc7b
modfile: add API for godebug lines6686f41
module: add COM0 and LPT0 to badWindowsNamesUpdates
google.golang.org/protobuf
from 1.34.1 to 1.34.2-0.20240529085009-ca837e5c658bDependabot 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