Skip to content

Releases: daveshanley/vacuum

v0.9.6

14 Feb 22:06
Compare
Choose a tag to compare

This is adds the globbing feature very shortly discussed here: #406 (specifically, here)

It allows for typing something like this vacuum lint --globbed-files="*/**/bu*.openapi.yaml" model/test_files/badref-burgershop.openapi.yaml, which will glob files relative to the current working directory.

It is also possible to combine globbing with the current way of specifying files (just providing filepath(s)), it removes duplicates (meaning, if you provide a filepath twice, or if one of your filepaths provided is also a match result of globbing).

Changelog

  • 62ab5d0 add todo for the future
  • 0ac8965 checkpoint
  • dd0cb12 fix: retrieve Flag value from Flags instead of PersistentFlags
  • 7ffd774 make getFilesToLint return an error rather than handling it directly
  • ea9c6ee seems to be sorta working but odds are it has a billion edge cases...should definitely add tests if it's a feature the project wants
  • 026a876 simplify globbing code ... a lot

@volovikariel

v0.9.5

13 Feb 13:33
Compare
Choose a tag to compare

Changelog

v0.9.4

09 Feb 17:59
Compare
Choose a tag to compare

Changelog

  • 889f7d5 Added safety check to prevent NPE

v0.9.3

09 Feb 16:43
Compare
Choose a tag to compare

Changelog

  • 6ba5579 Set remote to true for language server and added baseflag override

v0.9.2

09 Feb 03:10
Compare
Choose a tag to compare

Changelog

  • e8ae7c1 fixed url in language server

v0.9.1

08 Feb 20:30
Compare
Choose a tag to compare

Same as v0.9.0, this is a re-release because the pipeline broke and deps needed bumping

Changelog

v0.9.0

08 Feb 22:55
Compare
Choose a tag to compare

New Feature! A Language server (LSP) built directly into vacuum!

A new language-server command can be used by any LSP compatible IDE to provide real-time linting.

This feature is why I created vacuum. This feature opens it up to everyone in the most useful way.

Addresses the following issues:

v0.8.7

03 Feb 20:55
Compare
Choose a tag to compare

Changelog

v0.8.6

30 Jan 18:24
Compare
Choose a tag to compare

Bugfix release, no new features. Upgrades OWASP security handling and path param detection.

Contributors: @mehdi-sol @TheTeaCat

Changelog

  • b7528da Add security to /secure endpoint in test with empty global security
  • 48454e6 Add test case for optional global security
  • d9861a5 Bump doctor to v0.0.4
  • baf1224 Fix logic for security disabled on specific paths
  • 527aec2 If there's no operation level security, check the global security for nullable items
  • 36b6e86 Update test case for empty global security
  • 48d643b Update test case for security disabled on one operation
  • 6e6e034 fix: ensureAllExpectedParamsInPathAreDefined now iterates over the correct set of maps for all path params
  • 00c68f7 go mod tidy
  • c4e785d temp replacement in go mod for local copy of doctor

v0.8.5

26 Jan 19:40
Compare
Choose a tag to compare

New Feature

Added two new flags to the lint command that allow varying control over how circular references are handled by vacuum.

  • --ignore-polymorph-circle-ref
  • --ignore-array-circle-ref

These two new flags will ignore array based or polymorphic circular references when running the lint command.

Documentation for lint command

Contributed by @eli-l

Changelog

  • ca547af Add ignore-polymorph-circle-ref flag to lint command.
  • 95d2349 Add lint flag to allow ignore circular references in arrays.
  • 96f4433 Ignore circular polymorphic ref.
  • 62d8842 Make it tidy
  • e29001f Upgrade github.com/pb33f/libopenapi to v0.15.2