@aiken-lang/aiken
Advanced tools
Changelog
v1.1.11 - UNRELEASED
aiken: New aiken bench
command to run benchmarks. @Riley-Kilgore, @KtorZ
The command is very similar to aiken check
, and will collect and run benchmarks found across the codebase. The output by default is a set of pretty terminal plots for each dimension (mem & cpu) for each test bench. The complete dataset of points can be obtained in a structured (JSON) format by redirecting the output to a file.
aiken-lang: New bench
keyword and capabilities to the test framework. @Riley-Kilgore, @KtorZ
A bench
is a new type of test that takes in a single Sampler<a> = fn(Int) -> Fuzzer<a>
as parameter, similar to how property-based test receive Fuzzer<a>
. A Sampler
is in fact, a scaled Fuzzer which receive a monotically increasing size as parameter. This allows fine-grained control over generated values. Unlike tests, benchmarks can return anything since their output is ignored.
Read more about benchmarks in the user manual.
Changelog
v1.1.10 - 2025-01-21
export
output now supports the functions return_type
. @rvcaswrite_bits
can now be used from aiken/builtins. @Microproofsaiken.toml
file no longer supports v1
and v2
for the plutus version field. @rvcasError::TomlLoading
now looks much better - see #1032. @rvcasaiken uplc decode
on cbor encoded flat bytes. @rvcasChangelog
v1.1.9 - 2024-12-13
aiken new
. See #1061 @Waalgeunconstr_fields
and unconstr_index
. @Microproofs(Linux & MacOS only) Both inline (delimited by single $
symbols) and blocks (delimited by doubled $$
symbols) are now parsed and rendered as SVG upon generating documentation. For example:
$$
g^{z} = g^{r +c \cdot x} = g^{r} g^{x \cdot c} = g^{r} (g^{x})^{c} = g^{r} u^{c}
$$
will display:
$$ g^{z} = g^{r + c \cdot x} = g^{r} g^{x \cdot c} = g^{r} (g^{x})^{c} = g^{r} u^{c} $$
aiken blueprint policy
computing hashes as PlutusV1, instead of relying on the plutus version from the Blueprint. @KtorZChangelog
v1.1.7 - 2024-11-19
check
under a new dedicated flag --show-json-schema
. @KtorZChangelog
v1.1.6 - 2024-11-13
blueprint apply
. @Riley-Kilgoreapply
, address
and policy
commands. Parameters are also now correctly applied to all handlers of a given validator, instead of needing to be manually targetted one-by-one. @KtorZbuild
, address
, policy
and apply
commands. See #1055. @KtorZ--filter_traces
to --trace_filter
for more consistency with --trace_level
. An alias for --filter_traces
still exists for backward compatibility. @KtorZaiken docs
wrongly formatting list constants as tuples. See #1048. @KtorZaiken docs
source linking crashing when generating docs for config modules. See #1044. @KtorZaiken docs
generating very long lines for constants. @KtorZChangelog
v1.1.5 - 2024-10-19
Void
; somehow missing from known definition :facepalm:. @KtorZChangelog
v1.1.4 - 2024-10-01
else
handler, to keep full compliance with the blueprint spec. @KtorZChangelog
v1.1.3 - 2024-09-20
Changelog
v1.1.2 - 2024-09-13
Data
(failing to reify) & PRNG
(missing variants' arguments). @KtorZString
to be shown as plain UTF-8 text strings (instead of hex-encoded byte array). @KtorZand
& or
) in functions. @KtorZChangelog
v1.1.1 - 2024-09-10