Changelog
0.10.0 - 2025-02-13
Features:
Support templates in the single file (#44)
Bugs:
Add missing license file (#49)
Fix view decorators when used with
@app.route
(#50)Fix incorrect convert command in readme (#53)
Fix missing arguments in
string_view
(#54)
Thanks to:
lybtt for the readme fix (#53)
0.9.2 - 2024-10-14
Bugs:
Fix kwarg handling in string_view decorator (#31)
Docs:
Fix incorrect tutorial syntax (#32, #33)
Thanks to:
최병욱 (esc5221) for providing the kwarg handling fix (#31)
Abdulwasiu Apalowo (mrbazzan) for providing doc fix (#32, #33)
0.9.1 - 2024-09-27
Bugs:
Fix instance name detection (#21, #22)
Fix dev mode ASGI (#23)
Docs:
Fix incorrect doc reference (#16)
Fix incorrect tutorial syntax (#15, #16)
Fix incorrect convert command invocation (#25)
Fix incorrect troubleshooting syntax (#26)
Thanks to:
Simon Willison (simonw) for providing doc fixes (#15, #16)
vincent d warmerdam (koaning) for providing doc fixes (#26)
0.9.0 - 2024-09-21
Features:
nanodjango serve
command for production deploymentsStatic files are now served using
whitenoise
Serve static files in the site root from
PUBLIC_DIR
dir (defaultpublic
)
Breaking changes:
nanodjango run
is nownanodjango manage
, mirroringmanage.py
.nanodjango manage
no longer callsrunserver
by default.nanodjango start
is nownanodjango run
, differentiating it fromserve
.Django.run()
is nowDjango.manage()
Django.start()
is nowDjango.run()
0.8.1 - 2024-09-07
Changes:
Add async API detection for async endpoints registered with
@app.api
0.8.0 - 2024-09-07
Feature:
Async support
Changes:
Add
uvicorn
as a dependency for ease of use
Bugfix:
Fix issue where scripts without models could fail on
migrate
Fix issue where the app may not fully initialise when run as WSGI
0.7.1 - 2024-06-25
Feature:
Serve static and media by default (#9)
Support
name
argument in@app.route
(#11)
0.7.0 - 2024-06-19
Feature:
Embed support for django-ninja through the
@app.api
decorator. (#7)
Changes:
New
build_app_api
andbuild_app_api_done
plugin hooks
0.6.1 - 2024-06-14
Bugfix:
Fix remaining hard-coded references to
app
in user source, updatescale.py
to usedjango
instead ofapp
to test. (#8)
0.6.0 - 2024-05-17
Feature:
Add
start
command to create and initialise the database
Thanks to:
Chris Beaven (SmileyChris) for suggesting a lower effort start (#4)
Lincoln Loop for supporting this release
0.5.0 - 2024-05-14
Feature:
Support regular expression paths and path includes
Add plugin system to the converter for third-party extensions
Add django-ninja converter plugin for
NinjaAPI
and exampleAdd docs for writing converter plugins
Changes:
Command line argument order has changed from
<script> <cmd>
to<cmd> <script>
Script can now be specified as a module, eg
foo
instead offoo.py
Django instance no longer needs to be
app
- its name can be specified as<script>:<name>
(egcounter:myapp
orcounter.py:myapp
), or can be auto-detected.ADMIN_URL
is now optional - the admin site will be enabled if there are any admin decorators present
Internal:
Remove redundant cleaning of leading slash in paths
Improved gitignore
Thanks to:
Eric Matthes (ehmatthes) for removing the redundant cleaning of the leading slash, improving the gitignore (#2), and rewriting the contributor docs (#3)
Chris Beaven (SmileyChris) for suggesting the command line changes (#5)
0.4.0 - 2024-04-21
Feature:
Add support for CBVs
Add support for running management commands from within a script
WSGI mode now runs with
DEBUG=False
by defaultDocument usage with
pipx run
Bugfix
Fix template path
0.3.0 - 2024-04-14
Feature:
Add
convert
command to turn a single file app into a full Django projectAdd settings
EXTRA_APPS
,SQLITE_DATABASE
andMIGRATIONS_DIR
Add WSGI support
Rename project from
django-flasky
0.2.0 - 2024-04-01
Feature:
Admin support
Add setting
ADMIN_URL
0.1.3 - 2023-10-19
Fix:
Python compatibility issue in run command
0.1.2 - 2022-11-25
Docs:
Correct examples
0.1.1 - 2022-11-25
Docs:
Correct packaging metadata
0.1.0 - 2022-11-25
Initial release as django-flasky