Files

63 lines
4.1 KiB
Markdown
Raw Permalink Normal View History

2026-10-24 12:13:52 -05:00
# Changelog
Each version's changes, newest first. Versions follow [semantic
versioning](https://semver.org).
## Unreleased
- A blossomfile's `members` lists folders of the project, each holding a member's
blossomfile, which says `member:` of which project it is and holds `requires`, `targets`,
and `tests`, its paths its own folder's. Members are merged into the project: one name
for each target, `build`, `check`, and `test` covering them all, `-o` reaching them,
`exports` naming their libraries, and a project requiring it reading theirs. Run in a
member's folder, blossom finds the project above it and keeps to the member's targets
and tests. A library's files leave out another member's folder within it, and what its
member's tests and programs list. Mistakes in a member's blossomfile name its file, and
it changing builds the project again.
- `blossom test --suite TEXT` runs the suites, the project's `tests`, whose names hold the
text, as `--only` did, which is renamed, and `--test TEXT` runs only the tests whose
names hold it, of each suite run, giving each `--only TEXT` after its own `args`, as
`std::testing` reads it. A suite that ran none says so, and none running one ends with 2,
as a suite named by none does. Breaking: `--only` is gone.
- 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`.