Skip to content

4.0.0 - fix `cruft update`, reduce renovate noise

Compare
Choose a tag to compare
@JonasPammer JonasPammer released this 22 Sep 08:55
· 37 commits to master since this release
07430c1

Previously, open_source_license used to be an array (for example: ["MIT License", "MIT"]).
The first value was simply a hack for displaying a nice name when creating the cookiecutter.
The second value (MIT) is the actually used name.

To update from previous versions, please do as follows:

  1. Install a previous version of cookiecutter:
pip3 install "cookiecutter<2.3.0"
  1. Execute the following command, replacing "MIT" with the respective name:
cruft update --variables-to-update '{\"open_source_license\":\"MIT\"}'

* To find out the name open_source_license you used when creating your project, you can look into your .cruft.json file at the root of the project.

  1. Reinstall cookiecutter in an up-to-date version :)
pip3 install "cookiecutter>=2.3.0"

Changes Details

Breaking Change

  • fix!: change possible open_source_license values to string-only by @JonasPammer in #141

Other Changes