Skip to content

Releases: G-Rath/osv-detector

v0.13.1

31 Oct 21:04
fe20f58
Compare
Choose a tag to compare

In addition to a couple of bug fixes, this version also includes a few refactors mainly to semantic removing checks that were not actually needed - in theory it should mean things are slightly faster and smaller, but it'll probably be too small to notice in practice; the more exciting win is the "increase" in test coverage 🥳

What's Changed

  • don't panic on pnpm lockfiles with an invalid path (#280)
  • process managed dependencies before standard dependencies when parsing pom.xmls (#279)
  • switch to slightly more efficient ways of building strings in a couple of places (#273)
  • simplify comparing of RubyGem version components (#275)
  • simplify comparing of "pre" letters in PyPI versions (#278)
  • remove unneeded condition in PyPI version comparator (#274)
  • remove unneeded logic in parsing semver-like versions (#277)

Full Changelog: v0.13.0...v0.13.1

v0.13.0

10 May 04:01
2cb582b
Compare
Choose a tag to compare

This version has a number of stuff because I apparently forgot to do a release for a while! In addition to a few fixes around NPM and Yarn, this adds support for two completely new lockfile formats (renv.lock and pdm.lock) and v9 of PNPM lockfiles.

It also introduces a new --update-config-ignores flag to make it easier to (re)generate config ignores, which is pretty handy!

What's Changed

  • support versions with build metadata in yarn.lock files (#227)
  • handle aliased packages in lockfiles for npm and yarn (#233)
  • support parsing renv.lock files (#243)
  • support parsing pdm.lock files (#245)
  • update to Go 1.21 (#246)
  • support PNPM v9 lockfiles (#251)
  • update YAML library to v3 (#252)
  • support updating config ignores with --update-config-ignores (#248)

Full Changelog: v0.12.0...v0.13.0

v0.12.0

15 Sep 20:42
3c980d6
Compare
Choose a tag to compare

This version changes how the detector checks advisories to greatly reduce the amount of work it does meaning performance scales a lot better as the size of databases grow - this does mean the detector no longer loads advisories that have no affected packages, but that shouldn't be a problem since the detector can't do anything with those advisories anyway; we also cache regexp compiles which in particular make version parsing faster though this will probably only be noticeable if you're using the detector as a library to check a huge number of versions.

Speaking of library users, the detector is now using Go v1.20, so you'll need to update if you're not already on that version of Go. We've also got a few fixes for PNPM lockfiles.

What's Changed

  • use go v1.20 (#204)
  • use a map to track which advisories should be checked for which packages (#216)
  • cache regexp compiles (#213)
  • support peer dependencies in v6 versions of PNPM lockfiles (#209)
  • properly parse pre-release versions in PNPM lockfiles (#211)

Full Changelog: v0.11.2...v0.12.0

v0.11.2

19 Aug 04:59
52d3d19
Compare
Choose a tag to compare

What's Changed

  • set CompareAs for pubspec packages (#199)
  • check for unexpected responses from remote database hosts (#197)
  • ensure full-line error messages has a newline at the end (#200)
  • ensure that affected entries are in order before comparing (#198)

Full Changelog: v0.11.1...v0.11.2

v0.11.1

11 Jul 21:00
a61c828
Compare
Choose a tag to compare

What's Changed

  • don't panic on empty pnpm-lock.yaml files (#191)
  • improve warning message when parsing invalid Maven poms (#192)
  • handle cyclical -rs in requirements.txt files (#193)
  • handle line continuations in requirements.txt files (#195)
  • handle requirements with options in requirements.txt (#196)

Full Changelog: v0.11.0...v0.11.1

v0.11.0

28 Apr 02:35
063a98e
Compare
Choose a tag to compare

What's Changed

  • support PNPM v6 lockfiles (#187)
  • support dependencyManagement in Maven poms (#175)
  • support providing parse-as per lockfile / directory (#189)
  • support -r flag in requirements.txt files (#174)

Full Changelog: v0.10.4...v0.11.0

v0.10.4

27 Apr 20:49
c988b29
Compare
Choose a tag to compare

What's Changed

  • support Pipenv develop packages without a version (#186)
  • avoid infinite loops parsing Maven poms with syntax errors (#188)

Full Changelog: v0.10.3...v0.10.4

v0.10.3

09 Mar 20:11
6d5ef91
Compare
Choose a tag to compare

What's Changed

  • trim leading zeros off when comparing numerical components in Maven versions (#179)

Full Changelog: v0.10.2...v0.10.3

v0.10.2

04 Mar 21:00
8eb1a06
Compare
Choose a tag to compare

What's Changed

  • update to the latest patch version of go v1.17 (#178)

Full Changelog: v0.10.1...v0.10.2

v0.10.1

04 Mar 20:35
dfbde80
Compare
Choose a tag to compare

What's Changed

  • support yarn.lock files with quoted properties (#170)
  • avoid panic when parsing file: dependencies in pnpm lockfiles (#171)
  • deduplicate packages that appear multiple times in Pipenv.lock files (#172)
  • properly handle comparing zero versions in Maven (#173)

Full Changelog: v0.10.0...v0.10.1