apple/swift-protobuf
51.5
Adequate · 14 November 2026
30k
lines of production code
Swift
primary language
4
measurements over time
What this system is
Features
Add C++ and Swift performance harness generators
The performance testing suite now includes shell scripts to generate C++ and Swift harnesses alongside the existing SwiftProtobuf harness. These new generators create test code that exercises binary, JSON, and text serialization, as well as message population and equality checks, allowing for cross-language performance comparisons.
Performance/generators · high confidence
Add SwiftProtobufTestHelpers module with package-scoped descriptor initializers
A new SwiftProtobufTestHelpers module has been added to provide test utilities for descriptor types. This module exposes package-level convenience initializers for Google\_Protobuf\_FileDescriptorProto, Google\_Protobuf\_FileDescriptorSet, and Google\_Protobuf\_EnumValueDescriptorProto, allowing tests to construct these objects more easily without exposing the helpers publicly.
Sources/SwiftProtobufTestHelpers · high confidence
Add binary-delimited stream fuzz testing with message limits
A new fuzzing entry point for binary-delimited streams has been added to exercise message framing and serialization. The fuzzer reads up to 50 messages from an input stream, parsing each using the standard binary-delimited format and immediately serializing any successfully parsed message to verify round-trip consistency. A hard limit of 50 messages is enforced to prevent oss-fuzz timeouts caused by large, garbage-heavy inputs, and this specific fuzzer focuses on framing issues rather than decoding options.
FuzzTesting/Sources/FuzzBinaryDelimited · high confidence
Add fuzz tester for async protobuf message stream parsing
A new fuzzing target, FuzzAsyncMessageSequence, has been added to exercise the parsing of binary Protobuf-delimited messages from an asynchronous byte stream. This tool reads up to 50 messages per input to prevent oss-fuzz timeouts caused by large, garbage-heavy inputs, focusing specifically on stream framing rather than decoding options or serialization.
FuzzTesting/Sources/FuzzAsyncMessageSequence · high confidence
Add performance visualization and summary table to the harness
The performance harness now includes a new visualization interface that displays benchmark results via box plots and a summary table. The summary table lists median runtimes for each benchmark across different languages, highlights the fastest implementation in green, and shows performance multipliers for slower ones with color-coded warnings (yellow for \<3x, red for \>10x). The visualization also supports numeric sorting for median calculations and displays binary size statistics (stripped vs. unstripped) alongside runtime data.
Performance/js · high confidence
Fuzz testing now supports configurable encoding and decoding options
The fuzz testing infrastructure in \FuzzTesting/Sources/FuzzCommon\ now allows fuzzers to control specific encoding and decoding behaviors via a compact bytecode format. New \BinaryFuzzingOptions\, \JSONFuzzingOptions\, and \TextFormatFuzzingOptions\ structs expose settings such as \messageDepthLimit\, \discardUnknownFields\, \ignoreUnknownFields\, \useDeterministicOrdering\, and \printUnknownFields\. This enables the fuzzer to systematically exercise different parsing and serialization paths, improving coverage of edge cases in message handling.
FuzzTesting/Sources/FuzzCommon · high confidence
Introduce C++ and Swift performance harnesses with visualization support
Adds a new performance testing infrastructure in the Performance directory, including C++ (Harness.cc, Harness.h, main.cc) and Swift (Harness.swift, main.swift) harnesses that measure serialization and parsing times. The harnesses output tabular timing data and statistical logs, which are consumed by a new HTML/JS visualization page (harness-visualization.html) and a comprehensive runner script (perf\_runner.sh) that supports comparing Swift against C++ or different code revisions.
Performance · high confidence
Introduce Swift Package Manager plugin for SwiftProtobuf
Adds a new Swift Package Manager plugin (Plugins/SwiftProtobufPlugin) that allows users to generate Swift code from .proto files directly within their SPM projects. The plugin reads a \swift-protobuf-config.json\ configuration file to support options such as custom protoc paths, visibility modifiers (internal, public, package), file naming strategies, enum generation modes, and import path configurations, streamlining the integration of Protocol Buffers into Swift packages.
Plugins/SwiftProtobufPlugin · high confidence
New FuzzTesting subpackage with dictionaries and build scripts
A new FuzzTesting subpackage has been added to provide infrastructure for fuzzing the protobuf parser. This includes a Swift package manifest, a build script (do\_build.sh) that supports building and running fuzz tests in both debug and release configurations with address sanitization, and a dictionary generation tool (make\_FuzzBinary\_dict). The package also ships with specific input dictionaries (FuzzBinary.dict, FuzzJSON.dict, FuzzTextFormat.dict, etc.) to guide the fuzzer, along with a README explaining how to use the toolchain and run regressions.
FuzzTesting · high confidence
New scripts for copyright management, version synchronization, and linkage testing
The repository now includes three new utility scripts in the \scripts/\ directory. \CopyrightFixup.sh\ automatically updates or inserts Apple copyright headers in Swift and C++ source files. \LibraryVersions.py\ synchronizes version numbers between the Swift package manifest (\SwiftProtobuf.podspec\) and the source code (\Version.swift\), supporting both validation and automatic updates. \run-linkage-test.sh\ verifies that the built binary does not incorrectly link against \libFoundation.so\ on Linux, ensuring proper trait configuration.
scripts · high confidence
Support for custom JSON names on enum values
The Swift code generator now supports the \pb.enumvalue.json\ option, allowing users to specify a custom string for serializing individual enum values to JSON. This is implemented by adding the generated \json\_enumvalue\_options.pb.swift\ file, which defines the \Pb\_Enumvalue\_JsonEnumValueOptions\ message and extends \Google\_Protobuf\_EnumValueOptions\ with a \json\ property. Users can now apply options like \\[(pb.enumvalue.json).string = "my\_custom\_name"\]\ to enum values to control their JSON representation.
Protos/Sources/protoc-gen-swift, Reference/Sources/protoc-gen-swift · high confidence
Swift Protobuf 6.1 package manifest with traits and vendored protoc
The Swift Package Manager manifest ([e-mail redacted]) has been updated to target Swift 6.1 and introduces two new package traits, BinaryDelimitedStreams and FieldMaskUtilities, which are enabled by default to provide serialization and field mask support. The package now includes a vendored protoc executable built from source alongside the SwiftProtobuf runtime and plugin library, and adds a PrivacyInfo.xcprivacy resource for Apple platforms.
(repo-wide) · high confidence
Removals
Removed bundled Google Protobuf source files
The local copy of \google/protobuf\ source files (including \any.proto\, \descriptor.proto\, and various \unittest\*.proto\ test definitions) has been deleted from the \Protos/google\ directory. This change removes the vendored upstream Protocol Buffers definitions from the repository, likely shifting the project to rely on an external dependency or a different mechanism for providing these standard types.
Protos/google · high confidence
Removed obsolete Swift protobuf test proto files
The \unittest\_swift\_naming.proto\ and \unittest\_swift\_performance.proto\ files have been deleted from the Protos directory. These files previously contained extensive test definitions for Swift-specific naming conventions (including reserved words and edge cases) and performance benchmarks, but are no longer part of the codebase.
Protos · high confidence
Removed redundant Xcode project files
The \SwiftProtobufRuntime\_iOS.xcodeproj\ and \SwiftProtobufRuntime\_macOS.xcodeproj\ directories have been deleted. This removes the legacy Xcode project configurations, schemes, and build settings for these targets, simplifying the repository structure.
_SwiftProtobufRuntime\_iOS.xcodeproj, SwiftProtobufRuntime\macOS.xcodeproj · high confidence
Behavioural changes
7 commits (0 fixes) modifying Sources/protobuf/protobuf
A change to existing behaviour in Sources/protobuf/protobuf — 7 commits, 914 files: “Updated vendored dependencies (\#2026)”; “Replace protobuf/abseil submodules with vendored sources (\#2021)”; “Update protobuf to v36.2 (\#2168)”; and 4 more (refs \#2026, \#2021, \#2168, \#2065, \#2108, …).
Sources/protobuf/protobuf · medium confidence · unverified
Abseil C++ library sources are vendored into the project
The Abseil C++ library is no longer included as a Git submodule; its source code, build configurations (Bazel and CMake), and license files are now directly committed to the repository under Sources/protobuf/abseil. This change ensures the library is always available for local builds and simplifies dependency management by embedding the code directly.
Sources/protobuf/abseil, Sources/protobuf/abseil/absl/time/internal/cctz, Sources/protobuf/protobuf/java/core · high confidence
Fuzz testing now supports configurable decoding and encoding options
The FuzzJSON and FuzzTextFormat fuzzers have been updated to extract and apply specific decoding and encoding options from the input stream. This allows the fuzzer to exercise different parsing and serialization behaviors (such as varying JSON or TextFormat formatting rules) rather than using default settings, improving the coverage of edge cases in message handling.
FuzzTesting/Sources/FuzzJSON, FuzzTesting/Sources/FuzzTextFormat · high confidence
Fuzzing binary now supports configurable decoding and encoding options
The FuzzBinary tool has been updated to extract and apply specific fuzzing options during the test input processing. It now passes decoding options (such as partial decoding) and encoding options directly to the SwiftProtobuf message initialization and serialization methods, allowing the fuzzer to exercise a wider range of parsing and serialization behaviors rather than using default settings.
FuzzTesting/Sources/FuzzBinary · high confidence
Generated code now uses nonisolated types and bytecode-based name maps
The generated Swift Protocol Buffer code for ModuleA has been updated to mark enums and messages as \nonisolated\ and conform to \Sendable\, enabling safe usage in concurrent contexts. Additionally, the internal name maps for enums and messages now use a compact bytecode representation instead of string-based maps, which reduces memory overhead and improves initialization performance.
CompileTests/MultiModule/Sources/ModuleA · high confidence
Generated code now uses nonisolated types and inline bytecode name maps
The Swift protobuf generator now emits message types marked as \nonisolated\ (conforming to \Sendable\) and replaces the previous \\_protobuf\_nameMap\ dictionary with a compact, inline bytecode string. This change improves concurrency safety and reduces the memory footprint of generated code in multi-module projects.
CompileTests/MultiModule/Sources/ImportsAPublicly, CompileTests/MultiModule/Sources/ImportsImportsAPublicly · high confidence
Introduce binary decoding depth limits and new error types
The library now enforces a configurable nesting limit for messages during binary decoding to prevent stack overflows from malicious input. This is controlled by the new \messageDepthLimit\ option in \BinaryDecodingOptions\ (defaulting to 100) and throws a new \BinaryDecodingError.messageDepthLimit\ when exceeded. Additionally, new error types \AnyUnpackError\ and \BinaryDecodingError\ have been introduced to provide more specific error reporting for \Any\ unpacking failures and binary decoding issues.
Sources/SwiftProtobuf · high confidence
Performance harness now respects SWIFT\_EXEC and OTHER\_SWIFT\_FLAGS environment variables
The Swift performance test runner in Performance/runners/swift.sh now respects the SWIFT\_EXEC and OTHER\_SWIFT\_FLAGS environment variables, allowing users to specify a custom Swift compiler path (including those with spaces) and pass additional compiler flags during benchmarking. This change also updates the runner to use xcrun on macOS while omitting it on Linux, ensuring the harness works correctly across different operating systems.
Performance/runners · high confidence
PluginExamples updated for Swift 6.1 with new configuration demos
The PluginExamples location has been refreshed to target Swift 6.1 and run in Swift 6 language mode, ensuring generated code compiles under strict concurrency checks. This update adds several new example targets to demonstrate specific plugin capabilities: AccessLevelOnImport (using the \useAccessLevelOnImports\ config), CustomProtoPath (using \protoPath\), PathToUnderscores (resolving filename collisions), UsesWKTs (importing well-known types), and Nonexhaustive (generating \@nonexhaustive\ enums and oneofs). Corresponding tests have been added to verify these configurations.
PluginExamples · high confidence
Protobuf library updated to v36.2 with vendored dependencies and protoc WKT support
The Protobuf library has been updated to version 36.2 (along with abseil-cpp 20250512.1), with submodules replaced by vendored sources. A new C++ entry point (\main.cc\) now automatically injects the Well-Known Types (WKT) include path into the protoc command-line interface, ensuring WKT protos are available without manual configuration. Additionally, several hand-written Swift source files for well-known types (such as \Any\, \Duration\, \Timestamp\, \Struct\, and wrappers) and binary encoding/decoding engines have been removed, indicating a shift toward generated code or a different runtime structure.
Sources/Protobuf · high confidence
Support for empty files with \`import public\` re-exports
The code generator now correctly handles Protocol Buffer source files that contain no messages, enums, or extensions but utilize \import public\ for re-exporting symbols from other modules. A new test case, \ReExportAOnly\, verifies that such empty files are generated without errors, ensuring that re-exported types (such as enums, structs, and extensions) are properly exposed via \@\_exported\ even when the file itself lacks standard protobuf definitions.
CompileTests/MultiModule/Sources/ReExportAOnly · high confidence
SwiftProtobufPluginLibrary module restructured with Edition support and new CodeGenerator API
The SwiftProtobufPluginLibrary has been reorganized and significantly updated to support Protobuf Editions. A new \CodeGenerator\ protocol and \CodeGeneratorParameter\ interface provide a modern, structured way to build protoc plugins, replacing older manual response handling. The library now includes a \FeatureResolver\ to handle edition-specific feature defaults and ranges, and \Descriptor\ types have been extended with Edition-aware properties and deprecation comments. Additionally, a CMake build configuration has been added for the library, and internal utilities like \CodePrinter\ and \NamingUtils\ have been refined to support these changes.
Sources/SwiftProtobufPluginLibrary · high confidence
Update conformance test suite with new Protobuf editions and test cases
The conformance test runner and its generated message types have been updated to support the latest Google Protobuf test schemas, including the new Edition 2023, Edition 2026, and Edition Unstable message definitions. The \main.swift\ runner now recognizes and handles these new message types, allowing the Swift implementation to be validated against a broader range of protocol buffer specifications. Additionally, the known failure list has been updated to reflect current test outcomes, such as specific JSON input field name duplicate issues.
Sources/Conformance · high confidence
Updated Google Protobuf well-known types and descriptors to latest upstream specifications
The Protos/Sources/SwiftProtobuf directory has been refreshed with the latest upstream .proto definitions, introducing support for Protocol Buffers Editions (including new Edition enum values and SYNTAX\_EDITIONS) and adding the Any message definition. Several well-known types (such as Timestamp, Duration, Struct, and Wrappers) have been updated with improved documentation, corrected JSON mapping descriptions, and deprecation notices for legacy usage patterns. Additionally, the Go package paths for these types have been migrated from the legacy github.com/golang/protobuf to google.golang.org/protobuf, and C\# namespaces have been standardized to Google.Protobuf.WellKnownTypes across the affected files.
Protos/Sources/SwiftProtobuf · high confidence
Updated Protocol Buffers include definitions to v36.0
The \Sources/protobuf/include\ directory has been updated with the latest Protocol Buffers v36.0 schema definitions. This change introduces new \.proto\ files for language-specific features (C++, Go, Java, C\#) and compiler plugin interfaces, alongside updated standard definitions for well-known types like \Any\, \Api\, \Duration\, and \FieldMask\. For users, this ensures the library supports the latest protobuf editions and language-specific code generation options.
Sources/protobuf/include · high confidence
Updated conformance test protocol buffers and added edition-specific test schemas
The conformance testing protocol buffer definitions have been updated to align with upstream changes, ensuring compatibility with the latest test suite requirements. Additionally, new edition-specific test message schemas have been added to support testing across different Protocol Buffers editions, including Edition 2023, Edition 2026, and the Unstable edition, as well as Proto2 and Proto3 variants. These additions enable more comprehensive validation of serialization and parsing behavior for messages defined under these specific edition configurations.
Protos/Sources/Conformance · high confidence
Updated conformance test protocol definitions
The conformance test protocol definitions in Protos/conformance/conformance.proto have been synchronized with the upstream google/protobuf repository. This update ensures that the local conformance testing interface remains compatible with the latest standard definitions for request and response payloads, including the TestAllTypes message structure used for validating serialization and parsing behavior.
Protos/conformance · high confidence
Updated generated SwiftProtobuf runtime code from upstream
The generated Swift source files for Google's well-known protobuf types (such as Any, Api, Duration, Empty, FieldMask, Struct, and Timestamp) have been regenerated to align with the latest upstream .proto definitions. This update refreshes the internal message structures and serialization logic for these standard types, ensuring compatibility with the current version of the SwiftProtobuf runtime and reflecting any changes in the upstream protocol buffer specifications.
Reference/Sources/SwiftProtobuf · high confidence
Updated upstream Protocol Buffers reference files
The vendored reference files in Reference/upstream/google have been regenerated to match the latest upstream Protocol Buffers definitions. This update includes new or modified generated Swift types for core well-known types (such as \Any\, \Api\, and \Compiler\ plugins) and C++-specific feature options, ensuring the library stays synchronized with the upstream protobuf schema.
Reference/upstream/google · high confidence
Vendored protobuf and abseil sources are now managed by a dedicated update script
The repository now uses a new Python script, \scripts/UpdateProtobufSubtrees.py\, to manage the vendored copies of the protobuf and abseil-cpp libraries. This script replaces the previous submodule-based approach by shallow-cloning specific releases and pruning unused files (such as language-specific compilers and test data) to keep the vendored source tree smaller and tailored to the Swift package's needs. Users or maintainers can now update the vendored versions by running this script with an optional \--protobuf-tag\ argument, and the script automatically handles updating the \VERSIONS.json\ metadata file.
python · high confidence
protoc-gen-swift: New bytecode-based name maps and CMake build support
The Swift code generator now uses a compact bytecode format to represent text and JSON name maps, replacing the previous string-based approach to improve generation performance. This change introduces a new BytecodeWriter component and updates the generator to emit bytecode literals for field and enum name lookups. Additionally, the plugin now supports a CMake-based build system via a new CMakeLists.txt file, and includes various internal refactors such as moving generators to use Descriptors directly and updating import handling for \import public\ and \@\_implementationOnly\ directives.
Sources/protoc-gen-swift · high confidence
Test coverage
Added SwiftProtobuf linkage verification test; Added compile test for nonisolated code generation; Added compile tests for InternalImportsByDefault behavior; Added compile tests for experimental and internal import behaviors; Added compile tests for multi-module \import public\ support; Added comprehensive test fixtures for SwiftProtobuf plugin and core library tests; Added comprehensive unit tests for SwiftProtobuf encoding, decoding, and async streams; Added generated test fixtures for nonexhaustive enums and protocol buffer descriptors; Added regression test cases for TextFormat and JSON parsing edge cases; Added test protos for @nonexhaustive enum generation and extension range ordering; Added tests for fuzzing option extraction logic; Added tests for protoc-gen-swift descriptor handling and bytecode interpreter; Added tests for the SwiftProtobufPluginLibrary descriptor and feature resolution logic; Added tests for the experimental hidden names feature; Regenerated conformance test proto files for Swift; Removed LinuxMain.swift test runner; Updated Protobuf test suite with regenerated sources and helpers; Updated generated test protocol buffer files.
Dependencies
Swift 6.2 toolchain support and new compile-time tests
The project now requires Swift 6.2 (or later) toolchains, updating the main Package.swift and all sub-manifests (CompileTests, FuzzTesting, PluginExamples) to use swift-tools-version 6.1 or 6.2. New compile-time test targets have been added to verify specific language features and configurations: ExperimentalHiddenNames, InternalImportsByDefault, LinkageTest, MultiModule, and NonisolatedDeclarations. Additionally, the FuzzTesting package now includes targets for binary delimited streams and async message sequences, while PluginExamples demonstrate usage of the SwiftProtobufPlugin with various options like AccessLevelOnImport and CustomProtoPath.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 51 → 51 (+0.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 74 → 66 (-7.6)
- Architecture 95 → 95 (+0.2)
- Maturity 56 → 56 (-0.2)
- Readiness 34 → 36 (+1.4)
- Security 65 → 65 (+0.0)
- Performance 82 → 100 (+18.3)
Resolved (16)
- Change coupling: BinaryDelimited.swift ↔ Message+BinaryAdditions_Data.swift (Sources/SwiftProtobuf/BinaryDelimited.swift)
- Change coupling: Google_Protobuf_FieldMask+Extensions.swift ↔ Google_Protobuf_Timestamp+Extensions.swift (Sources/SwiftProtobuf/Google_Protobuf_FieldMask+Extensions.swift)
- Duplicated block (13 lines × 2) (Sources/SwiftProtobufPluginLibrary/Descriptor.swift)
- Duplicated block (16 lines × 3) (Sources/SwiftProtobuf/TextFormatDecoder.swift)
- Duplicated block (18 lines × 2) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobufPluginLibrary/SwiftLanguage.swift)
- Duplicated block (5 lines × 4) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Hotspot: Sources/SwiftProtobuf/Google_Protobuf_Timestamp+Extensions.swift (Sources/SwiftProtobuf/Google_Protobuf_Timestamp+Extensions.swift)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (Sources/SwiftProtobuf/JSONEncoder.swift)
- Members sharing a duplicated core (8 members, 50+ identical tokens) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- No ADRs found
- Off-boarding risk: anonymized user #1
- TodoComment (Sources/SwiftProtobufPluginLibrary/CodeGenerator.swift)
- TodoComment (Sources/SwiftProtobufPluginLibrary/CodeGenerator.swift)
New (85)
- AnyMessageStorage.swift.canUseVerboseTextForm (cognitive 19) (Sources/SwiftProtobuf/AnyMessageStorage.swift)
- AnyMessageStorage.textTraverse (cyclomatic 23) (Sources/SwiftProtobuf/AnyMessageStorage.swift)
- Duplicated block (11 lines × 2) (Sources/SwiftProtobuf/JSONEncoder.swift)
- Duplicated block (12 lines × 2) (Sources/SwiftProtobufPluginLibrary/Descriptor.swift)
- Duplicated block (18 lines × 2) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- Duplicated block (19–20 lines × 2) (Sources/SwiftProtobuf/TextFormatEncodingVisitor.swift)
- Duplicated block (22 lines × 3) (Sources/SwiftProtobuf/TextFormatDecoder.swift)
- Duplicated block (5 lines × 2) (Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift)
- Duplicated block (6 lines × 2) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Duplicated block (6 lines × 4) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Duplicated block (8–13 lines × 2) (Sources/SwiftProtobuf/JSONEncoder.swift)
- Edited copies of one member (3 members, 10+ corresponding lines) (Sources/SwiftProtobuf/Google_Protobuf_Duration+Extensions.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (Sources/SwiftProtobuf/Message+BinaryAdditions_Data.swift)
- Edited copies of one member (3 members, 14+ corresponding lines) (Sources/SwiftProtobuf/Google_Protobuf_FieldMask+Extensions.swift)
- Edited copies of one member (3 members, 16+ corresponding lines) (Sources/SwiftProtobuf/BinaryDecoder.swift)
- Edited copies of one member (3 members, 18+ corresponding lines) (Sources/SwiftProtobuf/BinaryEncodingSizeVisitor.swift)
- Edited copies of one member (3 members, 19+ corresponding lines) (Sources/SwiftProtobuf/BinaryEncodingVisitor.swift)
- Edited copies of one member (3 members, 22+ corresponding lines) (Sources/SwiftProtobuf/TextFormatDecoder.swift)
- Edited copies of one member (3 members, 28+ corresponding lines) (Sources/SwiftProtobuf/TextFormatEncodingVisitor.swift)
- Edited copies of one member (3 members, 40+ corresponding lines) (Sources/SwiftProtobuf/JSONDecoder.swift)
- …and 65 more
Changes since last survey
- 23 commits — 20 feature/other, 3 fixes
By area
- Sources/SwiftProtobufPluginLibrary — 6 commits
- Tests/SwiftProtobufTests — 6 commits
- Sources/SwiftProtobuf — 5 commits
- (root) — 3 commits
- .github/workflows — 1 commit
- Protos/Tests — 1 commit
- Sources/protoc-gen-swift — 1 commit
Notable commits
- fix: Fix Any depth budget CoW handling and WKT contentJSON textTraverse limit (#2237)
- fix: Fix two SwiftProtobufPluginLibrary bugs (#2218)
- fix: fix utf-8 corruption when escaping non-ascii json field names (#2227)
- change: Accept JSON Timestamp offsets up to ±23:59 (#2236)
- change: Add SwiftProtobufPluginLibrary descriptor and path utilities (#2219)
- change: Add extension and reserved range/name containment helpers to SwiftProtobufPluginLibrary. (#2221)
- change: Add extractProto() to non-file descriptors. (#2222)
- change: Add per-descriptor lookup helpers to SwiftProtobufPluginLibrary. (#2220)
- change: Bound Any recursion depth when transcoding to JSON and TextFormat (#2232)
- change: Expose featureExtensions on CodeGenerator and DescriptorSet. (#2224)
- change: Move assertDebugDescription usages to assertDebugDescriptionSuffix (#2238)
- change: Preserve unchanged file timestamps during make regenerate (#2231)
- change: Reconstruct descriptor protos on demand in extractProto() (#2233)
- change: Truncate out-of-range enum values to int32 in JSON and text encoding. (#2214)
- change: Update protos from upstream and regenerate. (#2225)
- change: Version bump for a relase (#2239)
- change: Version bump for a release (#2226)
- change: Work around the sanitizer issue. (#2210)
- change: only use the verbose Any text form for type URLs the parser accepts (#2212)
- change: reject binary groups truncated before their end-group tag (#2201)
- …and 3 more
Architecture
- Unchanged — 0 containers · 1 contexts · 0 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
apple/swift-protobuf was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit fed2f76413026cb0ae90999a8c9116949dfe6aa6 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.