log21
Advanced tools
+16
-6
| Metadata-Version: 2.3 | ||
| Name: log21 | ||
| Version: 3.0.0 | ||
| Version: 3.0.1 | ||
| Summary: A simple logging package | ||
@@ -97,9 +97,19 @@ Keywords: python,log,colorize,color,logging,Python3,CodeWriter21 | ||
| ### v3.0.0 | ||
| ### v3.0.1 | ||
| This release introduces a cleaned-up internal structure, stricter naming conventions, | ||
| and several quality-of-life improvements. While most users will not notice behavioral | ||
| changes, **v3 contains breaking changes for code that relies on internal imports or | ||
| specific exception names**. | ||
| Fix the issue with `argumentify` which would result in falsy default values to be | ||
| replaced with None. | ||
| + Example: | ||
| ```python | ||
| def main(offset: int = 0) -> None: | ||
| ... | ||
| argumentify(main) | ||
| ``` | ||
| if no value is provided for `--offset`, the default will be `None` instead of `0` which | ||
| is unexpected and can lead to issues. | ||
| #### Breaking Changes | ||
@@ -106,0 +116,0 @@ |
+1
-1
@@ -26,3 +26,3 @@ [project] | ||
| ] | ||
| version = "3.0.0" | ||
| version = "3.0.1" | ||
@@ -29,0 +29,0 @@ [build-system] |
+15
-5
@@ -72,9 +72,19 @@ log21 | ||
| ### v3.0.0 | ||
| ### v3.0.1 | ||
| This release introduces a cleaned-up internal structure, stricter naming conventions, | ||
| and several quality-of-life improvements. While most users will not notice behavioral | ||
| changes, **v3 contains breaking changes for code that relies on internal imports or | ||
| specific exception names**. | ||
| Fix the issue with `argumentify` which would result in falsy default values to be | ||
| replaced with None. | ||
| + Example: | ||
| ```python | ||
| def main(offset: int = 0) -> None: | ||
| ... | ||
| argumentify(main) | ||
| ``` | ||
| if no value is provided for `--offset`, the default will be `None` instead of `0` which | ||
| is unexpected and can lead to issues. | ||
| #### Breaking Changes | ||
@@ -81,0 +91,0 @@ |
@@ -34,3 +34,3 @@ # log21.__init__.py | ||
| __author__ = 'CodeWriter21 (Mehrad Pooryoussof)' | ||
| __version__ = '3.0.0' | ||
| __version__ = '3.0.1' | ||
| __github__ = 'https://GitHub.com/MPCodeWriter21/log21' | ||
@@ -37,0 +37,0 @@ __all__ = [ |
@@ -362,3 +362,3 @@ # log21.argumentify.py | ||
| config['nargs'] = '*' | ||
| if argument.default: | ||
| if argument.default is not None: | ||
| config['default'] = argument.default | ||
@@ -365,0 +365,0 @@ parser.add_argument( |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
382081
0.02%