Skip to content

Commit 09d95d2

Browse files
committed
clarify CHANGELOG
1 parent 84c87db commit 09d95d2

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div style="
44
font-size: 2em;
55
font-weight: bold;
6-
background: #88889845;
6+
background: #86878A45;
77
border-radius: 0.2em;
88
text-align: center;
99
justify-content: center;
@@ -24,7 +24,11 @@
2424
* Renamed the internal class method `FormatCodes.__config_console()` to `FormatCodes._config_console()` to make it callable, but still indicate that it's internal.
2525

2626
**BREAKING CHANGES:**
27-
* The arguments when calling `Console.get_args()` are no longer specified in a single dictionary, but now each argument is passed as a separate keyword argument.
27+
* The arguments when calling `Console.get_args()` are no longer specified in a single dictionary, but now each argument is passed as a separate keyword argument.<br>
28+
You can still use a dictionary just fine by simply unpacking it with `**`, like this:
29+
```python
30+
Console.get_args(**{"arg": {"-a", "--arg"}})
31+
```
2832
* Replaced the internal `_COMPILED` regex pattern dictionaries with `LazyRegex` objects so it won't compile all regex patterns on library import, but only when they are used for the first time, which improves the library's import time.
2933
* Renamed the internal `_COMPILED` regex pattern dictionaries to `_PATTERNS` for better clarity.
3034
* Removed the import of the `ProgressBar` class from the `__init__.py` file, since it's not an important main class that should be imported directly.
@@ -827,7 +831,7 @@ from XulbuX import rgb, hsl, hexa
827831
<div style="
828832
font-size: 2em;
829833
font-weight: bold;
830-
background: #88889845;
834+
background: #86878A45;
831835
border-radius: 0.2em;
832836
text-align: center;
833837
justify-content: center;

0 commit comments

Comments
 (0)