Releases: mylanconnolly/typster
Releases · mylanconnolly/typster
v0.7.1
v0.7.0
Update version number
v0.6.0
Fix issue with dinctionary keys
v0.5.2
Prepare for version 0.5.2 which enables nil values
v0.5.1
Prepare 0.5.1 with improved error handling
v0.5.0
Breaking Changes
- This changes the API for the
Typstermodule.. Therender_pdf,
render_png, andrender_svgfunctions no longer have 3 arguments. They now
accept a template string and an options keyword list. To pass variables to the
render functions, you would use thevariableskeyword argument. An example
is listed below:
# Before:
Typster.render_pdf("Hello, #name!", %{name: "Alice"})
# Now:
Typster.render_pdf("Hello, #name!", variables: %{name: "Alice"})Added
- Support system fonts by using typst_kit (thanks gf3!)
- Enable embedding files by supplying the root_path option (thanks gf3!)
Changed
- Significant code deduplication (thanks gf3!)
v0.4.0
Fix code style
v0.3.2
This release was only made because I accidentally retired version 0.3.1 in Hex. Woops!
v0.3.1
Fixed
- Restricted usage_rules dependency to development only
v0.3.0
Added
usage-rules.mdfile with comprehensive LLM usage documentation for when Typster is used as a dependencyCLAUDE.mdfor project-specific LLM instructionsAGENTS.mdfor agent-specific documentation- Precompiled NIF binaries support via
rustler_precompiled - Precompiled binaries for macOS (ARM64 and x86_64) and Linux (ARM64 and x86_64)
- GitHub Actions workflow for automated NIF builds on releases
- Environment variable
TYPSTER_BUILDto force local compilation when needed
Changed
- Updated
comemodependency to v0.5 - Made
rustlerdependency optional (only needed when building from source) - Switched from
use Rustlertouse RustlerPrecompiledin Native module - Updated installation instructions in README to reflect precompiled binary availability