Tools Python Versions Save

A Python library to parse, validate and create SPDX documents.

v0.8.2

8 months ago

What's Changed

Full Changelog: https://github.com/spdx/tools-python/compare/v0.8.1...v0.8.2

v0.8.1

9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/spdx/tools-python/compare/v0.8.0...v0.8.1

v0.8.0

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/spdx/tools-python/compare/v0.7.1...v0.8.0

v0.8.0rc3

10 months ago

What's Changed

Full Changelog: https://github.com/spdx/tools-python/compare/v0.8.0rc2...v0.8.0rc3

v0.8.0rc2

10 months ago

What's Changed

Full Changelog: https://github.com/spdx/tools-python/compare/v0.8.0rc1...v0.8.0rc2

v0.8.0rc1

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/spdx/tools-python/compare/v0.7.1...v0.8.0rc1

v0.8.0a3

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/spdx/tools-python/compare/v0.7.1...v0.8.0a3

v0.7.1

1 year ago

New features and changes

  • added GitHub Actions workflow
  • added requirements.txt
  • added uritools for URI validation
  • Python >= 3.7 is now required
  • json/yaml/xml: added support for empty arrays for hasFiles and licenseInfoFromFiles
  • rdf: fixed writing of multiple packages
  • tag-value: enhanced parsing of snippet ranges to not mix it up with package version
  • tag-value: fixed parsing of whitespaces
  • tag-value: duplicates in LicenseInfoInFile are now removed during writing
  • account for supplier and originator to be NOASSERTION
  • checksum validation now requires lowercase values
  • during writing of a file, the encoding can be set (default is utf-8)
  • license list updated to version 3.20

New Contributors

Full Changelog: https://github.com/spdx/tools-python/compare/v0.7.0...v0.7.1

v0.7.0

1 year ago

New features and changes

  • Dropped Python 2 support. Python >= 3.6 is now required.
  • Added pyspdxtools_convertor and pyspdxtools_parser CLI scripts. See the readme for usage instructions.
  • Updated the tools to support SPDX versions up to 2.3 and to conform with the specification. Apart from many bugfixes and new properties, some of the more significant changes include:
    • Support for multiple packages per document
    • Support for multiple checksums for packages and files
    • Support for files outside a package
  • Removed example documents from production code. Added additional up-to-date examples to test files.
  • Introduced pytest as the preferred test framework.
  • Improved error message handling and display.
  • Extended the contribution guidelines.
  • Improved tag/value output structure.
  • Added .editorconfig and pyproject.toml.
  • Improved handling of JSON-specific properties documentDescribes and hasFiles.
  • Added new LicenseListVersion tag.
  • Fixed annotation handling for the JSON and Tag/Value formats.
  • Free form text values in Tag/Value no longer require <text> tags if they don't span multiple lines.

Limitations

Breaking changes

There are some breaking changes compared to the 0.6.1 release. Some classes were renamed, some were moved, and files are now saved at document-level instead of package-level. See https://github.com/spdx/tools-python/wiki/How-to-migrate-from-0.6.1-to-0.7.0 for a migration guide.

Contributors

This release was made possible by the following contributors. Thank you very much!

  • Meret Behrens @meretp
  • Philippe Ombredanne @pombredanne
  • Pierre Tardy @tardyp
  • Nicolaus Weidner @nicoweidner
  • Jeff Licquia @licquia
  • Armin Tänzer @armintaenzertng
  • Alberto Pianon @alpianon
  • Rodney Richardson @RodneyRichardson
  • Lon Hohberger @lhh
  • Nathan Voss @njv299
  • Gary O'Neall @goneall
  • Jeffrey Otterson @jotterson
  • KOLANICH @KOLANICH
  • Yash Varshney @Yash-Varshney
  • HARDIK @HARDIK-TSH1392
  • Jose Quaresma @quaresmajose
  • Santiago Torres @SantiagoTorres
  • Shubham Kumar Jha @ShubhamKJha
  • Steven Kalt @SKalt
  • Cole Helbling @cole-h
  • Daniel Holth @dholth
  • John Vandenberg @jayvdb
  • Kate Stewart @kestewart
  • Alexios Zavras @zvr
  • Maximilian Huber @maxhbr
  • Kyle Altendorf @altendky
  • alpianon @alpianon
  • kbermude @kbermude
  • mzfr @mzfr

v0.7.0-rc0

1 year ago

First release candidate for the v0.7.0 release. Release notes are to be reviewed and revised, the following is auto-generated by Github and is included to give a rough idea:

What's Changed

New Contributors

Full Changelog: https://github.com/spdx/tools-python/compare/v0.6.1...v0.7.0-rc0