Repository navigation
Releases
v0.5.2
What's Changed
Other changes
- fix: defer
synchronize-paneson a pane too by @wilhelm-murdoch in #100
Full Changelog: v0.5.1...v0.5.2
v0.5.1
What's Changed
Features
- feat:
glaze diffas a Terraform-esque "plan" by @wilhelm-murdoch in #94
Other changes
- fix: completion install by @wilhelm-murdoch in #93
- fix: set synchronize-panes after the pane commands by @wilhelm-murdoch in #97
- test: wait for the server to exit after the last session ends by @wilhelm-murdoch in #95
- refactor: drop the window and pane index, which nothing reads by @wilhelm-murdoch in #96
Full Changelog: v0.5.0...v0.5.1
v0.5.0
This release adds a profile registry, so you can keep your profiles in one directory and start each one by name from any directory. It also adds shell completion, a man page and a check of the tmux version before Glazier changes anything.
Profile registry
The profile registry is one directory that holds profiles, one file for each session. A word after up, down or format is a profile name, and it selects <name>.glaze in the profile registry.
$ glaze up work # apply ~/.config/glaze/work.glaze from any directory
$ glaze down work # kill the session of that profile
$ glaze format --validate work # check the profile
$ glaze save work # write the current session as ~/.config/glaze/work.glaze
$ glaze ls --profiles # list the profiles in the profile registry- Glazier finds the profile registry in this order:
$GLAZE_REGISTRY, then$XDG_CONFIG_HOME/glazewhenXDG_CONFIG_HOMEis absolute, then~/.config/glaze. The rule is the same on macOS and Linux. - Only
glaze save <name>creates the profile registry, with mode0700. It creates the directory after a successful capture and right before the write. - A profile name contains only ASCII letters, digits,
.,_and-, with no.glazesuffix and no/. Glazier rejects another word with exit code2, and the message names the fix. Use--profile-pathfor a file. - A registry profile must set the session
name. Without it,up,downandformat --validatestop with exit code3, soglaze down <name>cannot kill an unrelateddefaultsession. ls --profilesreads no profile and needs no tmux.- After
up,downandformat, Tab completes the names in the profile registry.
Without a name, each command finds the profile as before: --profile-path, then ./.glaze, then $GLAZE_PATH/.glaze. See Profile registry in the README for the full rules.
Shell completion
glaze completion <shell> prints a completion script for bash, zsh, fish or pwsh. The script asks the glaze binary for the commands and the flags each time you press Tab, so it stays correct after an upgrade. The .deb, .rpm and .apk packages and the Homebrew formula install the bash, zsh and fish scripts. With a release zip or go install, load the script yourself:
$ source <(glaze completion bash) # add this line to ~/.bashrc
$ source <(glaze completion zsh) # add this line to ~/.zshrc
$ glaze completion fish > ~/.config/fish/completions/glaze.fishMan page
man glaze describes every command, flag, environment variable and exit code. The packages and the Homebrew formula install it, and every release zip contains glaze.1.
tmux version check
Glazier needs tmux 3.2a or later. up and save now check the version before any other tmux command. An older tmux stops the command with exit code 4, and the message names the version that Glazier found. Before this release, an older tmux failed in the middle of provisioning with a tmux error about an unknown flag.
Upgrade notes
- A word after
up,downorformatis now a profile name. v0.2.4 ignored such a word and used./.glaze. Nowglaze down typostops with exit code3because the profile registry has notypo.glaze. Before, it killed the session of./.glaze. Remove the word, or use--profile-pathfor a file. - An old tmux now fails early. With a tmux older than 3.2a,
upandsavestop with exit code4before they change anything. - The help text changed. The command and flag descriptions now use the same words as the man page. No flag was removed or renamed.
- Two messages changed. An unknown
--log-levelvalue now lists the valid levels. An emptysizeblock now says "A size block must setx,yor both."
Install and verify
Each release contains a zip for Linux and macOS on amd64 and arm64, with the licence, the man page and the bash, zsh and fish completion scripts. It also contains .deb, .rpm and .apk packages, a SHA256SUMS file and a signed build provenance attestation.
$ shasum -a 256 -c SHA256SUMS --ignore-missing
$ gh attestation verify glaze-darwin-arm64.zip --repo wilhelm-murdoch/glazierThe macOS binaries are not signed or notarized. Gatekeeper blocks a glaze from a zip on the first run. Remove the quarantine attribute with xattr -d com.apple.quarantine glaze, or install with Homebrew. The .apk package is not signed, so apk needs the --allow-untrusted flag.
A profile runs its commands and hooks in your shell. Read a profile from another person before you apply it.
Other changes
Features
- feat: Check the tmux version before up and save by @wilhelm-murdoch in #84
- feat: add shell completion for bash, zsh and fish by @wilhelm-murdoch in #85
- feat: adding support for a
manpage by @wilhelm-murdoch in #87 - feat: implement a profile registry by @wilhelm-murdoch in #88
- feat:
glaze saveinto the profile registry with a name by @wilhelm-murdoch in #89 - fix: e2e testing pane path race condition by @wilhelm-murdoch in #83
- docs: group the release notes by label and add the trust and Gatekeeper notes by @wilhelm-murdoch in #86
- refactor: DRY + KISS, idiomatic Go, consistency and doc alignment by @wilhelm-murdoch in #92
Full Changelog: v0.2.4...v0.5.0
v0.2.4
What's Changed
- fix: ensure we're using the correct arch for the nfpm build phase by @wilhelm-murdoch in #75
Full Changelog: v0.2.3...v0.2.4
v0.2.2
What's Changed
- fix: update harness dependencies to address some open vulns by @wilhelm-murdoch in #72
- fix: wait for the process of the old tmux server in
KillServer. by @wilhelm-murdoch in #74
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Super quick followup to v0.2.0 release. A few quick fixes for some other issues I've uncovered as well as implementing proper prerelease binary testing against an actual tmux server across multiple OSs and architectures.
What's Changed
- feat: implementing new golang-based testing harness by @wilhelm-murdoch in #66
- fix: keep names that start with
-an operand of tmux by @wilhelm-murdoch in #67 - fix: actually provide a reason for a failed
uporformatby @wilhelm-murdoch in #68 - fix: print diagnostics in source order with the lines of a var file by @wilhelm-murdoch in #69
- fix: support tmux 3.9's JSON based layout format by @wilhelm-murdoch in #70
- fix: Verify each release zip in its own directory, and allow a dry run of the release. by @wilhelm-murdoch in #71
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- documentation refresh; specs are now formatted using ASD-STE100 by @wilhelm-murdoch in #40
- Bump the actions group with 3 updates by @dependabot[bot] in #42
- Bump github.com/urfave/cli/v3 from 3.12.0 to 3.13.0 in the go-dependencies group by @dependabot[bot] in #41
- refactor: target tmux components by id rather than name or index by @wilhelm-murdoch in #43
- fix: redirect logs and diagnostics to stderr by @wilhelm-murdoch in #44
- refactor: provision windows without a throwaway window and apply options at their scope by @wilhelm-murdoch in #45
- fix: write colour only to a terminal and obey
NO_COLORby @wilhelm-murdoch in #46 - refactor: use a tmux buffer to execute commands instead of
send-keysby @wilhelm-murdoch in #47 - refactor: own what a glaze profile creates, tell failures apart and give each failure its own exit code with signal management by @wilhelm-murdoch in #48
- refactor: remove duplication, group related code and shorten the comments by @wilhelm-murdoch in #49
- fix: ensure size + adjust settings are properly applied to panes by @wilhelm-murdoch in #50
- fix: properly guard and expand
starting_directoryvalues by @wilhelm-murdoch in #51 - chore: let's get that score card back above
8.x! by @wilhelm-murdoch in #52 - Bump github.com/mattn/go-isatty from 0.0.22 to 0.0.24 in the go-dependencies group by @dependabot[bot] in #53
- fix: add support for atomic profile writes by @wilhelm-murdoch in #54
- chore: group
constandvardeclarations at the top of each file by @wilhelm-murdoch in #55 - fix: prevent secret leakage by redacting env values from all possible outputs by @wilhelm-murdoch in #56
- fix: ensure session names for
downv.s.upare treated the same way and rejectrandom()in a session name by @wilhelm-murdoch in #57 - fix: prevent unbounded profiles that trigger panics and overflows by @wilhelm-murdoch in #58
- fix: ensure the version flag is root-only, report the version of a go install build and build for the host architecture by @wilhelm-murdoch in #59
- fix: reject values that
upcannot apply: nulls, unknown hooks, unknown directions, empty session names and raw layouts with wrong pane counts by @wilhelm-murdoch in #60 - fix: update error reporting for multiple failure modes by @wilhelm-murdoch in #61
- fix: ensure post
uptmux changes are rejected with proper warnings by @wilhelm-murdoch in #62 - fix: by @wilhelm-murdoch in #63
- docs: align the
READMEandSPECwith what glaze actually does by @wilhelm-murdoch in #64 - test: expect a control character in a session name to become
-by @wilhelm-murdoch in #65
Full Changelog: v0.1.6...v0.2.0
v0.1.6
What's Changed
This is a standard bugfix release. Enjoy!
- docs: update voice in SPEC.md, add clarity and fill in any gaps by @wilhelm-murdoch in #35
- Bump the actions group with 3 updates by @dependabot[bot] in #36
- Bump the actions group with 3 updates by @dependabot[bot] in #37
- Bump the actions group with 3 updates by @dependabot[bot] in #39
- Bump the go-dependencies group with 2 updates by @dependabot[bot] in #38
Full Changelog: v0.1.5...v0.1.6
v0.1.5
Honestly, in retrospect this should've been released as 1.4.1, but here we are.
What's Changed
- chore: bump golang from
1.26.1to1.26.5by @wilhelm-murdoch in #24 - fix: maybe not the latest go release by @wilhelm-murdoch in #25
- Bump the actions group with 4 updates by @dependabot[bot] in #26
- security(GO-2026-5970): version bump
golang.org/x/textby @wilhelm-murdoch in #27 - Bump the actions group with 4 updates by @dependabot[bot] in #28
- Bump the actions group with 3 updates by @dependabot[bot] in #29
- Bump the actions group with 4 updates by @dependabot[bot] in #30
- Bump the actions group with 3 updates by @dependabot[bot] in #32
- Bump github.com/stretchr/testify from 1.11.1 to 1.12.0 in the go-dependencies group by @dependabot[bot] in #31
- Bump the actions group with 3 updates by @dependabot[bot] in #34
- Bump the go-dependencies group with 2 updates by @dependabot[bot] in #33
Full Changelog: v0.1.4...v0.1.5
v0.1.4
What's Changed
- Bump the actions group across 1 directory with 5 updates by @dependabot[bot] in #20
- Bump github.com/urfave/cli/v3 from 3.10.0 to 3.10.1 in the go-dependencies group by @dependabot[bot] in #17
- Bump the actions group with 3 updates by @dependabot[bot] in #22
- Bump github.com/zclconf/go-cty from 1.18.1 to 1.19.0 in the go-dependencies group by @dependabot[bot] in #21
- Fix up window initialisation issue by @ThreeToes in #19
- feat: adding variable + locals support by @wilhelm-murdoch in #23
Important
This release introduces a breaking change where variables must now be referenced using their dedicated namespace. If you've previously referenced variable foo as "before${foo}after", you must now use "before${var.foo}after". Glaze will tell you what's broken after you upgrade.
New Contributors
- @ThreeToes made their first contribution in #19
Full Changelog: v0.1.3...v0.1.4