Releases: danwilliams/terracotta
Releases · danwilliams/terracotta
Release 0.4.1
Fixed
- Disabled
Jemalloc
on Windows - Fixed broken links in Rustdocs
Changed
- Updated lint configuration for Rust 1.82
- Updated crate dependencies
- Corrected error in docs
Release 0.4.0
Added
- Added a
lib.rs
file so that Terracotta is now a library, with:app
moduleassets
moduleauth
moduleerrors
modulehealth
modulestats
module
- Added working examples
full
example with all features enabledminimal
example with only the core features enabledapi
example suitable for building APIs
Changed
- Changed Terracotta from being a binary template into a library, with a full restructuring of the codebase
- Updated documentation
Removed
- Removed
main.rs
and non-library functionality (available as examples now) - Removed the
Dockerfile
as this is no longer relevant
Release 0.3.2
Added
- Added loading of HTML templates from the local filesystem at runtime
- New
utility::render()
function - New configuration settings
- New
- Added custom JS and CSS files
Fixed
- Added a missing OpenAPI type definition
Changed
- Amended page title headings to apply line via CSS instead of using
HR
tags - Tweaked fonts for main text plus
H1
/H2
/H3
- CSS tweaks
Release 0.3.1
Added
- Added
/api/version
endpoint tohealth
module - Added MSRV (Minimum Supported Rust Version) in
Cargo.toml
, set to 1.81.0 - Added standard linting configuration
- Added missing documentation
Changed
- Upgraded from
axum-sessions
totower-sessions
- Upgraded to Axum 0.7 and Hyper 1.0
- Updated Font Awesome from 6.4.0 -> 6.6.0
- Updated Bulma from 0.9.4 -> 1.0.2
- Adjusted logo/nav CSS for dark mode
- Changed Titlecase configuration fields to lowercase
- Improved utility functions
- Updated crate dependencies
Release 0.3.0
Added
- Added
health
module- Added
/api/ping
endpoint
- Added
- Added
stats
module- Added
/api/stats
endpoint with request count, response count, response times, open connections, memory usage, summary data per period, and breakdown per endpoint - Added
/api/stats/history
endpoint with type selector and from/limit constraints - Added
/api/stats/feed
websocket endpoint with type selector - Implemented using a central statistics queue and circular buffers for historical data
- Per-second tick clock to keep statistics up-to-date
- Configurable buffer sizes and summary periods
- Added
- Added OpenAPI functionality, including UIs for Swagger, Rapidoc, and Redoc
- Added developer documentation
- Added API integration documentation
Changed
- Changed memory allocator to
jemalloc
- Improved error logging
Release 0.2.0
Added
- Added serving of protected assets from a
content
folder - Added loading of static assets from the local filesystem at runtime (configurable)
- Implemented streaming of large static assets (configurable)
- Added
Dockerfile
for building and running the application in a Docker container - Added logo and example content
Changed
- Updated crate dependencies
Release 0.1.2
Added
- Added host option to config
- Added Rustdoc source code documentation
Changed
- Improved README documentation
Release 0.1.1
Changed
- Updated crate dependencies
- Improved README documentation
Release 0.1.0
Added
- Implemented Axum web framework
- Added Figment to manage configuration
- Added Tokio Tracing for logging and event tracing
- Added Tera template engine
- Added serving of static files
- Added Bulma CSS framework
- Added Font Awesome
- Implemented authentication
- Implemented error handling
- Added README documentation