CHANGELOG.md (2416B)
1 # Changelog 2 3 ## v2.0.0 (2026-04-22) 4 - chore: Update project to Zig v0.16.0 5 - fix: `extra_front_chars` was incorrectly handling padding. Now accounts for custom bars. 6 - refactor: Update PredefinedSymbols namespace from enum to struct 7 - refactor: `colour` and `bg_colour` api has been updated. These are now set in the config and updated via `update[Colour|BgColour]`. 8 - refactor: `setShowBg([true|false])` is now used to update background visibility. 9 - fix: Unchecked usize subtraction. 10 - fix: Double `clear()` in Spinner when `completion_character` and `clear_on_finish` are both set. 11 - fix: Render race condition and redundant width calculation. 12 13 ## v1.2.1 (2025-03-26) 14 - chore: Update project to Zig v0.14.0 15 16 ## v1.2.0 (2025-01-09) 17 - feat: Added the ability to colour progress bar. 18 - feat: Added option to show background character for progress bar. 19 - chore: Updated examples to showcase new colour options. 20 - refactor: Renamed escape_codes.zig to ansi-term.zig and added correct 21 copyright attribution. 22 23 ## v1.1.0 (2024-10-28) 24 - Progress bar now supports u21 ascii characters. 25 - Updated bar/complex.zig example to showcase this. 26 - Added new `completionCharacter` config. This character, if defined, 27 gets printed instead of the spinner symbol on `Spinner.finish()`. 28 - `updateDescriptionNewline` allows you to now retain the previous 29 spinner symbol / description on the previous line and start a new task 30 on the next. This goes hand in hand with the new `completionCharacter` 31 config. 32 - Updated casing from `update_description()` to `updateDescription()`. 33 - Update doc strings to make render functionality for spinners more obvious. 34 35 ## v1.0.0 (2024-07-18) 36 - Added spinners! Check out `examples/spinner` for api usage or check 37 the docs `zig build docs`. 38 - Renamed `progress.zig` to `bar.zig`. This change came from the need 39 of having two progress variants, `bar.zig -> Bar` and `spinner.zig -> 40 Spinner`. 41 - Added `Bar.isCurrent()` as a thread safe way of checking the current 42 progress of a progress bar. 43 - Updated and split up examples, `examples/bar` and `examples/spinner`. 44 - Updated `build.zig` to allow running both spinner and bar examples, 45 e.g. `zig build run-bar-complex` vs `zig build run-spinner-complex`. 46 - Updated `README` with new examples. 47 - Updated docstrings in `bar.zig` 48 - `Bar.finish()` can now error. This was always the intent but I missed 49 a `!`... whoops. This is now fixed.