Releases: apple/swift-protobuf
Releases · apple/swift-protobuf
1.32.0 Release
What's Changed
SemVer Minor
- Add basic RawSpan support for initializing and merging messages by @pawelmajcher in #1857
SemVer Patch
Other Changes
- Update the protoc release process. by @thomasvl in #1863
- Version bump for a release. by @thomasvl in #1865
New Contributors
- @pawelmajcher made their first contribution in #1857
Full Changelog: 1.31.2...1.32.0
protoc v32.1 artifactbundle
Protoc artifactbundle for version 32.1
1.31.2 Release
This release fixes an issue where using TextFormat or JSON on watchOS could have run into an internal assertion.
What's Changed
SemVer Patch
- Be explicit about the type and bound we're checking in
BytecodeReader.nextInt32
. by @allevato in #1859
Other Changes
- Include Swift 6.2 in the CI config. by @thomasvl in #1853
- Version bump to do a release. by @thomasvl in #1860
Full Changelog: 1.31.1...1.31.2
1.31.1 Release
1.31.0
What's Changed
SemVer Minor
- use
package
visibility for an internal helper. by @thomasvl in #1790 - Create a bytecode interpreter to compactly represent text/JSON name maps. by @allevato in #1789
- Mark the legacy _NameMap initializer as deprecated. by @thomasvl in #1816
- Validate Timestamp before generating JSON to match upstream. by @thomasvl in #1824
- Validate Duration before generating JSON to match upstream. by @thomasvl in #1823
- Support "edition2024". by @thomasvl in #1825
- Add
protoc
product by @FranzBusch in #1836 - Deprecate another helper. by @thomasvl in #1841
- Prepare for a 1.31.0 release and update docs by @FranzBusch in #1843
SemVer Patch
- As of Swift 5.9
Data
wasSendable
, so remove@unchecked
use. by @thomasvl in #1787 - Create fewer temporary
String
s when computing JSON names. by @allevato in #1807 - Prune
nameString
to reduce runtime size ofName
by @thomasvl in #1806 - Add automated protoc artifact bundle generation for releases by @FranzBusch in #1835
- Improve plugin error handling by @thomasvl in #1840
Other Changes
- Use 6.1.2 on CI by @thomasvl in #1783
- Now that 5.10 is the baseline, remove some old bits/refs. by @thomasvl in #1788
- Remove the 5.9 comments. by @thomasvl in #1786
- Move two of the tests off
@testable import
by @thomasvl in #1785 - Move SwiftProtobufTests to using
package
visibility. by @thomasvl in #1791 - Capture known failures. by @thomasvl in #1799
- One reference missed in the NameMap changes. by @thomasvl in #1802
- Update proto files from upstream. by @thomasvl in #1803
- Inline the bytecode string into the
_NameMap.init(bytecode:)
call. by @allevato in #1804 - Enable the blocking of legacy _NameMap support. by @thomasvl in #1805
- Use unchecked math operations. by @thomasvl in #1809
- Tweak Protos layout and update proto files by @thomasvl in #1810
- Remove the use of
lazy
,unverified_lazy
, andctype
in test files. by @thomasvl in #1811 - Remove one more place ctype was used that got missed by @thomasvl in #1812
- Put a proto package on the test file. by @thomasvl in #1813
- Support blocking deprecated apis from the runtime. by @thomasvl in #1814
- Fix copy/paste in comment that has the wrong thing. by @thomasvl in #1815
- Move the test helpers to
package
visibility. by @thomasvl in #1817 - Drop unneeded argument in build dataset. by @thomasvl in #1819
- Remove
import Swift
, doesn't seem to be needed. by @thomasvl in #1820 - Add expected failures for the new conformance test issues. by @thomasvl in #1822
- Update protos from upstream. by @thomasvl in #1826
- Per #1830, tweak the phrasing. by @thomasvl in #1831
- Bring over the last upstream proto file that was left off last time. by @thomasvl in #1832
- Create separate protoc releases by @FranzBusch in #1837
- Fix
make_latest
from Boolean to String by @FranzBusch in #1838 - Remove unneeded arguments by @thomasvl in #1842
Full Changelog: 1.30.0...1.31.0
protoc v31.1 artifactbundle
Protoc artifactbundle for version 31.1
1.30.0 Release
What's Changed
SemVer Minor
- Deprecate FieldDescriptor.isOptional. by @thomasvl in #1764
- Deprecate
FieldDescriptor
label
by @thomasvl in #1766 - Drop Swift 5.9 by @rnro in #1775
- Textformat reserved by @thomasvl in #1774
SemVer Patch
Other Changes
- Update the RELEASING docs to cover the current state of things. by @thomasvl in #1759
- Move off
label
and useisRepeated
/isRequired
. by @thomasvl in #1765 - Swift 6.1 on CI by @thomasvl in #1768
- Update protos from upstream and record new conformance failure by @thomasvl in #1772
- Some small cleanups. by @thomasvl in #1773
- Like the plugin, use
.rawValue
by @thomasvl in #1779 - Version bump to prep for a release by @thomasvl in #1781
New Contributors
Full Changelog: 1.29.0...1.30.0
1.29.0 Release
What's Changed
SemVer Minor
- Add conversions between
Swift.Duration
andGoogle_Protobuf_Duration
. by @allevato in #1745 - Add a initializer to
Google_Protobuf_Duration
with rounding control. by @thomasvl in #1747 - Add a initializer to
Google_Protobuf_Timestamp
with rounding control by @thomasvl in #1748
SemVer Patch
- Strip file-level comment changes during editions codegen tests by @mkruskal-google in #1734
- Swap
String(bytes:encoding:)!
forString(decoding:as:)
by @thomasvl in #1731 - During JSON parsing, validate
@type
to be minimally valid. by @thomasvl in #1742 - Build out the validation of
google.protobuf.Any
JSON support. by @thomasvl in #1744 - Update MessageSet Parsing by @thomasvl in #1754
- Support reading raw extension fields in a MessageSet. by @thomasvl in #1755
Other Changes
- Add a swift-format check to run on PRs. by @thomasvl in #1719
- Update protobuf build based on current cmake docs. by @thomasvl in #1732
- Move 6.0.x to 6.0.2. by @thomasvl in #1733
- Update CI to Swift 6.0.3 by @thomasvl in #1736
- Update release.yml by @FranzBusch in #1738
- Update protos from upstream by @thomasvl in #1739
- Use Swift 6 mode on the plugin examples to ensure generated code compiles in this mode by @thomasvl in #1740
- Document some new tests a failing. by @thomasvl in #1741
- Split the Package.swift files for CompileTests. by @thomasvl in #1743
- Add availability guards to
Duration
conversion tests. by @allevato in #1746 - Require Semantic Version labels on PR by @FranzBusch in #1749
- add visionos to podspec by @grachyov in #1752
- Cleaned up generated code for closed Enums by @nicked in #1751
- Update protos file, generated files, and record a new conformance test failure. by @thomasvl in #1753
- Version bump for a release by @thomasvl in #1757
New Contributors
Full Changelog: 1.28.2...1.29.0
1.28.2 Release
Despite the large diffs (caused by adopting swift-format), the actual changes are small:
- Change default of useAccessLevelOnImports to always be false by @gjcairo in #1711
- Silence a warning when using Xcode 16/Swift6 toolchain. by @thomasvl in #1717
What's Changed
- Make README clearer about
serializedBytes()
by @gjcairo in #1710 - Add CompileTests for InternalImportsByDefault by @gjcairo in #1709
- Change default of useAccessLevelOnImports to always be false by @gjcairo in #1711
- Set up for swift-format by @thomasvl in #1712
- Add a blame ignore for the formatting. by @thomasvl in #1713
- Update proto files from upstream by @thomasvl in #1714
- Silence a warning when using Xcode 16/Swift6 toolchain. by @thomasvl in #1717
- Add Swift 6 toolchains to CI. by @thomasvl in #1718
- Drop docc dep. by @thomasvl in #1720
- [docs] Fix typo for Xcode that is consistent with others at
PLUGIN.md
. by @lamtrinhdev in #1722 - Some swift-format lint fixes by @thomasvl in #1721
- Add two more formatting fixes to the blame ignore. by @thomasvl in #1723
- Allow block comments for the table in the code. by @thomasvl in #1724
- Resolve some more swift-format lint issues. by @thomasvl in #1725
- Update proto files from upstream. by @thomasvl in #1726
- Move the 6.0 workflows to 6.0.1. by @thomasvl in #1727
- Version bump for a release. by @thomasvl in #1728
Full Changelog: 1.28.1...1.28.2
1.28.1 Release
This is a follow up that addresses some issues in the generated code when using access levels on imports.
What's Changed
- Fix Foundation import's access level in generated code by @gjcairo in #1701
- Less generation when no messages, enums, or extensions. by @thomasvl in #1703
- Conditional foundation import by @thomasvl in #1704
- Missed comments on #1704. by @thomasvl in #1705
- Revert "Pin docc to a version that works for older swift versions." by @thomasvl in #1706
- Revise empty file support for
import public
by @thomasvl in #1707 - Version bump for a release. by @thomasvl in #1708
Full Changelog: 1.28.0...1.28.1