Hammurabi

Latest version: v0.11.1

Safety actively analyzes 619231 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.0.0

.. _Semantic Versioning: https://semver.org/spec/v2.0.0.html

.. Hyperlinks for releases

.. _Unreleased: https://github.com/gabor-boros/hammurabi/compare/v0.11.1...master

0.11.1

--------------------

Fixed
~~~~~

* Fix MRO issue when precondition names cannot be retrieved when exception occurs

Changed
~~~~~~~

* Bump hypothesis to 5.37.3
* Bump ujson to 4.0.1
* Bump mypy to 0.790
* Bump flake8 to 3.8.4
* Bump gitpython to 3.1.9
* Bump pytest to 6.1.0
* Bump more-itertools to 8.5.0

0.11.0

--------------------

Added
~~~~~

* Add TOML file support and adjust readme
* Log skipped imports on debug level

Fixed
~~~~~

* Allow documentation generation for rules which are depending on extra packages
* Update enforce command description
* Hypothesis test execution skips `:` character when running owner change test
* Fix failing pylint error W0707 in slack notification
* Fix empty committing issue when no staged files are present
* Fix some documentation highlight issues

Changed
~~~~~~~

* Rename all `target` to `match` as it shows the intention better
* Remove trailing "s" from preconditions starting with "Is"
* Extend the documentation of `DirectoryNotExists`
* Mention in the docs that `match` will use partial match if the regex is not specific enough
* Add László Üveges to maintainers
* Replace Travis CI with GitHub Actions
* Update the release process with the external documentation site
* Update requirements minimum version
* Rename all JSON rule to Json to keep naming convention
* Rename all YAML rule to Yaml to keep naming convention
* Clarify difference between Key- and ValueExists rules
* Bump gitpython to 3.1.8
* Bump hypothesis to 5.33.0
* Bump black to 20.8b1
* Bump typer to 0.3.2
* Bump pylint to 2.6.0
* Bump pytest to 6.0.2
* Bump ujson to 3.2.0
* Bump coverage to 5.3
* Bump pygments to 2.7.1

0.10.0

--------------------

Added
~~~~~

* Extended the the development installation instruction by adding pre-commit
* Add more tests for pillar

Fixed
~~~~~

* Set `__version__` to the latest tag to fix documentation generation

Changed
~~~~~~~

* CI/CD now executes `pre-commit run --all-files`
* Rename `LineReplaced`'s `target` parameter to `match` to reduce confusion
* Finetune pytest configuration by using classes named `*TestCase` instead of `Test*`
* Replace click based CLI with a Typer based one
* Use `latest` for local documentation generation
* Update CONTRIBUTING.md regarding documentation config version bump
* Include `main.py` in test reports and add tests

Removed
~~~~~~~

* `--rule-can-abort` is not an option anymore for enforce command
* Drop `get order` command since it is not used at all
* Drop `get laws` command since it is not used at all
* Drop `get law` command since it is not used at all
* Drop `get rules` command since it is not used at all
* Drop `get rule` command since it is not used at all
* Drop `describe law` command since it is not used at all
* Drop `describe rule` command since it is not used at all
* Remove hypothesis test reporting statistics generation

0.9.1

-------------------

Fixed
~~~~~

* Quick fix for a flipped condition when using allow_push

0.9.0

-------------------

Added
~~~~~

* Add new `allow_push` option to config to be able to turn on/off pushing to remote
* Extend the documentation with the new `allow_push` option
* Add `--push/--no-push` option to `enforce` command to control `allow_push` from CLI

Changed
~~~~~~~

* Pull request won't be opened if no changes were pushed to remote
* Bump ujson to 3.1.0
* Bump configupdater to 1.1.2

Fixed
~~~~~

* Fixed changelog hyperlinks

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.