-
(Breaking) Remove static lifetime from
Page
struct (#31 thanks @KaioFelps). This allows for more flexible lifetimes in thecomponent
string reference, for e.g. dynamically generated component names. -
The
Vite::Development
struct now accepts abase
param to set a path prefix on development vite script tags. (#35 thanks @Dsaquel)
- Supports https for vite development (thanks @Dsaquel #32)
- Now supports precalculated integrity hash in the manifest file (via
integrity
field).
- Now supports vite development with React.
- A new
Props
trait is added for use withInertia::render
. Objects that implementProps
know how to serialize themselves to json and are passed information about "partial" Inertia reloads to exclude certain fields. This trait can hopefully eventually be used to implement a derive macro for prop types that support things like lazily evaluated props.
- Now uses the original request url in the props response. This fixes nested routers.
- Split configuration to a new
InertiaConfig
struct
- Update to axum 0.7.
- Doc updates.
Initial release.