Project-config

Latest version: v0.9.5

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

Scan your dependencies

Page 2 of 4

0.8.0

:warning: Breaking changes

- Globs are not allowed inside `files` arrays of rules
- Tree API has been changed. Third party plugins must be updated accordingly

Bug fixes

- Fixed some inconsistencies using `--rootdir` and `--config` CLI options

Enhancements

- This version comes with a big refactor of some crucial parts of the program, which has allowed a x5 speedup improvement
- Don't depend on `typing_extensions` at runtime

New features

- Added `project-config show reporters` command to show all available reporters
- Added JMESPath functions for some file system operations: `isfile`, `isdir`, `exists`, `mkdir`, `rmdir` and `glob`
- Added new actions for `inclusion` plugin: `exludeLines` and `includeContent`

0.7.9

- Added support for JSON5 files on Python3.11.

0.7.8

Enhancements:

- Optimize `crossJMESPathsMatch` verb.

0.7.7

New features:

* Added `project-config show file`. Pass a path to a file or an URL as argument and it will print a JSON-serialized version of the content, for example `project-config show file pyproject.toml`.

Bug fixes:

* Fixed errors derived from the fact that `files` existence check has been being executed before the `ifFilesExist` conditional, which raises false positives if some of the files are the same and don't exist.

0.7.6

Enhancements:

* The standard JMESPath functions [`starts_with`](https://jmespath.org/specification.html#starts-with) and [`ends_with`](https://jmespath.org/specification.html#ends-with) now are matching in `project-config` the specification of Python's [`str.startswith`](https://docs.python.org/3/library/stdtypes.html?highlight=startswith#str.startswith) and [`str.endswith`](https://docs.python.org/3/library/stdtypes.html?highlight=startswith#bytearray.endswith) allowing to pass an array of strings as second parameters and the arguments `start` and `end`, see [`jmespath` plugin](https://mondeja.github.io/project-config/latest/reference/plugins.html#jmespath).

Bug fixes:

* Fixes some encoding issues in Windows.
* Fixes edge case exceptions when executing Python files to from JMESPath rules.

0.7.5

New features:

- Allow to install the **project-config** CLI from NPM with `npm install python-project-config`.
- Add new custom JMESPath function [`regex_escape()`](https://mondeja.github.io/project-config/0.7.5/reference/plugins.html#regex_escape).

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.