@@ -12,6 +12,51 @@ to a major new version of the SDK.
1212
1313.. scriv-insert-here
1414
15+ .. _changelog-4.8.0 :
16+
17+ v4.8.0 (2026-06-10)
18+ ===================
19+
20+ Added
21+ -----
22+
23+ - The SDK now supports use of ``orjson `` as an alternative JSON encoder and decoder.
24+ When ``orjson `` is installed, the SDK will automatically use it in place of
25+ the stdlib ``json `` module. (:pr: `1385 `)
26+
27+ - ``RequestsTransport `` objects are now visible via
28+ ``RequestsTransport.get_current_transport() ``, a staticmethod, while the
29+ transport is sending a request or being used to handle a response. This
30+ method raises a ``LookupError `` if there is no currently active transport.
31+ (:pr: `1385 `)
32+
33+ - The request encoders defined in ``globus_sdk.transport `` have been
34+ refactored into ``RequestsRepresentationProvider ``\s , objects responsible
35+ for encoding and decoding ``requests `` data in specific formats. In order to
36+ retain compatibility, they are still available aliased under their previous
37+ names, as "encoders".
38+ (:pr: `1385 `)
39+
40+ Removed
41+ -------
42+
43+ - The ``pinned `` field was removed from the experimental
44+ ``BookmarkCreateDocument `` and ``BookmarkUpdateDocument `` classes to align
45+ with the API, which does not support the field.
46+
47+ Deprecated
48+ ----------
49+
50+ - The ``RequestsTransport `` class supports configuration of request encoding
51+ via a class-variable mapping, ``encoders ``. This limits the ability of the
52+ SDK to apply per-object customizations, as in the case of ``orjson ``
53+ support. The class variable ``encoders `` is deprecated. Users who wish to
54+ customize request encoding and response decoding should leverage the new
55+ ``representation_providers `` instance variable instead.
56+
57+ - The ``globus_sdk.transport.encoders `` module is deprecated. Use
58+ ``globus_sdk.transport.representation_providers `` instead.
59+
1560.. _changelog-4.7.0 :
1661
1762v4.7.0 (2026-05-20)
0 commit comments