Skip to content

Releases: googleapis/api-linter

api-linter 1.13.0

03 Feb 20:13
319cc19
Compare
Choose a tag to compare

Features

  • Add rules for AIP-162 Rollback HTTP method and body (#744)
  • Add rules for AIP-162 Commit request name behavior and resource reference (#736)
  • Add rule for AIP-162 Rollback HTTP URI suffix (#740)
  • Require URIs to begin with a forward slash. (#738)
  • Add rule for AIP-162 Commit response message name (#733)
  • Add rule for AIP-162 Commit request name field (#732)
  • Add rule for AIP-162 Commit request message name (#730)
  • Add rules for AIP-162 Commit HTTP body and method (#729)

Fixes

  • Properly pick up name in DeleteRevision request URIs. (#743)
  • Do not complain about DELETE on DeleteRevision requests. (#742)
  • Allow V1Main (version selector) in the C# namespace. (#735)

Other

  • Add and more widely use helpers for field presence and singular-string type (#745)

api-linter 1.12.0

20 Jan 20:37
9f4f1bc
Compare
Choose a tag to compare

Features

api-linter 1.11.0

06 Jan 20:20
7ba8f51
Compare
Choose a tag to compare

Features

  • Add rules for Tag Revision methods (#725)
  • Add rule prohibiting Markdown tables. (#726)
  • Add rule prohibiting Markdown headings. (#724)

api-linter 1.10.0

16 Dec 20:12
c3cf012
Compare
Choose a tag to compare

Features

  • Add rule for UNORDERED_LIST field behavior (#719)

api-linter 1.9.0

09 Dec 20:11
ecca8a5
Compare
Choose a tag to compare

Features

api-linter 1.8.0

04 Nov 20:08
0778180
Compare
Choose a tag to compare

Features

api-linter 1.7.1

28 Oct 20:15
6f5630c
Compare
Choose a tag to compare

Documentation

  • Add missing semicolons to rule docs (#701)
  • Fix copy-paste error in AIP-192 absolute-links. (#697)

Other

  • Add common lint for methods whose request name should match their own (#696)

api-linter 1.7.0

21 Oct 20:13
c61575b
Compare
Choose a tag to compare

Features

  • Add rules for AIP-144 HTTP method, HTTP body, request message name (#695)
  • Declarative-friendly resources should avoid custom methods. (#693)
  • Add rule to require Undelete methods for declarative-friendly resources (#689)
  • Add rule for required standard fields. (#686)

Fixes

  • Correct handling of top-level resources in parent-field lints (#691)
  • Include missing tests for AddRules in AIP-128 and AIP-164 (#688)

Other

  • Extract common lints into the util package to eliminate redundancy (#687)

api-linter 1.6.0

14 Oct 20:12
bfbbf28
Compare
Choose a tag to compare

Features

  • Add rule for AIP-128 reconciling field (#684)
  • Add rule for AIP-128 annotations field. (#682)
  • Add declarative-friendly logic to the Delete response check. (#681)
  • Add LRO rule for Delete methods (declarative-friendly). (#679)
  • Add LRO rule for Update methods (declarative-friendly). (#678)
  • Add rules for AIP-164 Undelete (#676)
  • Add LRO rule for Create methods (declarative-friendly). (#674)
  • Add client-specified ID lint rule. (#673)
  • Add rule for validate_only for declarative-friendly APIs. (#657)
  • Add rule for given_name and family_name. (#656)
  • Add three rules for AIP-154. (#655)
  • Add rule to prevent optional and required together. (#654)
  • Add allow_missing rule to AIP-134. (#651)

Fixes

  • Permit ListRevisions methods to include their resource field. (#653)
  • Loosen warnings around REQUIRED and OPTIONAL. (#652)

Documentation

  • Add validate_only field to AIP-163 request-unknown-fields doc (#677)
  • Add example for a violation using additional_bindings (#675)

api-linter 1.5.0

07 Oct 20:12
ddc47f2
Compare
Choose a tag to compare

Features

  • Add rule for AIP-235 response message name (#648)
  • Add rule for AIP-235 soft-delete response resource field (#649)
  • Add IsDeclarativeFriendly utility method. (#647)
  • Add rules for unknown fields in batch requests (#646)
  • Add rules for batch-method requests field behavior (#644)
  • Add rule for AIP-235 request-names-field (#638)
  • Add rules for batch-request names-field annotations (#637)
  • Add request-parent-field rule for AIP-235 (#636)

Fixes

  • Permit two-word top-level collections in the URI suffix. (#642)
  • Fix erroneous logic for batch request-parent-field rules (#631)

Other

  • Make separate IsDeclarativeFriendly methods for message and method. (#650)
  • fix AIP-158 disablement example (#645)