<commit_before>CHANGELOG
=========

v3.0.0a1
--------

* Update documentation site style and layout (`#423`_)
* The interface for ``GlobusAuthorizer`` now defines
  ``get_authorization_header`` instead of ``set_authorization_header``, and
  additional keyword arguments are not allowed (`#422`_)
* New Transport layer handles HTTP details, variable payload
  encodings, and automatic request retries (`#417`_)
* Instead of ``json_body=...`` and ``text_body=...``, use ``data=...``
  combined with ``encoding="json"``, ``encoding="form"``, or
  ``encoding="text"`` to format payload data. ``encoding="json"`` is the
  default when ``data`` is a dict.
* By default, requests are retried automatically on potentially transient
  error codes (e.g. ``http_status=500``) and network errors with exponential
  backoff
* ``globus_sdk.BaseClient`` and its subclasses define ``retry_policy``
  and ``transport_class`` class attributes which can be used to customize the
  retry behavior used
* ``globus-sdk`` now provides PEP561 typing data (`#420`_)
* The JWT dependency has been updated to ``pyjwt>=2,<3`` (`#416`_)
* The config files in ``~/.globus.cfg`` and ``/etc/globus.cfg`` are no longer
  used. Configuration can now be done via environment variables (`#409`_)
* Cleanup client class attrs (https://github.com/globus/globus-cli/pull/415[415])
* ``OAuthTokenResponse.decode_id_token`` can now be provided a JWK and openid
  configuration as parameters. ``AuthClient`` implements methods for fetching
  these data, so that they can be fetched and stored outside of this call.
  There is no automatic caching of these data. (`#403`_)
* Remove ``allowed_authorizer_types`` restriction from ``BaseClient`` (`#407`_)
* Remove ``auth_client=...`` parameter to
  ``OAuthTokenResponse.decode_id_token`` (`#400`_)

.. _#423: https://github.com/globus/globus-cli/pull/423
.. _#422: https://github.com/globus/globus-cli/pull/422
.. _#417: https://github.com/globus/globus-cli/pull/417
.. _#420: https://github.com/globus/globus-cli/pull/420
.. _#416: https://github.com/globus/globus-cli/pull/416
.. _#409: https://github.com/globus/globus-cli/pull/409
.. _#403: https://github.com/globus/globus-cli/pull/403
.. _#407: https://github.com/globus/globus-cli/pull/407
.. _#400: https://github.com/globus/globus-cli/pull/400

v2.0.1
------<commit_msg>Fix changelog links<commit_after>CHANGELOG
=========

v3.0.0a1
--------

* Update documentation site style and layout (`#423`_)
* The interface for ``GlobusAuthorizer`` now defines
  ``get_authorization_header`` instead of ``set_authorization_header``, and
  additional keyword arguments are not allowed (`#422`_)
* New Transport layer handles HTTP details, variable payload
  encodings, and automatic request retries (`#417`_)
* Instead of ``json_body=...`` and ``text_body=...``, use ``data=...``
  combined with ``encoding="json"``, ``encoding="form"``, or
  ``encoding="text"`` to format payload data. ``encoding="json"`` is the
  default when ``data`` is a dict.
* By default, requests are retried automatically on potentially transient
  error codes (e.g. ``http_status=500``) and network errors with exponential
  backoff
* ``globus_sdk.BaseClient`` and its subclasses define ``retry_policy``
  and ``transport_class`` class attributes which can be used to customize the
  retry behavior used
* ``globus-sdk`` now provides PEP561 typing data (`#420`_)
* The JWT dependency has been updated to ``pyjwt>=2,<3`` (`#416`_)
* The config files in ``~/.globus.cfg`` and ``/etc/globus.cfg`` are no longer
  used. Configuration can now be done via environment variables (`#409`_)
* ``BaseClient.app_name`` is a property with a custom setter, replacing
  ``set_app_name`` (`#415`_)
* ``OAuthTokenResponse.decode_id_token`` can now be provided a JWK and openid
  configuration as parameters. ``AuthClient`` implements methods for fetching
  these data, so that they can be fetched and stored outside of this call.
  There is no automatic caching of these data. (`#403`_)
* Remove ``allowed_authorizer_types`` restriction from ``BaseClient`` (`#407`_)
* Remove ``auth_client=...`` parameter to
  ``OAuthTokenResponse.decode_id_token`` (`#400`_)

.. _#423: https://github.com/globus/globus-sdk-python/pull/423
.. _#422: https://github.com/globus/globus-sdk-python/pull/422
.. _#417: https://github.com/globus/globus-sdk-python/pull/417
.. _#420: https://github.com/globus/globus-sdk-python/pull/420
.. _#416: https://github.com/globus/globus-sdk-python/pull/416
.. _#415: https://github.com/globus/globus-sdk-python/pull/415
.. _#409: https://github.com/globus/globus-sdk-python/pull/409
.. _#403: https://github.com/globus/globus-sdk-python/pull/403
.. _#407: https://github.com/globus/globus-sdk-python/pull/407
.. _#400: https://github.com/globus/globus-sdk-python/pull/400

v2.0.1
------
{'fraction_non_alphanumeric': 0.16289686656982777, 'fraction_numerical': 0.04295496991076987, 'mean_word_length': 4.533869115958669, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6906875', 'n_tokens_mistral': 1677, 'n_tokens_neox': 1534, 'n_words': 446}