Palm

Latest version: v2.6.0

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

Scan your dependencies

Page 1 of 3

2.6.0

Changed

- `run_in_docker` is abstracted to a utility function, allowing plugins to
execute commands in the docker container without needing to import the
environment object.

Removed

- `run_in_shell` is removed in favor of `run_in_docker`. This has been
deprecated since v2.0.0

2.5.3

Fixed

- **Modern Docker compose** Switch all docker-compose commands to use the modern
`docker compose` syntax and remove dependency check for docker-compose. This
change was made to support the new docker-compose v2.0.0 syntax, which is
widely used in the community. docker-compose is reaching end of support next
month.

2.5.2

Fixed

- **Pyyaml v6 support** Removed upper version pin for pyyaml to support v6.0.0

2.5.1

Fixed

- **Plugin config update** was returning boolean, needed to also return the config.

2.5.0

Added

- **Global palm** allows palm to run outside of initialized git projects.
This feature opens up many new possibilities for automation with palm,
including project scaffolding with cookiecutter, machine setup, and
global plugins that can do just about anything!
- **Project scaffolding** with cookiecutter. Palm now includes cookiecutter
for scaffolding new projects. Why would you use palm for this, instead of
using cookiecutter directly? Because with palm, you're able to configure a set
of default cookiecutter templates, which helps keep projects consistent.
Every developer, on every team, should use the same set of templates!
- **Plugin Configs** enable plugins to define a configuration object which is
persisted in the .palm/config.yml. Configurations are defined by the plugin
and made available to each command via the palm environment. The next release
of palm-dbt will include a working example of Plugin Configuration!
- **Pre-commit** Added pre-commit hooks to palm to improve contributor
experience.
- **Continuous deployment** via github actions workflow.
- **Additional Dependencies** palm-cli now depends on cookiecutter >= 2.0 for
project scaffolding via `palm new` and pydantic >= 1.9 for Plugin Configs.

Changed

- **linting & cleanup** as a result of adding more tools in out pre-commit
hooks, we also cleaned up some poorly formatted files in the project!.
- **Use pass_obj** all core commands now use `click.pass_obj` to provide the
palm environment to the command, rather than the more convoluted
`click.pass_context()`

2.4.1

Changed

- **Improved layout for palm --help**: Palm help now outputs the command list in
groups based on the plugin the command originates from! This is particularly helpful
when working in a project that defines uses plugins, defines it's own commands,
and you have global plugins installed!

Fixed

- Fixed a path issue for windows users when using code_gen or palm init
- Fixes a potential security vulnerability when upgrading plugins via
`palm plugin update`
- Fixes a number of other small issues detected by CodeQL static anlysis

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.