========= Changelog ========= All commits to this project will be documented in this file. [unreleased] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Bug Fixes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`e134a29 `_) - Set volume mounts explicitly to avoid mounting `.venv` and `node_modules` not built in the container. (Cody Fincher) * (`cb80d8e `_) - Correct test case (Cody Fincher) * (`0900927 `_) - Updated pre-commit config (Cody Fincher) * (`875c672 `_) - Tests update (Cody Fincher) * (`7ec1e02 `_) - Cleanup the output. remove useless except block (Cody Fincher) * (`c635168 `_) - Logging cleanup (Cody Fincher) * (`2c35d8e `_) - Corrected type hints (Cody Fincher) * (`d3b8f62 `_) - Updated test cases (Cody Fincher) * (`b407044 `_) - Ensure logger is configured in worker processes (Cody Fincher) * (`c8e1bab `_) - Update name (Cody Fincher) * (`968d8a8 `_) - Updated symlink path for build dir. Moved web folder. (Cody Fincher) * (`02c1b7b `_) - Simplify expression (Cody Fincher) * (`1b7a54e `_) - Updated startup configuration. add exists statement. (Cody Fincher) * (`52e09ec `_) - Version updates (Cody Fincher) * (`f2e07da `_) - Squashed and re-applied migrations as a test. Please reset database if you've used the DB already. (Cody Fincher) * (`275ef1b `_) - Adds tailwind and existing js dotfiles to node container (Cody Fincher) * (`304b249 `_) - Pass kwargs into structlog.getLogger (Cody Fincher) * (`5addca6 `_) - Slight re-org (Cody Fincher) * (`4c642ea `_) - Remove the need for an extra file. (Cody Fincher) * (`292ea06 `_) - Remove unnecessary try/finally (Cody Fincher) * (`72dc79c `_) - Rename logger -> log (Cody Fincher) * (`6432fa8 `_) - Correct endpoint path (Cody Fincher) * (`1e37673 `_) - Remove unused logger calls (Cody Fincher) * (`b74bb0f `_) - Split user controllers into separate files (Cody Fincher) * (`d135cf2 `_) - Simplify repo (Cody Fincher) * (`df3c0cd `_) - Remove symlink (Cody Fincher) * (`17f6d3d `_) - Remove extra ignore (Cody Fincher) * (`ab502b6 `_) - Simplify worker command (Cody Fincher) * (`10c6ca5 `_) - Swap to distroless (Cody Fincher) * (`f135b5d `_) - Finish swap to distroless 3.11 (Cody Fincher) * (`f2a5d2e `_) - Additional docker cleanup (Cody Fincher) * (`fb5290c `_) - Adjusts config (Cody Fincher) * (`b4c86b6 `_) - Remove example endpoint. adjust vite config (Cody Fincher) * (`cbf96d6 `_) - Adds in the asset directory of vite as a static path when running in dev mode (Cody Fincher) * (`0a5747b `_) - Ignore changes to public dir. this is populated by `npm run build` (Cody Fincher) * (`1adab79 `_) - Correct reference (Cody Fincher) * (`2de8619 `_) - Variable name usage (Cody Fincher) * (`dabfc84 `_) - Rename methods to private (Cody Fincher) * (`2b33371 `_) - Assume public is unchanged. This prevents the changes from a build showing here. (Cody Fincher) * (`0a966e0 `_) - Adds polyfill required for running with a remote backend (Cody Fincher) * (`64634cb `_) - Adds additional ruff checks (Cody Fincher) * (`b25edd1 `_) - Linting updates (Cody Fincher) * (`02c99ee `_) - Doc updates (Cody Fincher) * (`958aa30 `_) - Remove unused reference to GCP service account (Cody Fincher) * (`27fcac2 `_) - Move into type checking block (Cody Fincher) * (`dc86c8b `_) - Swap to AsyncCallable (Cody Fincher) * (`b7f7621 `_) - Enable UI build and integration into docker image (Cody Fincher) * (`a35fc31 `_) - Updated container (Cody Fincher) * (`dd64785 `_) - Permissions in build image for running it as non-root in dev (Cody Fincher) * (`73cdb05 `_) - Cleanup (Cody Fincher) * (`461e171 `_) - Updates configuration to use recently merged response_cache & stores config (Cody Fincher) * (`b0089bf `_) - Call uvicorn as a subprocess. (Cody Fincher) * (`c2d935c `_) - Update forward refs. fixes 1 of 2 issues for inserts (Cody Fincher) * (`b405aa3 `_) - Correctly call model from dict for all methods (Cody Fincher) * (`1a32a2c `_) - UUID serializer issue (Cody Fincher) * (`3310e37 `_) - Updated provide user (Cody Fincher) * (`1498dfe `_) - Additional 2.0 adjustments (Cody Fincher) * (`ea7f1f5 `_) - Move `joined_at` and `verified_at` to datetime (Cody Fincher) * (`2fa75a3 `_) - Return User schema instead of user model (Cody Fincher) * (`ebbcce5 `_) - `Request` has no attribute `to_dict` error (Cody Fincher) * (`ec798ad `_) - Adds worker command and updated CLI markdown (Cody Fincher) * (`257260d `_) - Remove extra tag from User controller (Cody Fincher) * (`d7f0e41 `_) - Prevent duplicate log messages from the `sqlalchemy.pool` loggers. (Cody Fincher) * (`315a6c8 `_) - Updated build process & repository enhancements (#13) (Cody Fincher) * (`0be2059 `_) - Updated process handling & run as factory (Cody Fincher) * (`e8614ec `_) - Re-add accidentally removed `profile` route (Cody Fincher) * (`8de65f0 `_) - Additional tests and adjusted dependency (Cody Fincher) * (`15b9901 `_) - Move aiosql into query files. Add paginated results helper (Cody Fincher) * (`14f841c `_) - Enable base model caching (Cody Fincher) * (`2ef4c2e `_) - Simplify aiosql class (Cody Fincher) * (`40f392f `_) - Remove extra variable (Cody Fincher) * (`ad0b612 `_) - Remove the `from_orm` override in preference of a `association_proxy` (Cody Fincher) * (`e2787b0 `_) - Corrected test cases. (Cody Fincher) * (`0627aa5 `_) - Remove extra ``DB_`` prefix from a few settings (#18) (Patrick Armengol) * (`0f4140d `_) - Various test case corrections and enhancements (Cody Fincher) * (`0589818 `_) - Corrects tests and worker launch process (#21) (Cody Fincher) * (`b1a62a9 `_) - Corrections to docker build process (#33) (Cody Fincher) * (`31bda77 `_) - Correct run command (Cody Fincher) * (`19de705 `_) - Remove unused make entry. updated env example (Cody Fincher) * (`110c1e8 `_) - Adds local flag to poetry config. (Cody Fincher) * (`4d70b37 `_) - Migrate to updated model names for sqlalchemy (Cody Fincher) * (`918d45d `_) - Correct remaining test case for filter deps (Cody Fincher) * (`07e5c79 `_) - Address new `sync_to_thread` warnings and other test fixes (Cody Fincher) * (`7b3f20b `_) - Use self-hosted saq UI (Cody Fincher) * (`f16c82e `_) - Update timeout to prevent max job duration from exceeding. (Cody Fincher) * (`1abf102 `_) - Remove extra call (Cody Fincher) * (`4c35cbb `_) - Version bumps (Cody Fincher) * (`81d3343 `_) - Moved signature namespace from `asgi.py`, separated `aiosql` module for easier removal. (Cody Fincher) * (`1790f80 `_) - Parameter has been removed upstream (Cody Fincher) * (`2d00d73 `_) - Additional updates for upstream changes. (Cody Fincher) * (`d46df10 `_) - Adds updates tests (Cody Fincher) * (`85bfbc8 `_) - Upgrade to litestar beta. squashed migrations to enabled DateTimeUTC columns. (Cody Fincher) * (`90031f8 `_) - Updated readme (Cody Fincher) * (`bc6ef7f `_) - Updated readme (Cody Fincher) * (`14c588a `_) - Remove outdated type_encoder (Cody Fincher) * (`f474ce4 `_) - Updates for the orm sentinel changes (Cody Fincher) * (`3ef9264 `_) - Pydantic v2 support + latest litestar support (Cody Fincher) * (`4c83899 `_) - Docker build improvements (Cody Fincher) * (`2a12cad `_) - Reference library version as default openapi version (Cody Fincher) * (`e460d5d `_) - Additional deprecation changes (Cody Fincher) * (`c683d30 `_) - Updated signature namespace (Cody Fincher) * (`891e732 `_) - Docker compose shell command (#40) (Faolain) * (`5fcc4e2 `_) - Handle breaking change from middleware updates to litestar (#44) (Faolain) * (`a755dd0 `_) - Update pre-commit, remove re2 (Cody Fincher) * (`9b6c38e `_) - Remove `mypy.ini` reference from Dockerfile (Cody Fincher) * (`2be7ac7 `_) - Update copy-pasted description of the `reset-database` CLI command (#47) (0xSwego), Co-authored-by:0xSwego * (`7a2f79c `_) - Update `cp .env` command in documentation (#46) (0xSwego), Co-authored-by:0xSwego * (`eeec275 `_) - Use built in auto-commit handler (#63) (Cody Fincher) * (`5d57a00 `_) - Make sure sessions are closed in tests (#62) (0xSwego), Co-authored-by:0xSwego * (`ad118e8 `_) - Cleanup tests and correct imports (#71) (Cody Fincher) * (`d9aa54d `_) - Small typo using print (#79) (Manuel Sanchez Pinar) * (`62733bd `_) - Correct `aiosql` import (#84) (Cody Fincher) * (`64da7b7 `_) - Update ``.env`` ``alembic.ini`` path (#86) (Jacob Coffee) * (`f23d181 `_) - Run async tests with `anyio` and `asyncio` backend (#89) (Franz) * (`8a89fa1 `_) - Handle default behaviour change in `CollectionFilter` for empty lists (#90) (Cody Fincher) * (`6303474 `_) - Updates for `AsyncCallable` changes (#94) (Cody Fincher) * (`e188969 `_) - Adds anyio marker (#95) (Cody Fincher) * (`492cec6 `_) - Add infrastructure checks for `redis` and `postgres` (#99) (Cody Fincher), Co-authored-by:Faolain * feat: use `docker-compose` in test or by config * feat: remove unused extra code * chore: bump deps ---------, Co-authored-by:Kumzy , Co-authored-by:Faolain Documentation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`9463734 `_) - Adds banner artwork for future updates (#61) (Cody Fincher) * (`80ad7e4 `_) - Update README.md features (#68) (Tom V), Co-authored-by:Cody Fincher <204685+cofin@users.noreply.github.com> * (`464043e `_) - Fix pdm install command (#93) (Faolain) FIX ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`5997f90 `_) - Change 401 to 403 for insufficient privileges (#10) (Benjamin Pereto) * (`95f19b3 `_) - Fields for Before and After filters (#9) (Benjamin Pereto) Features ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`044e271 `_) - Dynamically set the reload dir based on module path. (Cody Fincher) * (`7259fc8 `_) - Launch worker in-process or as standalone with CLI flags. (Cody Fincher) * (`5b2bdb7 `_) - Adds ruff integration (Cody Fincher) * (`dfa670d `_) - Renamed background worker setting name (Cody Fincher) * (`ca68c70 `_) - Add slugify function (Cody Fincher) * (`5d4a803 `_) - Argon2 crypt config (Cody Fincher) * (`b559622 `_) - Security config (Cody Fincher) * (`1a70320 `_) - Implement base of team domain (Cody Fincher) * (`0a68149 `_) - Additional updates for teams (Cody Fincher) * (`f7ca0a0 `_) - Adds CLI test case (Cody Fincher) * (`f66df49 `_) - Updated uvicorn.run, added base schema, (Cody Fincher) * (`28f3d78 `_) - Refactored user auth service (Cody Fincher) * (`45d6d29 `_) - Implements new command to start worker independently. (Cody Fincher) * (`5a6a003 `_) - Team guards (Cody Fincher) * (`c679211 `_) - Adds HTMX library (Cody Fincher) * (`571d81c `_) - Updated build process to also download wheels if needed (Cody Fincher) * (`ea2d0eb `_) - Adds js for generating routes. adapted from flask-inertia (Cody Fincher) * (`4ee18d5 `_) - Launches vite in a separate process (Cody Fincher) * (`3edd174 `_) - Moves to signature provider (Cody Fincher) * (`f09c144 `_) - Utilize the `ruff` and `pre-commit` configurations from `starlite` (Cody Fincher) * (`3e4a4ad `_) - New controllers and commands (#8) (Cody Fincher), Features:- Adds `promote-to-superuser` management command. This allows you to promote an existing user to a superuser from the command line: `poetry run app manage promote-to-superuser --email example@string.com` - Adds `create-user` management command to create users from the CLI. `poetry run app manage create-user` - Adds User Account CRUD routes that require superuser access to utilize (promote your user with the above command to test) - Adds `created`,`updated` Audit columns to model and squashed migrations. Please run `poetry run app manage reset-database` to reset your database with the latest DDL. - Adds base of Team, Team Member, and Team Invitation services. * (`7ae8411 `_) - Adds exists and updated type check logic (Cody Fincher) * (`5c5874b `_) - `litestar` rebrand (#11) (Cody Fincher), Co-authored-by:Cody Fincher * (`b2b87d4 `_) - Team controller and service updates (#12) (Cody Fincher), Co-authored-by:Cody Fincher * (`84a7b2b `_) - Upgrade to Litestar alpha 5 & testing updates (#15) (Cody Fincher) * (`95581da `_) - Adds an example of integrating `aiosql`, `sqlalchemy` and `litestar` (#16) (Cody Fincher), Co-authored-by:Cody Fincher * (`9547e93 `_) - Add additional association proxies (Cody Fincher) * (`4167014 `_) - Basic example of calling the litestar cli from another click app. (Cody Fincher) * (`fccd306 `_) - Adds tests for crypt functions (Cody Fincher) * (`fb666b2 `_) - Adds additional tests for user login (Cody Fincher) * (`2ea42c0 `_) - System health check endpoint and additional test. (Cody Fincher) * (`615cb1d `_) - Serves the SAQ UI through Litestar (#20) (Cody Fincher), Changelog:* fix: removes dict tracebacks that sometimes cause serializing issues * fix: linting changes * feat: updated worker pattern * feat: additional work on saq web UI integration * feat: re-implements saq UI in Litestar. * (`9a419ee `_) - Makefile enhancements. additional serializers in the msgspec handlers (Cody Fincher) * (`d1d0ebf `_) - Adds ability to have tasks and jobs available on different queues. (Cody Fincher) * (`b1ed90b `_) - Move saq to plugin (#34) (Cody Fincher) * (`8701612 `_) - Adds `to_dto` method to service (Cody Fincher) * (`c2a5e16 `_) - App now uses litestar CLI (Cody Fincher) * (`7037c83 `_) - Swap to main branch of litestar (Cody Fincher) * (`661a266 `_) - Add example of default sorts (Cody Fincher) * (`bf3dc66 `_) - Adds example of many-to-many without association table. (Cody Fincher) * (`eedd47b `_) - Moves to dto implementation. (#36) (Cody Fincher) * (`959db41 `_) - Docker build enhancements. (#37) (Cody Fincher) * (`d5d85d8 `_) - Enhanced migration template (Cody Fincher) * (`478c7ef `_) - Implement batched alter statements (Cody Fincher) * (`152cea7 `_) - Create `contrib` folder for easier management of plugins. (Cody Fincher) * (`4466b82 `_) - Move vite into a plugin format (Cody Fincher) * (`d0490d5 `_) - Rudimentary Windows support (#39) (Ephedra), Co-authored-by:3phedra , Co-authored-by:Cody Fincher * (`bf24bb3 `_) - Re-add imports (Cody Fincher) * (`3185c95 `_) - Upgraded support for litestar 2.1.1 (#78) (Cody Fincher) * (`6bf83ba `_) - Enable Alembic CLI integration (#80) (Cody Fincher) * (`01880bd `_) - Swap to `aiosql`, `vite`, and `saq` plugins (#82) (Cody Fincher) * (`0587794 `_) - Move to `advanced_alchemy` services (#85) (Cody Fincher) * (`df72846 `_) - Adds a custom entrypoint (#92) (Cody Fincher) * (`64a2866 `_) - Add version identifier for pdm, railway, rtx, etc. (Jacob Coffee) Miscellaneous Tasks ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`05233d2 `_) - Docstring cleanup. (Cody Fincher) * (`111cbc3 `_) - Documentation update (Cody Fincher) * (`6389a18 `_) - Linting/repo cleanup (Cody Fincher) * (`a12dc28 `_) - Linting updates (Cody Fincher) * (`d899658 `_) - Linting updates (Cody Fincher) * (`584ded7 `_) - Linting updates (Cody Fincher) * (`627021c `_) - Updated ruff config (Cody Fincher) * (`e59748c `_) - Version bumps (Cody Fincher) * (`7cdf5e0 `_) - Added additional note (Cody Fincher) * (`486c0ca `_) - Updated readme.md (Cody Fincher) * (`fdf6fa1 `_) - Add more to the readme (Cody Fincher) * (`43eb065 `_) - Formatting (Cody Fincher) * (`1c85258 `_) - More formatting (Cody Fincher) * (`9cd5d1f `_) - More updates (Cody Fincher) * (`a82fbf5 `_) - Added additional notes and links (Cody Fincher) * (`825b168 `_) - Version bumps (Cody Fincher) * (`4e00391 `_) - Linting updates (Cody Fincher) * (`d38039a `_) - Lint/version bumps (Cody Fincher) * (`046592e `_) - Version bump (Cody Fincher) * (`691770d `_) - Upgrade to beta4 (Cody Fincher) * (`f8baaa6 `_) - Bump actions/checkout from 3 to 4 (dependabot[bot]), Signed-off-by:dependabot[bot] * (`fc91c18 `_) - Migrate to PDM (#81) (Cody Fincher) * (`649cbdd `_) - Align license with litestar-org (#83) (Cody Fincher) * (`06c0b5f `_) - Correct container build issues (#87) (Cody Fincher), fix:address build issues and move to the latest litestar (#87) Testing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`074f8ba `_) - Remove pytest docker and replace with custom implementation (Cody Fincher) Ci ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`b4ae5ee `_) - Move mypy config to pyproject.toml. Address deprecated import (Cody Fincher) * (`1b91b05 `_) - Apply pre-commit (Jacob Coffee) * (`45f7a09 `_) - Fix badges (Jacob Coffee) * (`f11fdc4 `_) - Fix badges (Jacob Coffee) Infra ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`42a8f66 `_) - Set host to `0.0.0.0` instead of `127.0.0.1`. This enables external access to the container. (#60) (Cody Fincher) * (`39ba71b `_) - Fix `source` not found on some shells (#64) (Cody Fincher) * (`0ef30d7 `_) - Adds docker compose for running redis, db, mailhog only (#65) (Cody Fincher) Meta ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`9a84690 `_) - Org updates (#72) (Jacob Coffee) Wip ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * (`84af1da `_) - Begin refactoring for 2.0 (Cody Fincher) Litestar Fullstack Changelog