Skip to content

Releases: googleapis/api-linter

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)

api-linter 1.4.0

30 Sep 20:11
fb0d877
Compare
Choose a tag to compare

Features

  • Add http-uri-suffix rule for AIP 235 (#630)
  • Add plural-method-name rule for AIP-235 (#628)

Fixes

  • Fix typos in batch AIPs (#632)
  • Permit batch methods on parent-less resources. (#629)

api-linter 1.3.0

16 Sep 20:11
59b31eb
Compare
Choose a tag to compare

Features

  • Split the reference package mismatch into a new rule. (#626)
  • Add initial rules for AIP-235.

Fixes

  • replace erroneous use of "Get" with "Delete" for AIP-135 (#623)
  • Handle nested URI parameters correctly for custom method URI suffixes. (#624)
  • Permit top-level resources to have batch methods. (#619)

Other

api-linter 1.2.2

09 Sep 20:11
9a793b5
Compare
Choose a tag to compare

Fixes

  • Fix enums with words ending in numerals. (#618)