Skip to content

Releases: bcwaldon/warlock

2.0.1

11 Jul 08:51
2.0.1
Compare
Choose a tag to compare

Changed

  • Meta: Switched build backend from poetry to poetry-core. #66

2.0.0

16 Jun 18:03
2.0.0
Compare
Choose a tag to compare

Added

  • Meta: Locked dependencies via poetry.lock file in version control. #44
  • Meta: Add pre-commit config to enforce code styling and file formatting. #43
  • Meta: Add tox config for test automation across Python versions. #47
  • Tests for DeprecationWarnings issued for Model.changes. #46
  • Cache the validator instance to speedup schema validation process. #55
  • Support for jsonschema 4.x. #65
  • Support for Python 3.9, 3.10. #65

Fixed

  • Fixed DeprecationWarnings for using assertEquals in tests. #45

Changed

  • Meta: Replace setuptools with poetry for packaging and dependency management. #35
  • Changed behavior of model_factory back to pre-1.3 call signature. #39

Removed

  • Support for Python 3.4 (EOL). #44
  • Support for Python 3.5, 3.6 (EOL). #65
  • Support for Python 2.7 (EOL by 2019-01-01). #48

1.3.3

20 May 10:14
Compare
Choose a tag to compare

Fixed

  • setup.py failing for Python 2.7. #41

Added

  • Test run of setup.py in develop mode for installing requirements, sanity check. Relates to #41

1.3.2

20 May 07:03
Compare
Choose a tag to compare

Fixed

  • README failed parsing in non utf-8 environments. Enforce encoding. #37

1.3.1

19 May 08:16
bf0639a
Compare
Choose a tag to compare

Picking the project back up. 🎉

Changes are mostly limited to project scaffolding and CI testing (dropping support for a few EOL-ed Python versions). Most importantly this release bumps the dependency requirement of jsonschema to make it compatible with v3 of the package and therefore add support for JSON schema draft 7.

Should your project depend on Warlock validating against Draft 4 of JSON Schema, make sure to declare a direct dependency on jsonschema<3 in your project's requirements.

Added

  • Travis CI test support for Python 3.6, and 3.7
  • More project metadata to properly list on PyPi

Removed

  • Travis CI test runs for Python 2.6, and 3.3

Changed

  • Requirement for jsonschema library extended to version <4
  • Conform to Black codestyle
  • Move unittests to tests/ directory

Fixed

  • README formatting (codeblocks showing correctly)