@@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 3.0.0] - 2024-06-02
9+
10+ This release follows the [ Dahlia Specification v1.0.0] [ spec ] .
11+
12+ ### Added
13+ - Automatic color depth detection (as a consequence, ` Dahlia ` 's ` depth `
14+ parameter can now be ` None ` )
15+ - [ Style-specific reset codes] [ spec-reset ]
16+ - [ The ` &_ ` escape code] [ spec-esc ]
17+ - The ` clean_ansi ` function should now handle way more ANSI escape codes
18+ - The package can now be executed with ` python -m dahlia ` to show the current
19+ terminal emulator's capabilities
20+ - Various performance improvements:
21+ - String conversions are now approximately ~ 70% faster
22+ - A comprehensive benchmark showed an overall library speedup of 20%
23+
24+ ### Changed
25+ - The "Blink" style code was changed from ` &p ` to ` &k `
26+ - The custom color syntax was changed from ` &[#ffaff3] ` to ` &#ffaff3; ` and now
27+ supports shorthand 3-digit codes
28+ - The ` Dahlia.depth ` property now returns a ` Depth | None ` instead of an ` int `
29+ - The full reset code is now ` &R ` instead of ` &r `
30+ - The "Hide" style code was changed from ` &k ` to ` &h `
31+ - The ` no_reset ` parameter and property was renamed to ` auto_reset ` and now
32+ defaults to ` True `
33+
34+ ### Fixed
35+ - Type checkers no longer complain about non-lowercase depth strings
36+
37+ ### Removed
38+ - ` Dahlia.reset `
39+ - ` Dahlia.test `
40+ - Dahlia's ` no_color ` parameter
41+ - The CLI tool
42+ - The ` &g ` code
43+ - The legacy ` dahlia ` , ` dprint ` , and ` dinput ` functions
44+ - The ` quantize_ansi ` utility function
45+
46+ [ spec ] : https://github.com/dahlia-lib/spec/
47+ [ spec-reset ] : https://github.com/dahlia-lib/spec/blob/main/SPECIFICATION.md#resetting
48+ [ spec-esc ] : https://github.com/dahlia-lib/spec/blob/main/SPECIFICATION.md#escaping
49+
850## [ 2.3.2] - 2023-04-19
951
1052### Fixed
@@ -96,7 +138,7 @@ Also thanks to [@Sigmanificient](https://github.com/Sigmanificient) for minor im
96138### Changed
97139- Functions ` dahlia ` , ` dprint ` , and ` dinput ` have been replaced by the ` Dahlia ` class with methods ` convert ` , ` print ` , and ` input ` , respectively
98140
99- ### Remoevd
141+ ### Removed
100142- Global ` config ` variable
101143
102144## [ 1.1.0] - 2022-08-12
@@ -122,4 +164,5 @@ Initial release 🎉
122164[ 2.2.2 ] : https://github.com/trag1c/Dahlia/compare/2.2.1...2.2.2
123165[ 2.3.0 ] : https://github.com/trag1c/Dahlia/compare/2.2.2...2.3.0
124166[ 2.3.1 ] : https://github.com/trag1c/Dahlia/compare/2.3.0...2.3.1
125- [ 2.3.2 ] : https://github.com/trag1c/Dahlia/compare/2.3.1...2.3.2
167+ [ 2.3.2 ] : https://github.com/trag1c/Dahlia/compare/2.3.1...2.3.2
168+ [ 3.0.0 ] : https://github.com/trag1c/Dahlia/compare/2.3.2...3.0.0
0 commit comments