0.3.0
NOTE: askalono.linux-static
in this release contains code that is slightly newer than 0.3.0. Specifically, it's from commit 4527659 -- consider it a preview release for some upcoming features. In general, you should use the regular Linux build, but in some cases that's not possible.
Added
- Scanning strategies have been added in
ScanStrategy
. These include some common high-level logic that can be used for diving deeper into askalono's results. Store
gained methods to add your own licenses to its dataset at runtime. These areadd_license
andadd_variant
.Store
lets you retrieve and set the list of aliases for a given license.Store
can also tell you which licenses are present withlicenses
.TextData
'swith_view
is now public. It can be used to change the region of lines in a text you're interested in without needing to wholly re-compute data for the underlying string.TextData
also learnedwhite_out
, which is the inverse ofwith_view
. It erases the active view's lines. This can be useful when a match has been found and you'd like to "hide" it to perform further analysis.- The command-line application learned how to output JSON for better machine parsing.
- EXPERIMENTAL: askalono is WebAssembly-capable. Loading caches is not yet supported due to missing upstream dependencies. This likely to be available in the near future.
Changed
optimize_bounds
now returns a Result. Previously it would have paniced ifself
was missing text.
Deprecated
- The
aliases
field has been deprecated and will be removed in a future release. Prefer looking up aliases in the store when needed.
Fixed
optimize_bounds
now respects existing line views/windows on TextData structs.