Releases: kurtmckee/chipshot
v0.8.0
Python support
- Support Python 3.13.
- Drop Python 3.8 support.
Changed
- Show a nice message -- not a traceback -- when a config file contains no configuration.
Documentation
- Switch to
dirhtmlbuilds.
Development
- Separate test, lint, and doc dependencies from project dependencies.
- Migrate to PEP 621 metadata.
- Use Python 3.13 for most build processes.
- Add a reusable workflow to prepare releases.
v0.7.0
v0.6.0
v0.5.0
Added
- Support a top-level
exclusionskey to exclude specific files.
Changed
- Rename the
"extension"configuration key to"extensions".
Documentation
- Add Changelog, License, and Colophon pages.
- Fix TOML syntax in a code sample.
- Add a link to the Chipshot repository.
Development
- Add a Dependabot configuration to auto-update GitHub action versions.
- Add more check-jsonschema pre-commit hooks.
v0.4.0
v0.3.0
Fixed
- Fix a bug that prevented existing headers from being found
if they followed a document prologue.
Changed
-
Standardize how configurations for styles, prologues, and templates are found.
This helps ensure that the most specific configuration for a given file is always used.
For example, code interacting with a file with two extensions (like.jinja.html)
will consistently find a configuration for.jinja.htmlbefore.html. -
Rename
prologtoprologueeverywhere. -
Rename the configuration keys
styleandprologtostylesandprologues. -
Eliminate the
"default"config key.
Development
- Add a workflow that tests Chipshot using GitHub actions.
v0.2.0
Added
- Add two pre-commit hooks:
check-headersandupdate-headers.
Changed
-
Allow template literals in the config file using the
templatekey.
Paths to template files can be defined in thetemplate_pathkey. -
When no configuration file is specified,
.chipshot.tomlwill be loaded first (if it exists).
pyproject.tomlwill still be loaded as a fallback if.chipshot.tomldoesn't exist. -
Rename the
--debugflag to--verbose.
Documentation
- Add initial documentation.
v0.1.0
Initial release
- Support Python 3.8 and higher.
- Detect and retain existing byte order marks in files.
- Detect and retain existing newlines in files.
- Detect and retain existing headers in files that are sufficiently dissimilar to the rendered header.
- Detect and retain existing prologues in files (like hashbangs in scripts, or XML declarations).
- Support custom header styles by file extension.