# Changelog ## [0.4.0] - 2024-07-27 ### Breaking - [**breaking**] render SVG based on font metrics ([3d1d52c](https://github.com/tomcur/termsnap/commit/3d1d52cea1ed2cdb42b11af1dec66b2190796934)) ### Bug Fixes - *(lib)* fix doctests ([8d2a3cb](https://github.com/tomcur/termsnap/commit/8d2a3cbe2d569c1f3fb7cf3cb62e4c494a8bd6c1)) - remove unnecessary newline in generated SVGs ([0d24ace](https://github.com/tomcur/termsnap/commit/0d24ace83866a798ea822b881ecdd9956825e1a9)) ### Documentation - *(README)* add note about font metrics ([0ef5040](https://github.com/tomcur/termsnap/commit/0ef504027457e553caff283bec23af4cd42de981)) - *(README)* use nixpkgs for nix example ([03393db](https://github.com/tomcur/termsnap/commit/03393dbe661ca1367deb78ebd8f738370a8550ff)) ### Refactor - Add Menlo to default font stack ([7fb1fb1](https://github.com/tomcur/termsnap/commit/7fb1fb1d8cb50b841a6c238cb52fc8f0fdd911d3)) ### Other - regenerate examples ([0719c1a](https://github.com/tomcur/termsnap/commit/0719c1a9cc4092dde0690783f22d10a7ae047066)) ## [0.3.0] - 2024-07-16 ### Features - allow rendering terminal screens just prior to clearing ([59c3bef](https://github.com/tomcur/termsnap/commit/59c3bef01c743ce53d2f3c1e8ef1fa7417af4f68)) - allow specifying child's TERM environment variable ([22da2c1](https://github.com/tomcur/termsnap/commit/22da2c1029edd20d48c4edb55f25bc07fc1832b2)) - *(lib)* allow inspecting Term just prior to applying some ANSI signals ([7012f8d](https://github.com/tomcur/termsnap/commit/7012f8d83b46d0db58896219e4f2551ae2ebb8ad)) ### Documentation - use xterm-256color in example for better compatibility across systems ([d685f20](https://github.com/tomcur/termsnap/commit/d685f2005f66e19919bbfad25a6a778b508eec20)) - use full lines/columns argument name in examples ([b30e27b](https://github.com/tomcur/termsnap/commit/b30e27b62fcc3bb5ed9c4c0b2d232cd24cee4ff6)) ### Refactor - make name of generic parameter consistent ([9579b54](https://github.com/tomcur/termsnap/commit/9579b543b9ec5fbadd1816b85ae80bec6c5d3e2e)) - address clippy warnings ([f91cc82](https://github.com/tomcur/termsnap/commit/f91cc827e0bdbf2d52ef658549e41e68e76c2d95)) ## [0.2.1] - 2024-07-01 ### Bug Fixes - escape ampersands in text ([daba56b](https://github.com/tomcur/termsnap/commit/daba56b69bc6b9fedaab5bd05f7ba12d09beb91a)) ### Documentation - *(lib)* add usage example ([9befca8](https://github.com/tomcur/termsnap/commit/9befca8f3584e882a5b7727bf2c149529001e77e)) ### Other - generate examples ([343bd55](https://github.com/tomcur/termsnap/commit/343bd5585da81782bab799549da43f1a3a75c9fd)) - format ([407dcba](https://github.com/tomcur/termsnap/commit/407dcba62f699cda599a38dbb90c200ae4f05799)) ## [0.2.0] - 2024-07-01 ### Breaking - *(lib)* [**breaking**] rename cols -> columns ([c0fe244](https://github.com/tomcur/termsnap/commit/c0fe2446fac97b01f8f367f872e15282a2d399a6)) ### Features - *(lib)* add methods to access terminal grid cells to Screen ([a1883d7](https://github.com/tomcur/termsnap/commit/a1883d75067fcc5cc38ff84988af5e76108b7a0a)) - implement rendering from ANSI-escaped data on stdin ([e603f97](https://github.com/tomcur/termsnap/commit/e603f97ef80d2c1c06e32bb20a58045b5b24c2d1)) ### Bug Fixes - separate main logic and CLI arguments consistency checks ([501e629](https://github.com/tomcur/termsnap/commit/501e6293849df204d8427e8888876a6feec0238f)) ### Refactor - explicitly pass around I/O handles, fixes test ([0f35410](https://github.com/tomcur/termsnap/commit/0f3541084faaa07d08ed0a33298ede352c38e10a)) - remove unused code ([adfb990](https://github.com/tomcur/termsnap/commit/adfb99049215377ad136541ff49333dee341ed32)) ### Testing - add test hitting the main code path ([fc27cd6](https://github.com/tomcur/termsnap/commit/fc27cd6e5f069a21483b234afcbaabec196a1ac5)) ([c7e4149](https://github.com/tomcur/termsnap/commit/c7e4149756fb1a1b40f4350ed4e1f929ade66120)) ([ff0d0e5](https://github.com/tomcur/termsnap/commit/ff0d0e5d8c9b35c8930353e465246d56bf9a2f62)) ([be39b89](https://github.com/tomcur/termsnap/commit/be39b89c04357363cbf67b39e8cf67a4400f975b)) ## [0.1.3] - 2024-06-29 ### Bug Fixes - correctly calculate NoHash ([84d60bf](https://github.com/tomcur/termsnap/commit/84d60bfc5b2d0c0f6a4d91b484e18161e847d8c8)) ### Documentation - *(README)* add headings to examples ([739f43e](https://github.com/tomcur/termsnap/commit/739f43e3bc61fc81d6e8ab2e56e21f7a3d3cc23a)) - *(README)* remove -o switch ([f43df9d](https://github.com/tomcur/termsnap/commit/f43df9d339f6e368326b6271ab236fd2b1b18c1f)) - *(README)* add Tokei example ([1259a74](https://github.com/tomcur/termsnap/commit/1259a74e4636497a4af37885fd91c0dcd0292612)) - *(README)* improve wording ([4850b72](https://github.com/tomcur/termsnap/commit/4850b7211634e211f038831ae9e6991a1436bfc6)) - *(README)* add note about sleep ([57006ce](https://github.com/tomcur/termsnap/commit/57006ce09b73a2098a0b30a016a5104b8b3a7d64)) - *(README)* put the nvim example before the colors example ([a9b421b](https://github.com/tomcur/termsnap/commit/a9b421b5245df75f6fe8b26a503e64d3c0482ec0)) - *(README)* add command to examples ([12680d7](https://github.com/tomcur/termsnap/commit/12680d7a960021a7635ec1011cb9a9d7791fa593)) - *(README)* improve cowsay example margins ([a5121c4](https://github.com/tomcur/termsnap/commit/a5121c454e41c4ad2cbfed694c1c1e947d7ca225)) - *(README)* simplify cowsay example ([0488ffb](https://github.com/tomcur/termsnap/commit/0488ffbfcfd749d4d546a88454b69b96ff3f80af)) - *(README)* simplify nvim example ([1b7a664](https://github.com/tomcur/termsnap/commit/1b7a66489f858caa4e5adeb8fe07cf8778e2f90b)) - *(README)* fix link to examples.sh ([cd3ee63](https://github.com/tomcur/termsnap/commit/cd3ee635604c31a3d20909beed2ef7805895943e)) - *(CHANGELOG)* add links to generated changelog ([9c88dd2](https://github.com/tomcur/termsnap/commit/9c88dd2bec5a269682f97992df50043b95dbf305)) ### Other - generate examples ([8300931](https://github.com/tomcur/termsnap/commit/8300931f64068714a967d47cb8ffa3f4e1301692)) ## [0.1.2] - 2024-06-28 ### Features - Print new lines after and in generated SVG - Only use non-breaking space if prev char was a regular space - Reduce number of elements in generated SVG - Reduce number of background color rectangles in generated svg ### Documentation - Remove unused example ### Refactor - Explicitly forbid unsafe code ### Other - Generate examples ## [0.1.1] - 2024-06-27 ### Bug Fixes - Correctly handle terminal resizing ### Documentation - *(CHANGELOG)* Track all packages in a single changelog - *(README)* Remove unnecessary badge ### Build System and CI - Add release-plz - Add rust build