Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Zscaler Python SDK Changelog

## 1.9.38 (July 14, 2026)

### Notes

- Python Versions: **v3.9, v3.10, v3.11, v3.12**

### Bug Fixes

* [PR #548](https://github.com/zscaler/zscaler-sdk-python/issues/548) - Fixed ZPA `application_segment` model to include new attributes `extDomain`, `extDomainName`, `extId`, `extLabel`


## 1.9.37 (July 7, 2026)

### Notes
Expand Down
4 changes: 2 additions & 2 deletions docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
html_title = ""

# The short X.Y version
version = "1.9.36"
version = "1.9.38"
# The full version, including alpha/beta/rc tags
release = "1.9.36"
release = "1.9.38"

# -- General configuration ---------------------------------------------------

Expand Down
14 changes: 14 additions & 0 deletions docsrc/zs/guides/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ Release Notes
Zscaler Python SDK Changelog
----------------------------

1.9.38 (July 14, 2026)
---------------------------

Notes
-------

- Python Versions: **v3.9, v3.10, v3.11, v3.12**

Bug Fixes
---------

(`#548 <https://github.com/zscaler/zscaler-sdk-python/pull/548>`_) - Fixed ZPA `application_segment` model to include new attributes `extDomain`, `extDomainName`,


1.9.37 (July 8, 2026)
---------------------------

Expand Down
406 changes: 227 additions & 179 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "zscaler-sdk-python"
version = "1.9.37"
version = "1.9.38"
description = "Official Python SDK for the Zscaler Products"
authors = ["Zscaler, Inc. <devrel@zscaler.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ pyyaml==6.0.3 ; python_version >= "3.10" and python_version < "4.0"
requests==2.34.2 ; python_version >= "3.10" and python_version < "4.0"
six==1.17.0 ; python_version >= "3.10" and python_version < "4.0"
typing-extensions==4.16.0 ; python_version >= "3.10" and python_version < "4.0"
tzdata==2026.2 ; python_version >= "3.10" and python_version < "4.0"
tzdata==2026.3 ; python_version >= "3.10" and python_version < "4.0"
urllib3==2.7.0 ; python_version >= "3.10" and python_version < "4.0"
2 changes: 1 addition & 1 deletion zscaler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
__contributors__ = [
"William Guilherme",
]
__version__ = "1.9.37"
__version__ = "1.9.38"


from zscaler.oneapi_client import Client as ZscalerClient # noqa
16 changes: 16 additions & 0 deletions zscaler/zpa/models/application_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ def __init__(self, config: Optional[Dict[str, Any]] = None) -> None:
self.domain = config["domain"] if "domain" in config else None
self.enabled = config["enabled"] if "enabled" in config else None
self.ext_domain = config["extDomain"] if "extDomain" in config else None
self.ext_domain_name = config["extDomainName"] if "extDomainName" in config else None
self.ext_id = config["extId"] if "extId" in config else None
self.ext_label = config["extLabel"] if "extLabel" in config else None
self.hidden = config["hidden"] if "hidden" in config else None
Expand Down Expand Up @@ -349,6 +350,7 @@ def __init__(self, config: Optional[Dict[str, Any]] = None) -> None:
self.domain = None
self.enabled = None
self.ext_domain = None
self.ext_domain_name = None
self.ext_id = None
self.ext_label = None
self.hidden = None
Expand Down Expand Up @@ -382,6 +384,7 @@ def request_format(self) -> Dict[str, Any]:
"domain": self.domain,
"enabled": self.enabled,
"extDomain": self.ext_domain,
"extDomainName": self.ext_domain_name,
"extId": self.ext_id,
"extLabel": self.ext_label,
"hidden": self.hidden,
Expand Down Expand Up @@ -1030,6 +1033,10 @@ def __init__(self, config: Optional[Dict[str, Any]] = None) -> None:
self.app_id = config["appId"] if "appId" in config else None
self.hidden = config["hidden"] if "hidden" in config else None
self.microtenant_name = config["microtenantName"] if "microtenantName" in config else None
self.ext_domain = config["extDomain"] if "extDomain" in config else None
self.ext_domain_name = config["extDomainName"] if "extDomainName" in config else None
self.ext_id = config["extId"] if "extId" in config else None
self.ext_label = config["extLabel"] if "extLabel" in config else None

if "appResource" in config:
if isinstance(config["appResource"], AppResource):
Expand All @@ -1052,6 +1059,11 @@ def __init__(self, config: Optional[Dict[str, Any]] = None) -> None:
self.hidden = None
self.microtenant_name = None
self.app_resource = None
self.ext_domain = None
self.ext_domain_name = None
self.ext_id = None
self.ext_label = None


def request_format(self) -> Dict[str, Any]:
"""
Expand All @@ -1069,6 +1081,10 @@ def request_format(self) -> Dict[str, Any]:
"hidden": self.hidden,
"microtenantName": self.microtenant_name,
"appResource": self.app_resource,
"extDomain": self.ext_domain,
"extDomainName": self.ext_domain_name,
"extId": self.ext_id,
"extLabel": self.ext_label,
}
parent_req_format.update(current_obj_format)
return parent_req_format
Expand Down
Loading