From 0f2bd5cf9e762f0a9686909843042965a507025d Mon Sep 17 00:00:00 2001 From: Prashanth Manthena Date: Fri, 1 May 2026 13:34:07 -0700 Subject: [PATCH] Releasing SDK version 26.4.0 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- CHANGELOG.md | 10 +++++----- README.md | 12 ++++++------ SECURITY.md | 7 ++++--- graphiant_sdk/__init__.py | 2 +- graphiant_sdk/api_client.py | 2 +- graphiant_sdk/configuration.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 9 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index fd227d67..07ec4484 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -26,7 +26,7 @@ If applicable, add screenshots to help explain your problem. **Environment (please complete the following information):** - OS: [e.g. macOS, Linux, Windows] - Python version: [e.g. 3.10, 3.11, 3.12, 3.13] - - SDK version: [e.g. 26.3.3] (run `python -c "import graphiant_sdk; print(graphiant_sdk.__version__)"` to check) + - SDK version: [e.g. 26.4.0] (run `python -c "import graphiant_sdk; print(graphiant_sdk.__version__)"` to check) - Installation method: [e.g. pip, from source] **Additional context** diff --git a/CHANGELOG.md b/CHANGELOG.md index c1d60045..1d61402c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Security - **pytest** (dev / CI): require **≥ 9.0.3** for **CVE-2025-71176** (insecure **`/tmp/pytest-of-{user}`** handling on UNIX; local users could cause **denial of service** or possibly **gain privileges**). See [pytest PR #14279](https://github.com/pytest-dev/pytest/pull/14279). -## [26.4.1] - 2026-04-30 +## [26.4.0] - 2026-04-30 ### Added -- **API spec:** `graphiant_api_docs_v26.4.1.json` +- **API spec:** `graphiant_api_docs_v26.4.0.json` - **Global content filters:** CRUD-style operations under **`/v1/global/content-filters`** and **`/v1/global/content-filters/{globalContentFilterId}`**; models including **`V1GlobalContentFilters*`** row/rule/site/lan entry types and **`ManaV2GlobalContentFilterConfig`**, **`ManaV2GlobalContentFilterRule`** - **Domain categories:** **`GET /v1/global/domain-categories`** with **`V1GlobalDomainCategoriesGetResponse`** and **`ManaV2DomainCategory`** - **Software upgrade rollouts:** **`GET`/`POST`/`PUT /v1/software/rollouts`**, **`GET`/`DELETE /v1/software/rollouts/{id}`**, **`POST /v1/software/rollouts/schedule`**; models **`UpgradeRollout`**, **`UpgradeRolloutConfig`**, **`UpgradeRolloutDevice`**, **`UpgradeRecurringSchedule`**, **`UpgradeMonthlyRecurrence`**, **`UpgradeWeeklyRecurrence`**, **`UpgradeYearlyRecurrence`**, plus related **`V1SoftwareRollouts*`** request/response types @@ -21,12 +21,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - **Mana:** **`ManaV2RegionCoordinates`**; **`ManaV2Region`** updated in spec ### Changed -- **Version:** Package **26.4.1**; OpenAPI bundle **`graphiant_api_docs_v26.4.1.json`** (replaces **26.3.1** bundle in-repo). +- **Version:** Package **26.4.0**; OpenAPI bundle **`graphiant_api_docs_v26.4.0.json`** (replaces **26.3.1** bundle in-repo). - **Schemas / docs (updated):** **`AlertserviceNotificationBody`**, **`AssuranceClientSession`**, **`AssuranceRegion`**, **`UpgradeUpgradeOccurrence`**, **`UpgradeUpgradeSummary`**, **`V2AssuranceTopologyClientSummariesPostResponseSummary`**, **`DefaultApi`**, README and generated **`docs/`** model pages. -- **SDK (generated):** Refreshed **`default_api`**, **`api_client`**, **`configuration`**, and model exports to match the **26.4.1** spec. +- **SDK (generated):** Refreshed **`default_api`**, **`api_client`**, **`configuration`**, and model exports to match the **26.4.0** spec. ### Removed -- **API spec:** removed **`graphiant_api_docs_v26.3.1.json`** (superseded by **26.4.1** bundle). +- **API spec:** removed **`graphiant_api_docs_v26.3.1.json`** (superseded by **26.4.0** bundle). ## [26.3.3] - 2026-04-10 diff --git a/README.md b/README.md index ee9a1757..f9525b6d 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ More product and platform context: [Graphiant Docs](https://docs.graphiant.com). | **Automation** | [Graphiant Automation](https://docs.graphiant.com/docs/automation) | | **REST API** | [Graphiant Portal REST API](https://docs.graphiant.com/docs/graphiant-portal-rest-api) | | **Method index (repo)** | [DefaultApi.md](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/docs/DefaultApi.md) | -| **OpenAPI bundle (this build)** | [`graphiant_api_docs_v26.4.1.json`](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/graphiant_api_docs_v26.4.1.json) — source for generated paths and models | +| **OpenAPI bundle (this build)** | [`graphiant_api_docs_v26.4.0.json`](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/graphiant_api_docs_v26.4.0.json) — source for generated paths and models | | **Model docs (`*.md`)** | [`docs/`](https://github.com/Graphiant-Inc/graphiant-sdk-python/tree/main/docs) (same names as Python classes, e.g. `V1EdgesSummaryGetResponse.md`) | | **PyPI** | [graphiant-sdk](https://pypi.org/project/graphiant-sdk) | | **Changelog** | [CHANGELOG.md](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/CHANGELOG.md) | @@ -469,15 +469,15 @@ brew install openapi-generator # macOS # Generate SDK openapi-generator generate \ - -i graphiant_api_docs_v26.4.1.json \ + -i graphiant_api_docs_v26.4.0.json \ -g python \ --git-user-id Graphiant-Inc \ --git-repo-id graphiant-sdk-python \ --package-name graphiant_sdk \ - --additional-properties=packageVersion=26.4.1 + --additional-properties=packageVersion=26.4.0 ``` -> **Note:** Download the latest API bundle from the Graphiant portal under **Support Hub** → **Developer Tools**. Set **`packageVersion`** to the SDK release you are publishing (this branch: **26.4.1**). The **`-i`** filename reflects the API doc bundle version (here `graphiant_api_docs_v26.4.1.json`) and may stay the same across patch releases when the spec is unchanged. +> **Note:** Download the latest API bundle from the Graphiant portal under **Support Hub** → **Developer Tools**. Set **`packageVersion`** to the SDK release you are publishing (this branch: **26.4.0**). The **`-i`** filename reflects the API doc bundle version (here `graphiant_api_docs_v26.4.0.json`) and may stay the same across patch releases when the spec is unchanged. ### Testing @@ -493,7 +493,7 @@ python -m pytest tests/ --cov=graphiant_sdk --cov-report=html ### Source of truth (this release) -Operations and schemas are generated from **`graphiant_api_docs_v26.3.1.json`** (repo root and PyPI wheel). For a newer portal/API, download the current bundle (Support Hub → Developer Tools) and diff paths before relying on URLs here. +Operations and schemas are generated from **`graphiant_api_docs_v26.4.0.json`** (repo root and PyPI wheel). For a newer portal/API, download the current bundle (Support Hub → Developer Tools) and diff paths before relying on URLs here. | How to explore | Where | |----------------|-------| @@ -524,7 +524,7 @@ REST query parameters use **camelCase** in URLs (`enterpriseId`). Generated Pyth | **`V1GlobalSummaryPostRequest`**, **`V1GlobalSummaryPostResponse`** | **`POST /v1/global/summary`** | | **`V2ParentalertlistPostRequest`**, **`V2ParentalertlistPostResponse`** | **`POST /v2/parentalertlist`** | -### Sample HTTP endpoints (from `graphiant_api_docs_v26.3.1.json`) +### Sample HTTP endpoints (from `graphiant_api_docs_v26.4.0.json`) The API surface is large; this table lists **real** paths from the bundled spec. For the full set, use **`graphiant api list`** or **`DefaultApi.md`**. diff --git a/SECURITY.md b/SECURITY.md index 6e44b5df..8971e283 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,8 +6,9 @@ We actively support the following versions with security updates: | Version | Supported | Notes | | ------- | ------------------ | ---------------------------------------- | -| 26.3.x | :white_check_mark: | Current stable release (latest: **26.3.3**) | -| 26.2.x | :white_check_mark: | Previous release | +| 26.4.x | :white_check_mark: | Current stable release (latest: **26.4.0**) | +| 26.3.x | :white_check_mark: | Previous release line (latest: **26.3.3**) | +| 26.2.x | :white_check_mark: | Older supported release | | 26.1.x | :white_check_mark: | Older supported release | | 25.12.x | :white_check_mark: | Legacy release | | < 25.12 | :x: | No longer supported | @@ -265,4 +266,4 @@ For security concerns, please contact: **security@graphiant.com** --- -**Last Updated**: 2026-03-27 +**Last Updated**: 2026-05-01 diff --git a/graphiant_sdk/__init__.py b/graphiant_sdk/__init__.py index c6d2a0d3..23ec657b 100644 --- a/graphiant_sdk/__init__.py +++ b/graphiant_sdk/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "26.4.1" +__version__ = "26.4.0" # Define package exports __all__ = [ diff --git a/graphiant_sdk/api_client.py b/graphiant_sdk/api_client.py index 85b722e0..be8a24ff 100644 --- a/graphiant_sdk/api_client.py +++ b/graphiant_sdk/api_client.py @@ -91,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/26.4.1/python' + self.user_agent = 'OpenAPI-Generator/26.4.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/graphiant_sdk/configuration.py b/graphiant_sdk/configuration.py index 02012bb8..18d3a166 100644 --- a/graphiant_sdk/configuration.py +++ b/graphiant_sdk/configuration.py @@ -554,7 +554,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 26.4.1".\ + "SDK Package Version: 26.4.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/pyproject.toml b/pyproject.toml index 29800c84..345744c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphiant_sdk" -version = "26.4.1" +version = "26.4.0" description = "Graphiant APIs" authors = [ {name = "OpenAPI Generator Community",email = "team@openapitools.org"}, diff --git a/setup.py b/setup.py index 3b1b7566..ce61b553 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "graphiant_sdk" -VERSION = "26.4.1" +VERSION = "26.4.0" PYTHON_REQUIRES = ">= 3.10" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0",