Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 41 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,46 @@ and the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

Nothing yet — the latest release is the tip of `master`.
### Added

- the meta stage follows Synesthesia's values, order, methods and names, with old presets converted (D578, C-01) (#138) ([`084d463`](https://github.com/lnorton89/strobe/commit/084d463a8189338aebed2fe8ccf8b7daab7ac408))

### Fixed

- match Synesthesia's measured bang smooth, transitions, control shapes and script globals (D702-D705) (#158) ([`ea1c835`](https://github.com/lnorton89/strobe/commit/ea1c835e948f408c31281a8fbd4c39f1e64d5e58))
- playlist durations take a space before the unit, and a resume pass past u32 reads back (#150) ([`33beae4`](https://github.com/lnorton89/strobe/commit/33beae4e196ab6d228e95b1d0e61c011f109a554))
- Shadertoy scenes get the analyser's own audio bytes in /play, and synthetic audio no longer freezes them in the app (D577, W-01) (#137) ([`af643be`](https://github.com/lnorton89/strobe/commit/af643bec037245b9adfaed9a6faf07a4d92843ec))

### Documentation

- settle Q18, Q22, Q23, Q28 and Q29; narrow Q7, Q15, Q16, Q19 (open questions refresh) (#154) ([`4514398`](https://github.com/lnorton89/strobe/commit/4514398f59b909a88a376709c190d4e2cb87eb67))
- Synesthesia's meta control ranges and S9's Test Card frames, measured on the T480 (S5, S9) (#146) ([`437a335`](https://github.com/lnorton89/strobe/commit/437a3358371eb2441c48a1e40d91b13bc2262add))
- reconcile the backlog with master after v0.5.1; drop the stale chrono ignore (R-10) (#136) ([`a1ef5d7`](https://github.com/lnorton89/strobe/commit/a1ef5d7b1fa405a72d94c679e4031ec3f575d50e))

### Internal

- **deps:** bump the cargo-patch group with 3 updates (#135) ([`a370be3`](https://github.com/lnorton89/strobe/commit/a370be333094b19a08caa593d5dec536c11a3ee0))
- **deps:** bump rfd from 0.17.2 to 0.18.0 (#132) ([`c3e649b`](https://github.com/lnorton89/strobe/commit/c3e649b5c51c34b2ee773bb00ea2d567bdd9f1cf))
- skip the Claude review on Dependabot PRs (#134) ([`26306a7`](https://github.com/lnorton89/strobe/commit/26306a70ed73706eadf051e39c11342ae94b4465))
- **deps:** bump resvg from 0.49.0 to 0.50.0 (#133) ([`cc4756d`](https://github.com/lnorton89/strobe/commit/cc4756da7c84607bb7adf5dbcfe4e3160cac616e))
- **deps:** bump libloading from 0.8.9 to 0.9.1 (#131) ([`817e344`](https://github.com/lnorton89/strobe/commit/817e3444f98ce3a25c4c814e6b93cb0bcb1f7449))
- **deps:** bump the github-actions group with 2 updates (#129) ([`aaba95e`](https://github.com/lnorton89/strobe/commit/aaba95ec365dc160feb7920f7b85f5cf13303855))

### Tests

- property tests for projector replies, the show-control file and HTTP request heads (#152) ([`950ae1c`](https://github.com/lnorton89/strobe/commit/950ae1c1d4b28282410c21ea3e5f6e93de45ae75))

### Other

- review (in depth): strobe-app core, UI, audio, sessions and shows (#151) ([`0e65d59`](https://github.com/lnorton89/strobe/commit/0e65d59d6433786f8b488cad509685339712591b))
- review (in depth): strobe-scene runtime, assemble, promote, fixups, meta and presets (#149) ([`72791d8`](https://github.com/lnorton89/strobe/commit/72791d8cd5985fdf4ac702714e593d107a63f71e))
- review (in depth): strobe-script (#148) ([`38651ee`](https://github.com/lnorton89/strobe/commit/38651ee365e07d102fd943b2af2abdf8e3ab2971))
- strobe-web, strobe-diag, strobe-bench, strobe-conventions and xtask (#144) ([`da593a2`](https://github.com/lnorton89/strobe/commit/da593a232d995acc56695a98b80fd9028e5163db))
- strobe-script, strobe-shadertoy, strobe-autocontrol and strobe-forge (#142) ([`8cf4489`](https://github.com/lnorton89/strobe/commit/8cf4489b14e7b25dc5c29e8366529be69e8fa719))
- strobe-app (#140) ([`ab352c5`](https://github.com/lnorton89/strobe/commit/ab352c52d76c984a8fdb4d6515cfea1f3b3c4df7))
- strobe-audio, strobe-io, strobe-remote and strobe-projector (#143) ([`075915c`](https://github.com/lnorton89/strobe/commit/075915c9848e958c7f6994f5596571af25454570))
- strobe-gfx, strobe-output and strobe-capture (#141) ([`e6ccb89`](https://github.com/lnorton89/strobe/commit/e6ccb89d5cc820173a190259ece20aeb1c9c8317))
- strobe-scene, strobe-ssf-lib and strobe-playlist (#139) ([`ce88589`](https://github.com/lnorton89/strobe/commit/ce885896adbbbc8aff1d3d95ff3df95d500a4fd9))

## [0.5.1] - 2026-11-27

Expand Down Expand Up @@ -131,7 +170,7 @@ Nothing yet — the latest release is the tip of `master`.
- the download page states the GPU floor and the licence accurately ([`861935a`](https://github.com/lnorton89/strobe/commit/861935a69ac7744a8abe212b3f1cacfb8a5090f0))
- the site's title, description and footer say source-available ([`6f477f4`](https://github.com/lnorton89/strobe/commit/6f477f44f20a6d0a6956607a903f6b55cbff8cbd))
- the home page's status says what is run, what is not verified, and the licence ([`a2027ec`](https://github.com/lnorton89/strobe/commit/a2027ecf5472f98be1dbfd7fa21b3600be327316))
- the Synesthesia comparison says Strobe is independent of its makers ([`f463b3e2`](https://github.com/lnorton89/strobe/commit/f463b3e2f4010b1775ec401fe1153f77e0eb198a))
- the Synesthesia comparison says Strobe is independent of its makers ([`f463b3e`](https://github.com/lnorton89/strobe/commit/f463b3e2f4010b1775ec401fe1153f77e0eb198a))
- the home page's scene library blurb says what the scenes are ([`ef1adc5`](https://github.com/lnorton89/strobe/commit/ef1adc5f5551f1768e63b5c4c9f67158f6246f16))
- the home page's features are six plain paragraphs, not eight icon cards ([`7257a38`](https://github.com/lnorton89/strobe/commit/7257a38e6d9eb7b14de6a78a135ec38a28f71569))
- the home page says what Strobe is, without the line about old laptops ([`c556a7c`](https://github.com/lnorton89/strobe/commit/c556a7cdf8f0157ae4ecc61b1fc20828c8c52c48))
Expand Down
36 changes: 29 additions & 7 deletions crates/xtask/src/changelog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ fn pending_release(version: &str, releases: &[Release], manifest: &str) -> Resul
/// generated), so such commits are defined out of every section instead,
/// which keeps the generate and check paths in exact agreement.
fn commits(range: &str) -> Result<Vec<Commit>> {
let format = format!("--format=%H{SEP}%h{SEP}%s");
let format = format!("--format=%H{SEP}%s");
// `--full-history` matters: a pathspec switches on git's history
// simplification, which is allowed to prune a commit whose
// path-limited tree matches a parent's — it silently dropped one of
Expand All @@ -530,13 +530,11 @@ fn commits(range: &str) -> Result<Vec<Commit>> {
let mut commits = Vec::new();
for line in log.lines() {
let mut fields = line.split(SEP);
let (Some(hash), Some(short), Some(subject)) =
(fields.next(), fields.next(), fields.next())
else {
let (Some(hash), Some(subject)) = (fields.next(), fields.next()) else {
continue;
};
let subject = corrected.get(hash).map_or(subject, String::as_str);
commits.push(parse_subject(hash, short, subject));
commits.push(parse_subject(hash, subject));
}
Ok(commits)
}
Expand Down Expand Up @@ -578,9 +576,22 @@ fn parse_corrections(text: &str) -> Result<BTreeMap<String, String>> {
Ok(out)
}

/// How many characters of a commit's hash the changelog shows.
const SHORT_HASH: usize = 7;

/// The first [`SHORT_HASH`] characters of `hash`. Fixed, not git's `%h`:
/// git lengthens its abbreviation as a repository grows, so a clone with
/// more objects (a long-lived local checkout) wrote 8 characters where CI's
/// clone and the committed file have 7, and `--check` failed on every
/// released entry.
fn short_hash(hash: &str) -> &str {
hash.get(..SHORT_HASH).unwrap_or(hash)
}

/// Splits a `type(scope)!: summary` subject into its parts, falling back to
/// the `Other` section for anything that is not a conventional commit.
fn parse_subject(hash: &str, short: &str, subject: &str) -> Commit {
fn parse_subject(hash: &str, subject: &str) -> Commit {
let short = short_hash(hash);
let plain = Commit {
hash: hash.to_string(),
short: short.to_string(),
Expand Down Expand Up @@ -822,7 +833,18 @@ version = \"not this one\"
";

fn commit_of(subject: &str) -> Commit {
parse_subject("0123456789abcdef", "0123456", subject)
parse_subject("0123456789abcdef", subject)
}

#[test]
fn the_short_hash_is_seven_characters_whatever_git_would_choose() {
let commit = commit_of("fix: anything");
assert_eq!(commit.short, "0123456", "the first seven of the full hash");
assert_eq!(
short_hash("abc"),
"abc",
"a hash shorter than seven is kept"
);
}

#[test]
Expand Down
Loading