49 lines
3.0 KiB
Markdown
49 lines
3.0 KiB
Markdown
# Changelog
|
|||
|
|
|
||
|
|
Each version's changes, newest first. Versions follow [semantic
|
||
|
|
versioning](https://semver.org).
|
||
|
|
|
||
|
|
## Unreleased
|
||
|
|
|
||
|
|
- A program may be shown as a desktop's program: its `title`, its `icon`'s files, PNGs of
|
||
|
|
any size, an SVG, or an icon file, and `windowed: true`. Built for Windows, `sakura
|
||
|
|
build` is given them, with the project's `semv`, as `--title`, `--icon`, `--semv`, and
|
||
|
|
`--windowed`, so the executable holds its icon, title, and version, and opens no
|
||
|
|
console. Built for Linux, `install` and `package` put each PNG and SVG in the icon
|
||
|
|
theme, `share/icons/hicolor`, and write its desktop entry,
|
||
|
|
`share/applications/NAME.desktop`, running it where the prefix holds it. Each may be an
|
||
|
|
option's value, an empty title or icon being none, and an icon's text naming several
|
||
|
|
files with `,` between them, as `-o icon=a.png,b.png`. A program giving none of them is
|
||
|
|
built as before.
|
||
|
|
- What it reads of `core`'s containers and views, and of std's, it reads by
|
||
|
|
their properties, as `.span` rather than `.view()`, `.last` rather than
|
||
|
|
`.last()`, and `blank()` rather than `empty()`, as the compiler and std now
|
||
|
|
name them.
|
||
|
|
- The standard library is required as the package `sakura/std`, of which it
|
||
|
|
reads `std::io`, `std::process`, `std::time`, `std::args`, and `std::yaml`,
|
||
|
|
and `std::io::glob`, which was `malunal::glob`, so it requires nothing else. A
|
||
|
|
target's `deps` naming `std` alone still reads the standard library the
|
||
|
|
compiler finds.
|
||
|
|
- The config's `std` is given to `sakura` as `--lib std=DIR`, since `--std` is
|
||
|
|
gone, and what blossom runs is no longer given `SAKURA_STD`.
|
||
|
|
- `blossom libraries` prints the `--lib` of each library a project holds or reads, with its
|
||
|
|
folder absolute, for an editor to give its language server. It clones nothing, and names
|
||
|
|
each requirement the store is missing on a `--missing` line instead.
|
||
|
|
- `blossom pull` clones what a project requires, or the requirements named, without
|
||
|
|
building. With `--update`, it clones again what the store already holds.
|
||
|
|
- Where the config names no `sakura`, blossom runs `sakurac`, the compiler's name, beside
|
||
|
|
it or on `PATH`, where it ran `sakura` before.
|
||
|
|
- MD5 and SHA-256 add their words through `std::math`'s `wrapping_add`, so blossom
|
||
|
|
built or run with `--checks`, which stops where arithmetic overflows, doesn't stop
|
||
|
|
where they wrap on purpose. Its unit tests are run so.
|
||
|
|
- The tests of its commands give the projects they make the standard library blossom's
|
||
|
|
own project reads, as `blossom libraries` lists it, as their config's `std`, so they
|
||
|
|
pass where the `sakurac` they run finds no std of its own.
|
||
|
|
|
||
|
|
## 1.0.0 - 2026-10-24
|
||
|
|
|
||
|
|
- The first version: `build`, `check`, `run`, `test`, `clean`, `install`, and
|
||
|
|
`package`, from a project's `blossomfile`, with its requirements cloned once
|
||
|
|
into a store, and outputs built again only where what made them changed.
|
||
|
|
- Requirements are cloned into `~/.cache/blossom`, or `XDG_CACHE_HOME`, and
|
||
|
|
`LOCALAPPDATA` on Windows, beside the config's `~/.config/blossom`.
|