Skip to content

Releases: googleapis/api-linter

v2.0.0

22 Oct 22:18
6c69e72

Choose a tag to compare

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

  • cli: allow disabling all rules and then enabling a single rule, or multiple rules (42e6805)
  • cli: resolve import path resolution (#1545) (42e6805)
  • lint: linter config on windows (#1551) (42e6805)

v1.72.0

21 Oct 21:40
0016bc0

Choose a tag to compare

1.72.0 (2025-10-16)

Features

Bug Fixes

Documentation

v2.0.0-beta.4

01 Oct 19:35
d426ca6

Choose a tag to compare

v2.0.0-beta.4 Pre-release
Pre-release

What's Changed

  • fix(cli): resolve import path resolution. Addressed in #1545 by @quirogas

Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4

v2.0.0-beta.3

23 Sep 21:26
2d250d2

Choose a tag to compare

v2.0.0-beta.3 Pre-release
Pre-release

What's Changed

This beta release focuses on improving the CLI's robustness and internal code quality.

  • Fixes:

    • fix(cli): Deduplicate descriptor sets when loading to avoid reporting the same finding multiple times. Addressed in #1536 by @quirogas.
  • Chores:

    • chore(internal): Added a new test utility to simplify test creation in #1538.
    • chore(rules): Refactored extension parsing for better reliability in #1537.
    • chore(v2): Synced the v2 branch with the latest changes from main in #1535.

Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3

v1.71.0

02 Sep 16:26
1265bd4

Choose a tag to compare

1.71.0 (2025-08-26)

Features

Bug Fixes

v2.0.0-beta.2

29 Aug 00:06
ac30e2c

Choose a tag to compare

v2.0.0-beta.2 Pre-release
Pre-release

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

27 Aug 18:01
0df18d2

Choose a tag to compare

v2.0.0-beta.1 Pre-release
Pre-release

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 and locations 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 like protoreflect.MessageDescriptor and protoreflect.FieldDescriptor.
  • 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

06 Aug 23:20
e80e48a

Choose a tag to compare

1.70.2 (2025-08-06)

Bug Fixes

Documentation

v1.70.1

21 Jul 21:38
6c2428a

Choose a tag to compare

1.70.1 (2025-07-21)

Bug Fixes

v1.70.0

16 Jul 23:24
743dadf

Choose a tag to compare

1.70.0 (2025-07-16)

Features

Bug Fixes

Documentation

  • add comments to lint.Config and configuration page (#1505) (39d0376)