From 78d2d50ac0f29d34635b51667be02c50dba74bac Mon Sep 17 00:00:00 2001 From: Stephen Rosen Date: Wed, 10 Jun 2026 10:04:51 -0500 Subject: [PATCH] Bump version and changelog for release --- ...1_170758_sirosen_define_orjson_encoder.rst | 31 ------------- ...20260605_135304_aaschaer_remove_pinned.rst | 4 -- changelog.rst | 45 +++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 46 insertions(+), 36 deletions(-) delete mode 100644 changelog.d/20260501_170758_sirosen_define_orjson_encoder.rst delete mode 100644 changelog.d/20260605_135304_aaschaer_remove_pinned.rst diff --git a/changelog.d/20260501_170758_sirosen_define_orjson_encoder.rst b/changelog.d/20260501_170758_sirosen_define_orjson_encoder.rst deleted file mode 100644 index 71c4e189..00000000 --- a/changelog.d/20260501_170758_sirosen_define_orjson_encoder.rst +++ /dev/null @@ -1,31 +0,0 @@ -Added ------ - -- The SDK now supports use of ``orjson`` as an alternative JSON encoder and decoder. - When ``orjson`` is installed, the SDK will automatically use it in place of - the stdlib ``json`` module. (:pr:`1385`) - -- ``RequestsTransport`` objects are now visible via - ``RequestsTransport.get_current_transport()``, a staticmethod, while the - transport is sending a request or being used to handle a response. This - method raises a ``LookupError`` if there is no currently active transport. - (:pr:`1385`) - -- The request encoders defined in ``globus_sdk.transport`` have been - refactored into ``RequestsRepresentationProvider``\s, objects responsible - for encoding and decoding ``requests`` data in specific formats. In order to - retain compatibility, they are still available aliased under their previous - names, as "encoders". - -Deprecated ----------- - -- The ``RequestsTransport`` class supports configuration of request encoding - via a class-variable mapping, ``encoders``. This limits the ability of the - SDK to apply per-object customizations, as in the case of ``orjson`` - support. The class variable ``encoders`` is deprecated. Users who wish to - customize request encoding and response decoding should leverage the new - ``representation_providers`` instance variable instead. - -- The ``globus_sdk.transport.encoders`` module is deprecated. Use - ``globus_sdk.transport.representation_providers`` instead. diff --git a/changelog.d/20260605_135304_aaschaer_remove_pinned.rst b/changelog.d/20260605_135304_aaschaer_remove_pinned.rst deleted file mode 100644 index b5aa131a..00000000 --- a/changelog.d/20260605_135304_aaschaer_remove_pinned.rst +++ /dev/null @@ -1,4 +0,0 @@ -Removed -------- - - - The ``pinned`` field was removed from the experimental ``BookmarkCreateDocument`` and ``BookmarkUpdateDocument`` classes to align with the API which does not support the field. diff --git a/changelog.rst b/changelog.rst index b11d4dc9..38e89a4e 100644 --- a/changelog.rst +++ b/changelog.rst @@ -12,6 +12,51 @@ to a major new version of the SDK. .. scriv-insert-here +.. _changelog-4.8.0: + +v4.8.0 (2026-06-10) +=================== + +Added +----- + +- The SDK now supports use of ``orjson`` as an alternative JSON encoder and decoder. + When ``orjson`` is installed, the SDK will automatically use it in place of + the stdlib ``json`` module. (:pr:`1385`) + +- ``RequestsTransport`` objects are now visible via + ``RequestsTransport.get_current_transport()``, a staticmethod, while the + transport is sending a request or being used to handle a response. This + method raises a ``LookupError`` if there is no currently active transport. + (:pr:`1385`) + +- The request encoders defined in ``globus_sdk.transport`` have been + refactored into ``RequestsRepresentationProvider``\s, objects responsible + for encoding and decoding ``requests`` data in specific formats. In order to + retain compatibility, they are still available aliased under their previous + names, as "encoders". + (:pr:`1385`) + +Removed +------- + +- The ``pinned`` field was removed from the experimental + ``BookmarkCreateDocument`` and ``BookmarkUpdateDocument`` classes to align + with the API, which does not support the field. + +Deprecated +---------- + +- The ``RequestsTransport`` class supports configuration of request encoding + via a class-variable mapping, ``encoders``. This limits the ability of the + SDK to apply per-object customizations, as in the case of ``orjson`` + support. The class variable ``encoders`` is deprecated. Users who wish to + customize request encoding and response decoding should leverage the new + ``representation_providers`` instance variable instead. + +- The ``globus_sdk.transport.encoders`` module is deprecated. Use + ``globus_sdk.transport.representation_providers`` instead. + .. _changelog-4.7.0: v4.7.0 (2026-05-20) diff --git a/pyproject.toml b/pyproject.toml index b1b2df7b..a67ab7b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "globus-sdk" -version = "4.7.0" +version = "4.8.0" authors = [ { name = "Globus Team", email = "support@globus.org" }, ]