diff --git a/CHANGELOG.md b/CHANGELOG.md index ddd09982..5607a1e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Zscaler Python SDK Changelog +## 1.9.16 (February 16, 2025) + +### Notes + +- Python Versions: **v3.9, v3.10, v3.11, v3.12** + +### Bug Fixes: + +* [PR #460](https://github.com/zscaler/zscaler-sdk-python/pull/460) - Fixed URLCategory model assigning function reference instead of calling `form_list` for `regex_patterns` and `regex_patterns_retaining_parent_category` + ## 1.9.15 (February 16, 2026) ### Notes @@ -118,12 +128,6 @@ - Python Versions: **v3.9, v3.10, v3.11, v3.12** -## 1.9.9 (December 11, 2025) - -### Notes - -- Python Versions: **v3.9, v3.10, v3.11, v3.12** - ### Bug Fixes: * [PR #439](https://github.com/zscaler/zscaler-sdk-python/pull/439) - Fixed ZPA legacy client `retry-after` header parsing for non-standard format with 's' suffix (e.g., `"8s"` instead of `"8"`). diff --git a/docsrc/zs/guides/release_notes.rst b/docsrc/zs/guides/release_notes.rst index b309bf87..42b62b86 100644 --- a/docsrc/zs/guides/release_notes.rst +++ b/docsrc/zs/guides/release_notes.rst @@ -6,8 +6,18 @@ Release Notes Zscaler Python SDK Changelog ---------------------------- +1.9.16 (February 16, 2026) +--------------------------- + +### Notes + +- Python Versions: **v3.9, v3.10, v3.11, v3.12** + +### Bug Fixes: + +(`#460 `_) - Fixed URLCategory model assigning function reference instead of calling `form_list` for `regex_patterns` and `regex_patterns_retaining_parent_category` -1.9.15 (February 16, 2026) +1.9.15 (February 13, 2026) --------------------------- Notes diff --git a/zscaler/zia/models/urlcategory.py b/zscaler/zia/models/urlcategory.py index a67ba670..6e8aad5f 100644 --- a/zscaler/zia/models/urlcategory.py +++ b/zscaler/zia/models/urlcategory.py @@ -40,11 +40,13 @@ def __init__(self, config: Optional[Dict[str, Any]] = None) -> None: self.urls = ZscalerCollection.form_list(config["urls"] if "urls" in config else [], str) - self.regex_patterns_retaining_parent_category = ZscalerCollection.form_list - (config["regexPatternsRetainingParentCategory"] if "regexPatternsRetainingParentCategory" in config else [], str) + self.regex_patterns_retaining_parent_category = ZscalerCollection.form_list( + config["regexPatternsRetainingParentCategory"] if "regexPatternsRetainingParentCategory" in config else [], str + ) - self.regex_patterns = ZscalerCollection.form_list - (config["regexPatterns"]if "regexPatterns" in config else [], str) + self.regex_patterns = ZscalerCollection.form_list( + config["regexPatterns"] if "regexPatterns" in config else [], str + ) self.db_categorized_urls = ZscalerCollection.form_list( config["dbCategorizedUrls"] if "dbCategorizedUrls" in config else [], str