Skip to content

Releases: googleapis/api-linter

api-linter 1.23.0

28 Apr 20:04
8e9cd4a
Compare
Choose a tag to compare

Features

  • Add linter for AIP-192 deprecated service and methods (#836)

Documentation

  • Reference AIP links in a uniform way. (#840)

api-linter 1.22.0

21 Apr 20:04
199432d
Compare
Choose a tag to compare

Features

  • Require show_deleted List request field for resources supporting soft delete (#833)
  • Require a name field in messages with google.api.resource annotations (#839)
  • Require AIP-135 request force fields to be singular bool (#835)

Other

  • Use common lint for HTTP variable rules more widely (#834)

api-linter 1.21.0

07 Apr 20:04
eb7c453
Compare
Choose a tag to compare

Features

  • Require show_deleted List request field to be a singular bool (#831)
  • Require standard create_time, delete_time, uid, and update_time fields to be output only (#829)

Fixes

  • Do not require allow_missing Update request field for singleton resources (#832)
  • Require declarative-friendly reconciling fields to be output-only (#827)
  • Do not require delete_time or uid fields for singleton resources (#824)
  • Consider messages in transitive dependencies reachable for AIP-151 (#816)
  • Suppress core::aip0158::request-page-token-field for non-request messages (#822)
  • Run go mod tidy so build succeeds at HEAD (#818)

Documentation

  • Fix typo in core::0141::forbidden-types (#823)
  • Remove erroneous resource prefix from AIP-135 response-message-name example (#812)

api-linter 1.20.0

31 Mar 20:04
e31c716
Compare
Choose a tag to compare

Features

  • Add rule for AIP-165 HTTP parent variable (#814)
  • Add rule for AIP-132 HTTP URI parent variable (#809)
  • Require expire_time field in resources supporting soft-delete (#806)
  • Add method signature rules. (#810)

Documentation

  • fix client lib doc links (#815)

api-linter 1.19.0

24 Mar 20:05
c18f315
Compare
Choose a tag to compare

Features

  • AIP-123 – Complain if resource references are not strings. (#797)

Fixes

api-linter 1.18.0

17 Mar 20:14
6be37c7
Compare
Choose a tag to compare

Features

  • Add rule for AIP-162 request name resource reference (#788)
  • Add rule for AIP-162 List Revisions request name behavior (#789)
  • Add rule to suggest removing AIP-162 List Revisions request order_by fields (#790)
  • Add rule to prevent duplicate resource definitions (#792)

Fixes

  • Fix handling of top-level resources in AIP-235 request-parent-field rule (#796)
  • Corrected unordered list link. (#794)

api-linter 1.17.0

10 Mar 20:16
d2ed770
Compare
Choose a tag to compare

Features

  • Add rule for AIP-162 List Revisions request name field (#787)
  • Add rule for AIP-162 List Revisions response message name (#784)
  • Add rule for AIP-162 List Revisions request message name (#782)
  • Add rule for AIP-162 List Revisions HTTP method (#781)
  • Add rule for AIP-162 List Revisions HTTP URI suffix (#774)
  • add new --list-rules flag to output rules database list (#775)
  • Add rule for AIP-162 HTTP body (#776)
  • AIP-140 – Prohibit goofy underscores. (#778)
  • Add rule for AIP-152 Jobs resource reference suffix (#767)

Fixes

  • Fix doublestar/v3 dependency issue from #779. (#780)
  • Suppress AIP-132 rules for AIP-162 methods and messages (#772)
  • Account for empty messages in AIP-158 response-plural-first-field rule (#770)

Documentation

  • Fix copy-paste errors in doc summaries for AIP-162 (#785)

api-linter 1.16.0

24 Feb 20:12
34a6688
Compare
Choose a tag to compare

Features

  • Add rule for AIP-162 Delete Revision request name field resource reference (#763)

Fixes

  • Add allow_missing as a valid field for Delete. (#762)

api-linter 1.15.0

17 Feb 20:12
6061a0a
Compare
Choose a tag to compare

Features

  • Add rule for AIP-162 Delete Revision request name field behavior (#761)
  • Add rule for AIP-162 Delete Revision request name field (#757)
  • Validate list parent resource_reference (#754)
  • Add rule for AIP-162 Delete Revision request message name (#756)
  • Add rule for AIP-162 Delete Revision HTTP URI suffix (#755)

Fixes

  • Make the required and optional rules less noisy. (#760)

api-linter 1.14.0

10 Feb 20:12
0c59878
Compare
Choose a tag to compare

Features

  • Add rules for AIP-162 Delete Revision HTTP body and method (#752)
  • Add rules for AIP-162 Rollback request name field, behavior, and resource reference (#749)
  • Add rules for AIP-162 Rollback request and response message name (#747)

Fixes

  • Do not require undelete method if delete is not present. (#753)
  • Fix the URI name check for AIP-134. (#748)
  • Replace erroneous use of GetType with GetName in LintSingularStringField (#746)