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
31 changes: 0 additions & 31 deletions changelog.d/20260501_170758_sirosen_define_orjson_encoder.rst

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/20260605_135304_aaschaer_remove_pinned.rst

This file was deleted.

45 changes: 45 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
]
Expand Down
Loading