|
18 | 18 | <span id="v1-9-3" /> |
19 | 19 |
|
20 | 20 | ## ... `v1.9.3` Big Update 🚀 |
21 | | -* Refactored the whole library's typing to be way more strict and accurate, using `mypy` as type checker. |
22 | 21 | * Added a new method `Color.str_to_hsla()` to parse HSLA colors from strings. |
23 | | -* Changed all methods defined as `@staticmethod` to `@classmethod` where applicable, to improve inheritance capabilities. |
24 | | -* The library is now compiled using `mypyc` when installing, which makes it run significantly faster. |
25 | | -* Unnest all the nested methods in the whole library for compatibility with `mypyc`. |
26 | | -* Change the class-property definitions to be defined via `metaclass` and using `@property` decorators, to make them compatible with `mypyc`. |
27 | 22 | * Changed the default syntax colors for `Data.to_str()` and therefore also `Data.print()` to console default colors. |
28 | 23 | * Made internal, global constants, which's values never change, into `Final` constants for better type checking. |
29 | 24 | * The names of all internal classes and methods are all noi longer prefixed with a double underscore (`__`), but a single underscore (`_`) instead. |
| 25 | +* Changed all methods defined as `@staticmethod` to `@classmethod` where applicable, to improve inheritance capabilities. |
| 26 | +* Adjusted the whole library's type hints to be way more strict and accurate, using `mypy` as static type checker. |
| 27 | +* Change the class-property definitions to be defined via `metaclass` and using `@property` decorators, to make them compatible with `mypyc`. |
| 28 | +* Unnest all the nested methods in the whole library for compatibility with `mypyc`. |
| 29 | +* The library is now compiled using `mypyc` when installing, which makes it run significantly faster. |
30 | 30 |
|
31 | 31 | **BREAKING CHANGES:** |
32 | 32 | * Renamed `Data.to_str()` to `Data.render()`, since that describes its functionality better (*especially with the syntax highlighting option*). |
|
0 commit comments