Skip to content

Commit f84c96e

Browse files
committed
Prepare changelog
1 parent 33f4b52 commit f84c96e

File tree

4 files changed

+55
-7
lines changed

4 files changed

+55
-7
lines changed

docs/changelog.rst

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,55 @@
11
Change Log
22
==========
33

4-
Unreleased_
5-
-----------
4+
1.4.0_ - 2025-02-21
5+
-------------------
6+
7+
Added
8+
~~~~~
9+
10+
- Support for Python 3.13
11+
- ``timeout`` parameter to request methods. See
12+
:meth:`SpaceTrackClient.generic_request <spacetrack.base.SpaceTrackClient.generic_request>`
13+
14+
Changed
15+
~~~~~~~
16+
17+
- Space-Track prefers that users log out of sessions explicitly. The existing
18+
:meth:`SpaceTrackClient.close <spacetrack.base.SpaceTrackClient.close>`
19+
method will call the new
20+
:meth:`SpaceTrackClient.logout <spacetrack.base.SpaceTrackClient.logout>`
21+
method if necessary.
22+
23+
For this reason, using the client as a context manager is now recommended:
24+
25+
.. code-block:: python
26+
27+
with SpaceTrackClient(...) as st:
28+
st.gp(...)
29+
30+
- The Space-Track API used to validate keyword arguments is now cached on disk
31+
so that it is not queried more than once per day. Due to lack of support for
32+
:mod:`trio` in the package used to manage the cache, keyword validation will
33+
typically be skipped when using
34+
:class:`~spacetrack.aio.AsyncSpaceTrackClient` with :mod:`trio` rather than
35+
:mod:`asyncio`.
36+
37+
- Improved :ref:`rate-limiting` documentation to emphasise that the library
38+
cannot handle all of Space-Track's usage guidelines for you.
39+
40+
- Default timeouts increased to 30 seconds to better handle current Space-Track
41+
performance.
42+
43+
Deprecated
44+
~~~~~~~~~~
45+
46+
- The ``tle``, ``tle_latest``, ``tle_publish``, and ``omm`` classes have been deprecated by Space-Track and are scheduled to be removed. Visit https://www.space-track.org/documentation#/api for more information.
47+
48+
49+
Removed
50+
~~~~~~~
651

7-
N/A
52+
- **Support for Python 3.8**
853

954
1.3.1_ - 2024-08-01
1055
-------------------
@@ -128,7 +173,7 @@ Fixed
128173
Added
129174
~~~~~
130175

131-
- Support for the `cdm_public` and `gp_history` classes.
176+
- Support for the ``cdm_public`` and ``gp_history`` classes.
132177

133178
0.14.0_ - 2020-06-21
134179
--------------------
@@ -159,7 +204,7 @@ Removed
159204
Added
160205
~~~~~
161206

162-
- Support for the general perturbations (gp) class.
207+
- Support for the general perturbations (``gp``) class.
163208

164209
0.13.6_ - 2020-03-20
165210
--------------------
@@ -343,7 +388,7 @@ Changed
343388

344389
First release.
345390

346-
.. _Unreleased: https://github.com/python-astrodynamics/spacetrack/compare/1.3.1...HEAD
391+
.. _1.4.0: https://github.com/python-astrodynamics/spacetrack/compare/1.3.1...1.4.0
347392
.. _1.3.1: https://github.com/python-astrodynamics/spacetrack/compare/1.3.0...1.3.1
348393
.. _1.3.0: https://github.com/python-astrodynamics/spacetrack/compare/1.2.0...1.3.0
349394
.. _1.2.0: https://github.com/python-astrodynamics/spacetrack/compare/1.1.0...1.2.0

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@
6565

6666
intersphinx_mapping = {
6767
"python": ("https://docs.python.org/3", None),
68-
"requests": ("https://requests.readthedocs.io/en/stable/", None),
68+
"requests": ("https://requests.readthedocs.io/en/stable", None),
6969
"aiohttp": ("https://docs.aiohttp.org/en/stable", None),
7070
"rush": ("https://rush.readthedocs.io/en/stable", None),
71+
"trio": ("https://trio.readthedocs.io/en/stable", None),
7172
}
7273

7374
autodoc_member_order = "bysource"

docs/usage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ opened file:
125125
with open("somefile.txt", "rb") as fp:
126126
st.upload(file=fp)
127127
128+
.. _rate-limiting:
128129

129130
Rate Limiting
130131
=============

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,4 @@ select = [
9797

9898
[tool.doc8]
9999
ignore-path = ["docs/_build", "docs/requirements.txt"]
100+
ignore = ["D001"]

0 commit comments

Comments
 (0)