Skip to content

Releases: danwilliams/terracotta

Release 0.4.1

12 Nov 08:46
Compare
Choose a tag to compare

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

23 Sep 08:11
Compare
Choose a tag to compare

Added

  • Added a lib.rs file so that Terracotta is now a library, with:
    • app module
    • assets module
    • auth module
    • errors module
    • health module
    • stats module
  • Added working examples
    • full example with all features enabled
    • minimal example with only the core features enabled
    • api 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

22 Sep 03:35
Compare
Choose a tag to compare

Added

  • Added loading of HTML templates from the local filesystem at runtime
    • New utility::render() function
    • New configuration settings
  • 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

21 Sep 09:56
Compare
Choose a tag to compare

Added

  • Added /api/version endpoint to health 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 to tower-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

28 Oct 11:59
Compare
Choose a tag to compare

Added

  • Added health module
    • Added /api/ping endpoint
  • 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 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

25 Sep 11:19
Compare
Choose a tag to compare

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

18 Jun 17:30
Compare
Choose a tag to compare

Added

  • Added host option to config
  • Added Rustdoc source code documentation

Changed

  • Improved README documentation

Release 0.1.1

15 Jun 14:00
Compare
Choose a tag to compare

Changed

  • Updated crate dependencies
  • Improved README documentation

Release 0.1.0

15 Jun 13:59
Compare
Choose a tag to compare

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