Releases: Tobi-De/falco
v0.23.4
v0.23.0
What's Changed
On the CLI Side
- You can now install
just
along withfalco
by runningpip install falco-cli[just]
.
On the Blueprints Side
- Fix: The
just bumpver
command was generating an incorrect changelog by erasing the latest tag. - Fix: Hide errors and the output of the
just lint
command when runningjust setup
. These errors usually do not need attention and might make users feel like there is an issue. - Feat: Update
django-debug-toolbar
for better htmx support. - Refactor: Remove
django-browser-reload
anddjango-debug-toolbar
from production dependencies. - Refactor: Move the Gunicorn configuration to the project module.
- Fix: Update CI to use the new
just
recipedj
. - Fix: Explicitly add
hatch-pip-compile
to dev dependencies to avoid rare cases where it does not work. - Refactor: Reorganize
justfile
. - Fix: Change the Hatch
docs
environment to inherit from thedev
environment to avoid missing project dependencies when running the docs. - Feat: Include the
changelog
in the docs. - Feat: Add a
just
recipe to build a binary locally using Docker:just build-bin-docker
.
Full Changelog: v0.22.4...v0.23.0
v0.22.3
What's Changed
The main changes here pertain to the blueprints, providing several quality-of-life improvements.
Justfile
The most notable change is the addition of a Justfile to serve as a script runner for the project. Running just
without any arguments will list all available commands. Much inspiration was taken from django-twc-project and scripts-to-rule-them-all. Even if you don't plan to use Just, the file can still serve as a reminder on how to perform certain tasks.
Some examples of the available commands:
just setup # create environments, run migrations, create superuser, and lint
just server # run the Django server
just fmt # run formatting on the whole project
just lint # run linting and formatting on the project
just types # run type checking
just falco crud # run the Falco CRUD command
just dj diffsettings # run the Django diffsettings command
just migrate
just makemigrations
just createsuperuser
The overview guide has been updated to use these new commands.
-
Setup django-watchfiles for faster server reloads in development. In combination with
django-browser-reload
, this makes the feedback loop nearly instant. -
Added bump-my-version and git-cliff for easy changelog generation, provided you follow conventional commits. There is a
just bumpver
command available to easily bump your project version, tag it, and generate aCHANGELOG.md
file to maintain a simple history of the changes made to your project.
Full Changelog: v0.22.2...v0.22.3
v0.22.2
What's Changed
- Auto-update pre-commit hooks by @github-actions in #83
- docs: fix jupyter sphinx config by @lepture in #84
- docs: add lepture as a contributor for bug by @allcontributors in #85
New Contributors
Full Changelog: v0.22.1...v0.22.2
v0.22.1
What's changed
- fix: In the table generated by crud, url images are only displayed when they exist, to avoid fastdev template errors..
Full Changelog: v0.22.0...v0.22.1
v0.22.0
What's changed
- feat: Improve the generated crud code, the table now shows checkmarks for boolean fields and has a better look
- feat: The
create
andupdate
views have been updated to work with models with ImageField or FieldFields.
Full Changelog: v0.21.0...v0.22.0
v0.21.0
What's changed
- feat: Added a
for_htmx
decorator utils for simpler usage for htmx with template partials, the code was copied and adapted from https://github.com/spookylukey/django-htmx-patterns/blob/master/code/htmx_patterns/utils.py
Full Changelog: v0.20.0...v0.21.0
v0.20.0
What's Changed
- stlyle: Improve the crud table style, using icons for the actions tab
- refactor: The default pagge size for pagination is now
10
instead of20
Full Changelog: v0.19.0...v0.20.0
v0.19.0
What's Changed
- Better object list variable name for crud generated index views
- Added the model
verbose_name
to the html blueprints context - restructure start-project docs by @Tobi-De in #71
- Auto-update pre-commit hooks by @github-actions in #73
Full Changelog: v0.18.6...v0.19.0
v0.18.6
Wha's changed
- fix:
work
command fails with a custom user command using theaddress
option
Full Changelog: v0.18.5...v0.18.6