4.1 KiB
4.1 KiB
Changelog
Each version's changes, newest first. Versions follow semantic versioning.
Unreleased
- A blossomfile's
memberslists folders of the project, each holding a member's blossomfile, which saysmember:of which project it is and holdsrequires,targets, andtests, its paths its own folder's. Members are merged into the project: one name for each target,build,check, andtestcovering them all,-oreaching them,exportsnaming 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 TEXTruns the suites, the project'stests, whose names hold the text, as--onlydid, which is renamed, and--test TEXTruns only the tests whose names hold it, of each suite run, giving each--only TEXTafter its ownargs, asstd::testingreads it. A suite that ran none says so, and none running one ends with 2, as a suite named by none does. Breaking:--onlyis gone.- A program may be shown as a desktop's program: its
title, itsicon's files, PNGs of any size, an SVG, or an icon file, andwindowed: true. Built for Windows,sakura buildis given them, with the project'ssemv, as--title,--icon,--semv, and--windowed, so the executable holds its icon, title, and version, and opens no console. Built for Linux,installandpackageput 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.spanrather than.view(),.lastrather than.last(), andblank()rather thanempty(), as the compiler and std now name them. - The standard library is required as the package
sakura/std, of which it readsstd::io,std::process,std::time,std::args, andstd::yaml, andstd::io::glob, which wasmalunal::glob, so it requires nothing else. A target'sdepsnamingstdalone still reads the standard library the compiler finds. - The config's
stdis given tosakuraas--lib std=DIR, since--stdis gone, and what blossom runs is no longer givenSAKURA_STD. blossom librariesprints the--libof 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--missingline instead.blossom pullclones 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 runssakurac, the compiler's name, beside it or onPATH, where it ransakurabefore. - MD5 and SHA-256 add their words through
std::math'swrapping_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 librarieslists it, as their config'sstd, so they pass where thesakuracthey run finds no std of its own.
1.0.0 - 2026-10-24
- The first version:
build,check,run,test,clean,install, andpackage, from a project'sblossomfile, with its requirements cloned once into a store, and outputs built again only where what made them changed. - Requirements are cloned into
~/.cache/blossom, orXDG_CACHE_HOME, andLOCALAPPDATAon Windows, beside the config's~/.config/blossom.