Language-formatters-pre-commit-hooks

Latest version: v2.14.0

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

Scan your dependencies

Page 3 of 6

2.2.0

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

- Make download of external artifacts resilient to systems with temporary directory on different disk partitions - [psmit](https://github.com/psmit) and [kbalston](https://github.com/kbalston) thanks for your contribution
- Make usage of Google Java Formatter compatible with JDK16+ - [ostrya](https://github.com/ostrya) thanks for your contribution
- Update GoogleJavaFormatter to 1.11.0
- Bump KTlint to 0.42.1
- Misc github workflow updates (testing on Python 3.9, better tracking of tool versions tested, etc.)
- Improved error message in case of Google Java Formatter and KTLint not supported Java Version

ℹ: `pretty-format-java` now supports Java 16+
⚠: `pretty-format-kotlin` supports Java up to Java 15

2.1.0

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

- Bump KTlint to 0.40.0
- Update GoogleJavaFormatter to 1.10.0

2.0.0

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

- Preserve comments in while formatting `ini` files. [PR 45](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/45) - [Skylion007](https://github.com/Skylion007) thanks for your contribution
- Preserve comments in while formatting `toml` files. [PR 46](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/46) - [Skylion007](https://github.com/Skylion007) thanks for your contribution
- ⚠ Drop Python2 support. [PR 48](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/48)
- Update KTLint to 0.40.0

1.6.1

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

- Internal fix of downloaded files path. [PR 43](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/43)

1.6.0

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

- Update KTLint to 0.39.0
- Update GoogleJavaFormatter to 1.9
- Run `pretty-format-java` serially to prevent multiple-downloads of the same Java artifact. [PR 23](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/23) - [ineiti](https://github.com/ineiti) thanks for your contribution
- Internal update of download logic to reduce race coditions while download big artifacts from network. [PR 24](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/24)
- Bump min `pre-commit` supported version. [PR 27](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/27)
- Allow `pretty-format-java` to modify the Google Java Formatter to use (`--google-java-formatter-version` CLI argument). [PR 30](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/30)
- Allow `pretty-format-kotlin` to modify the KTLint to use (`--ktlint-version` CLI argument). [PR 30](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/30)
- Enhance security in commands execution (prevent shell-injection). [PR 38](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/38)

1.5.0

Not secure
------------------

- Add `--preserve-quotes` argument into `pretty-format-yaml`. [PR 16](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/16) - [vbisserie](https://github.com/vbisserie) thanks for your contribution

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.