Releases: googleapis/api-linter
v2.0.0
2.0.0 (2025-10-22)
⚠ BREAKING CHANGES
- lint: migrate to protobuf-go
- locations: migrate to protobuf-go
- internal: migrate to protobuf-go
- rules: migrate to protobuf-go
- cli: migrate to protobuf-go
- refactor api-linter framework with google.golang.org/protobuf (#1513)
Features
- AIP-133: allow view field in create request (42e6805)
- AIP-134: allow view field in update request (42e6805)
- AIP-135: allow view field in delete request (42e6805)
- cli: migrate to protobuf-go (42e6805)
- internal: migrate to protobuf-go (42e6805)
- lint: migrate to protobuf-go (42e6805)
- locations: migrate to protobuf-go (42e6805)
- refactor api-linter framework with google.golang.org/protobuf (#1513) (42e6805)
- rules: migrate to protobuf-go (42e6805)
Bug Fixes
v1.72.0
v2.0.0-beta.4
What's Changed
Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4
v2.0.0-beta.3
What's Changed
This beta release focuses on improving the CLI's robustness and internal code quality.
-
Fixes:
-
Chores:
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3
v1.71.0
v2.0.0-beta.2
What's Changed
- fix(cli): resolve linting errors related to incorrect positioning by @quirogas in #1531
- fix(cli): allow disabling all rules and then enabling a single rule, or multiple rules using cli flags by @quirogas in #1531
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2
v2.0.0-beta.1
What's Changed
This is the first beta release for the upcoming API Linter v2.0.0, which modernizes the linter's core by migrating to the official google.golang.org/protobuf module.
For full details on the v2.0.0 release, please see the main tracking issue: #1529 .
⚠️ BREAKING CHANGES
lint
andlocations
packages have been updated to use the descriptor types from google.golang.org/protobuf/reflect/protoreflect instead of
github.com/jhump/protoreflect/desc. This change affects users who programmatically create and use custom linting rules. For detailed migration guidance, please refer to the v2.0.0
tracking issue.
Features
The core of this release is the migration of the entire codebase from jhump/protoreflect
to google.golang.org/protobuf
. This effort involved changes across all major components of the
linter.
- feat!(lint): migrate public API to google.golang.org/protobuf 0df18d2
- Function signatures in the lint package, such as those in
lint.Rule
, now use types likeprotoreflect.MessageDescriptor
andprotoreflect.FieldDescriptor
.
- Function signatures in the lint package, such as those in
- feat!(locations): migrate public API to google.golang.org/protobuf
- feat!(rules): migrate all AIP rules to google.golang.org/protobuf
- feat!(cli): migrate command-line interface to google.golang.org/protobuf
- feat!(internal): migrate internal packages to google.golang.org/protobuf
How to Report a Bug
If you encounter a bug, please file a new issue. In your report, please indicate that you are using the v2.0.0-beta.1 release candidate and reference the main tracking issue #1529 to help us track v2-related issues
v1.70.2
v1.70.1
v1.70.0
1.70.0 (2025-07-16)
Features
- AIP-142: add relative time segments comment rule (5fab299)
- AIP-142: add time_offset type rule (#1506) (945cff3)
- integration-tests: add test harness for cli invocation (#1493) (35be28f)
Bug Fixes
- AIP-136: support response msg lint with resource singular aligned field name (#1499) (8dec010)
- AIP-158: clarify pluralized response field finding (#1498) (f0b7895)
- AIP-203: field-behavior-required ignore imported request types (#1504) (bb82f00), refs #1503
- cli: unexpected lint warning when providing multiple files (#1496) (7ecaa42), refs #1465