diff --git a/CHANGELOG.md b/CHANGELOG.md index 90a269ca..110e5f3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,15 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Changed - -- O11y CRUD requests now target `https://api.{realm}.observability.splunkcloud.com` instead of - `https://app.{realm}.observability.splunkcloud.com`. The OTLP ingest endpoint and the console URL are unchanged. +## [0.8.0] ### Added - `SPLUNK_AO_O11Y_API_URL` optionally overrides the O11y CRUD API origin (for example a private or custom endpoint). It must be an `https://` origin without a path. OTLP ingest is not affected. +- The low-level API client (`splunk_ao.resources`) gains `HEAD /datasets/{dataset_id}/content`, + `POST /datasets/{dataset_id}/versions/{version_index}/preview` and the Luna dataset preview models. + +### Changed + +- O11y CRUD requests now target `https://api.{realm}.observability.splunkcloud.com` instead of + `https://app.{realm}.observability.splunkcloud.com`. The OTLP ingest endpoint and the console URL are unchanged. +- **Breaking:** the low-level API client (`splunk_ao.resources`) is regenerated from the current Client API spec: + - The dataset preview endpoint accepts `LunaDatasetPreviewRequest | PreviewDatasetRequest`, returns + `DatasetContent | LunaDatasetPreview | LunaDatasetPreviewErrorResponse` (no `HTTPValidationError`), and + `limit` now defaults to unset instead of `100`. + - `CreateJobRequest` and `CreateJobResponse` no longer have `log_metric_computing_records`. + - `ListScorerVersionsResponse.versions` holds `ScorerVersionListItem` instead of `BaseScorerVersionResponse`. + - `ValidResult.score_type` is a `ValidResultScoreType` enum instead of `str`. ## [0.7.0] @@ -312,6 +323,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 unknown before an acknowledgement and after ordinary transport or non-2xx failures; it is not a delivery guarantee. +[0.8.0]: https://pypi.org/project/splunk-ao/0.8.0/ [0.7.0]: https://pypi.org/project/splunk-ao/0.7.0/ [0.6.1]: https://pypi.org/project/splunk-ao/0.6.1/ [0.6.0]: https://pypi.org/project/splunk-ao/0.6.0/ diff --git a/pyproject.toml b/pyproject.toml index fdd35769..0c14f535 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "splunk-ao" -version = "0.7.0" +version = "0.8.0" description = "Splunk Agent Observability SDK for Python." authors = [{ name = "Splunk Inc." }] readme = "README.md" diff --git a/src/splunk_ao/__init__.py b/src/splunk_ao/__init__.py index e66479b1..d45bff12 100644 --- a/src/splunk_ao/__init__.py +++ b/src/splunk_ao/__init__.py @@ -93,7 +93,7 @@ from splunk_ao.types import MetricSpec from splunk_ao.utils.log_config import enable_console_logging -__version__ = "0.7.0" +__version__ = "0.8.0" __all__ = [ # Stable / unchanged