All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Feat: handle serialization / encoding of prop which are of type list
- this allows passing to inertia, as prop value, a list of models and they will be encoded as expected
- Fix: SSR failed when the inertia server responded with an empty array
- Examples: Add examples for both SSR and non-SSR in vue language.
- [BREAKING CHANGE] Introduce templating via Jinja2 instead of a raw HTML string
- For migration guide, see the migration guide
- [BREAKING CHANGE] Remove deprecated use of
requests
- For migration guide, see the migration guide
- [BREAKING CHANGE] Remove deprecated use of
use_typescript
- For migration guide, see the migration guide
- Deprecate
requests
package for SSR in favour ofhttpx
package- Removed in 1.0.0
- For migration guide, see the migration guide
- Test for deprecation warning for
httpx
package anduse_typescript
configuration option
- Cache vite manifest content
- Better type vite manifest
- Allow for multiple css files to be in the manifest file
- Deprecate
use_typescript
in favour ofentrypoint_filename
in InertiaConfig- Removed in 1.0.0
- For migration guide, see the migration guide
- Introduce root_directory to InertiaConfig instead of assuming it
- Introduce assets_prefix to InertiaConfig instead of assuming it
- Introduce new dev dependency: BeautifulSoup
- Use it instead of manual parsing as this is more reliable and less painful
- Handle better JSONification of Pydantic models
- Use
json.loads(model.model_dump.json())
rather thanmodel.model_dump()
To avoid issues with some common field types (UUID, datetime, etc.)
- Use
- Expose a
_render_json
method on inertia to allow easier overriding.
- Bump FastAPI version from 0.110.2 to 0.111.0
- Update
README.md
and available versions
- Initial release.