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 4 of 4

0.5.0

New features:

- A lot of custom functions have been added to [`jmespath` plugin](https://mondeja.github.io/project-config/0.5.0/reference/plugins.html#jmespath).

Enhancements:

- Concurrent fetching for faster caching of remote style files when they have not been cached yet.

0.4.0

Deprecations:

- The custom JMESPath function `regex_matchall` has been deprecated and will be removed in v1.0.0. Rewrite `regex_matchall('^foo$', ['foo', 'bar'])` as `op(length(['foo', 'bar'][?regex_match('^foo$', )]), '==', length(['foo', 'bar']))`.

New features:

- New [`crossJMESPathsMatch` verb](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#crossjmespathsmatch) for [`jmespath` plugin](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#jmespath).
- New [`ifFilesExist` conditional](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#iffilesexist).
- New custom functions for [`jmespath` plugin](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#jmespath): [`shlex_split`](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#shlex_split) and [`shlex_join`](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#shlex_join).
- Custom function [`op`](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#op) now can handle [sets](https://docs.python.org/3/library/stdtypes.html#set) operations.
- New [text serializer](https://mondeja.github.io/project-config/0.4.0/in-depth/serialization.html#text) as fallback for all text files.

Enhancements:

- Better errors catching fetching and serializing files.
- Values validation in [`inclusion` plugin](https://mondeja.github.io/project-config/0.4.0/reference/plugins.html#inclusion) actions.

0.3.1

Bug fixes:

- Fix error fetching styles when `rootdir` not specified.

0.3.0

New features:

- Accept recursive globs in `files` properties of rules.
- New verb [`excludeContent`](https://mondeja.github.io/project-config/0.3.0/reference/plugins.html#excludecontent) to assert that content does not exist in files.
- Allow to specify [hints](https://mondeja.github.io/project-config/0.3.0/reference/styling.html#hint-string) in rules.
- Add `show plugins` command.
- Allow to specify custom colors in CLI reporters.
- Allow to configure CLI execution from configuration file.

Bug fixes:

- Fix error processing multiple conditionals in the same rule.
- Fix encoding error on Windows.

Enhancements:

- Allow to pass options in flexible order to CLI.
- Set environment variable `PROJECT_CONFIG` while CLI is running.
- Added `--no-cache` option to CLI.
- Retry connections in requests.

0.2.0

Bug fixes:

- Fixed default reporter not outputting actions when executing `project-config show style`
- Fixed some errors serializing `.editorconfig` files
- Fixed absolute file paths resolving in Windows

Improvements:

- Improved error message showing not found local extended relative styles filenames.
- A lot of improvements in documentation

New features:

- Added `show cache` subcommand to output the cache directory location.
- Allowed to add third party reporters through plugins entrypoints
- Included pytest plugin in distribution for easy testing of third party plugins

0.1.0

First beta release

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.