c869783b0b
Build/dev emoji logging improved. Restored old plain lines, using intentionally different emoji than the main package.
main
v1.7.2
LeoVasanko2026-09-18 17:36:17 +00:00
d1e82b5955
Treat dict log_config without a version key as an overlay on uvicorn defaults.
v1.6.2
LeoVasanko2026-09-16 03:47:48 +00:00
5730e5dd01
Document logging principles under the server section.
LeoVasanko2026-09-16 02:52:46 +00:00
3a9c5d1674
Set root logger level by dev mode, drop kanta logging config.
LeoVasanko2026-09-16 02:22:35 +00:00
22d9fe350b
Migrate pre-1.6 DEVMODE to fastapi_vue.env with in-place patching, run uv sync after dependency changes.
v1.6.1
LeoVasanko2026-09-14 04:22:24 +00:00
42adf6120d
Replace startupbox in code box with an actual screenshot.
LeoVasanko2026-09-14 03:09:28 +00:00
5ab12187bd
Add new screenshot of a simulated My App run.
LeoVasanko2026-09-14 03:05:17 +00:00
ab2d721723
Devutil ready() now logs and raises RuntimeError on timeout.
LeoVasanko2026-09-13 05:25:25 +00:00
2d7e119161
server: listen on both loopback families for localhost.
LeoVasanko2026-09-13 05:25:25 +00:00
d4f835428b
Update vite-plugin-fastapi.js formatting to match modern vue/prettier/biome defaults.
LeoVasanko2026-09-13 04:29:33 +00:00
1a22ec9dce
devutil template made fully compatible and ruff-clean across python 3.11-3.14 target projects.
LeoVasanko2026-09-13 04:12:13 +00:00
02b3890cd3
Proper error messages on npm and port check failures, avoid leaking asyncio tasks.
v1.5.0
LeoVasanko2026-09-12 05:50:52 +00:00
4c0be1bfa7
Forward extra args to create-vue, e.g. for no-interactive use.
LeoVasanko2026-09-12 05:15:50 +00:00
beca6806ef
Tidy up HTTP client; nowadays we have UTF-8 headers.
LeoVasanko2026-09-12 04:56:18 +00:00
c25835f467
Rewritten devutil.ProcessGroup with proper handling of subprocess deaths
LeoVasanko2026-09-08 02:14:26 +00:00
38d5402045
Enable colored access log, tracerite and other software when running under systemd/journald which support colors (journalctl -ocat) and can strip them off (any other output mode). Sets environment FORCE_COLOR to full color if conditions are met. This is intended to affect all other modules and child processes alike (set NO_COLOR or FORCE_COLOR to override).
v1.4.2
LeoVasanko2026-09-03 17:27:48 +00:00
4f09622241
Suppress watchfiles "INFO: 1 change detected" which is useless given we already get a WARNING about which file and Reloading...
v1.4.1
LeoVasanko2026-09-02 13:56:25 +00:00
372d91bf49
Pin fastapi-vue minimum patch version to that of fastapi-vue-setup when ran, to force upgrades.
LeoVasanko2026-08-31 21:14:04 +00:00
b0b216b784
Run backend as module (python -m) in devserver instead of PATH-installed CLI.
v1.4.0
LeoVasanko2026-08-31 20:26:30 +00:00
475a2cdc3c
Cleaner and non-deprecated typing for template app module. Avoids ruff errors with strict configurations.
LeoVasanko2026-08-31 20:14:39 +00:00
be8dc0c513
Don't clear screen on vite startup as that hides our own startup banner.
LeoVasanko2026-08-31 19:53:05 +00:00
e4c21109d9
Prettier logging of errors in lifespan startup/shutdown.
LeoVasanko2026-08-31 19:23:59 +00:00
1287ba4077
Load tracerite for devserver script too.
LeoVasanko2026-08-31 19:23:07 +00:00
9c51b89226
Make missing frontend files non-fatal: log an error and serve the placeholder page instead of raising during lifespan startup
LeoVasanko2026-08-31 18:48:27 +00:00
d5e94a2186
Startup box: server.run() prints app name, version and connect URL in a rounded unicode box on stderr. Shared termwidth module for ANSI-aware unicode display width and padding.
LeoVasanko2026-08-31 17:57:27 +00:00
c65d8eaa12
Target project no longer depends on httpx but depends on ~matching fastapi-vue version. Ruff cleanup.
LeoVasanko2026-08-31 17:06:35 +00:00
cb0b1f067d
A hack to silence INFO level log chatter from uvicorn, while still doing this via log config.
LeoVasanko2026-08-31 16:22:16 +00:00
5dbe9a0dcd
Ignore executable flag of the temporary file being used to build devserver script.
LeoVasanko2026-08-31 15:52:56 +00:00
0bba199376
Implement a pretty logging config by default. Emoji levels. Fixes root logger info being lost and warning+ printing with lastResort without any formatting. Replaces uvicorn's default formatter and log config that the author is not willing to fix (any time soon).
LeoVasanko2026-08-31 15:52:23 +00:00
a5b7d88a89
Fix typo in devserver.py comment
LeoVasanko2026-08-25 23:41:46 +00:00
03aa31cedb
Implement smarter reload handing on fastapi_vue.server(), simplify __main__, reload the main folder regardless of CWD.
LeoVasanko2026-06-29 18:49:18 +00:00
ec6a084969
Fix hardcoded project dir in template __main__.py (regression in commit 1b24a7).
LeoVasanko2026-06-29 18:18:04 +00:00
15a6710c17
[lint] Format template after change.
LeoVasanko2026-03-08 17:35:02 +00:00
dcaf415032
Fix a typing issue with the fastapi-vue staticfiles module causing problems with SPA mode handler.
v1.3.1
LeoVasanko2026-03-08 17:30:42 +00:00
682d70cb23
Cleanup for ALL ruff checks, and re-ruff to target project settings when installing templates, avoiding formatting errors after patching.
LeoVasanko2026-03-08 15:25:52 +00:00
1aaf040db7
Make devserver backend health check endpoint configurable, preserved in upgrades and optional.
v1.2.0
LeoVasanko2026-03-07 23:55:10 +00:00
aac27da67c
Suppress CancelledError along with KeyboardInterrupt as a normal exit from server.run().
v1.1.1
LeoVasanko2026-02-18 17:50:34 +00:00
79e645a263
Add parse_endpoints helper function that handles complicated listen structures alike server.run() already did, returning a simple list of every endpoint.
v1.1.0
LeoVasanko2026-02-18 17:05:10 +00:00
8b8a24a6b2
Determine app module path correctly even when in a submodule. A bit cleaner dev options.
v1.0.2
LeoVasanko2026-02-11 20:41:36 +00:00
cb6017cedf
Find custom CLI main before looking up existing DEFAULT_PORT. Cleaner messages when Vue doesn't need patching.
LeoVasanko2026-02-11 20:27:35 +00:00
9469d57f90
Better patching with existing custom main modules. Print all .new.py needing migration at the end.
v1.0.1
LeoVasanko2026-02-11 18:35:28 +00:00
1ce0fffe3e
Use dev port as default fallback in vite-plugin-fastapi, instead of default port. No effect on invocations via devserver script.
v1.0.0
LeoVasanko2026-02-11 18:15:57 +00:00
26a77dcf84
Cleaner messages while running the setup.
LeoVasanko2026-02-10 16:39:45 +00:00
38c9ffe00b
Add --version, rename --dry-run to just --dry.
LeoVasanko2026-02-10 16:29:30 +00:00
b87984af9a
Consistent form of CLI arguments.
LeoVasanko2026-02-10 16:16:32 +00:00
d3b6fccce0
The devserver now takes --listen for vite endpoint rather than a positional argument. Changed FRONTEND_URL to VITE_URL and streamlined terminology elsewhere.
LeoVasanko2026-02-10 16:09:07 +00:00
b94608ffe3
Run ruff within local venv (otherwise required system path which did not include the venv with uv tool install).
v0.8.3
LeoVasanko2026-02-09 16:03:30 +00:00
ef6bce8f3f
Use the CLI script rather than python -m for running the main app from devserver.
LeoVasanko2026-02-09 15:55:08 +00:00
b8bf46132a
Reload arguments passed differently to avoid uvicorn warning in prod mode.
v0.8.2
LeoVasanko2026-02-06 22:43:00 +00:00
4bf102579a
Added automatic handling of FastAPI debug mode. Use templating more completely to enable project name as env prefix etc.
LeoVasanko2026-02-06 19:05:36 +00:00
fbed7873e5
[fastapi_vue] Further cleanup, wildcards for favicon.
LeoVasanko2026-02-06 18:09:22 +00:00
008b3593db
[fastapi_vue] StaticFiles cleanup: use app.debug rather than env variables; default assets caching.
LeoVasanko2026-02-06 17:21:40 +00:00
c300a1a291
Simplified uvicorn running in multiprocess mode, avoiding a crash on Windows when it couldn't setup threads (running from a worker thread).
v0.7.1
LeoVasanko2026-02-02 21:02:34 +00:00
bdfaa22b0c
Another file extension showing, swapping to stem for logging.
LeoVasanko2026-02-02 20:47:32 +00:00
47e5ec279c
Hide tool.CMD .EXE etc. from logs, makes Windows cleaner.
LeoVasanko2026-02-02 20:42:18 +00:00
093b83737e
Improved status messages, added a note of not installing main CLI entry point.
LeoVasanko2026-02-02 20:35:30 +00:00
a84041a923
Refactor with new fastapi-vue utility module to run the server, used in CLI main and devserver to run the main app. Default ports made part of templating, so that --ports can be easily specified to fastapi-vue-setup to customize (respects earlier choices when no --ports is specified). New overall default ports 3100, 3200.
v0.7.0
LeoVasanko2026-02-02 19:56:31 +00:00
9a9a00380f
Add a release script to simplify building both.
LeoVasanko2026-02-02 19:53:06 +00:00
0e4f8f65f2
Moved fastapi-vue project to fastapi-vue-setup repository, using common version numbering (starting with v0.7.0).
LeoVasanko2026-02-02 19:51:45 +00:00