1Change Log
2==========
3
4Unreleased_
5-----------
6
7N/A
8
90.16.0_ - 2021-01-03
10--------------------
11
12Added
13~~~~~
14
15-  Support for the `car`, `folder`, and `satellite` classes.
16- A `rush storage backend`_ can be provided to a new ``rush_store`` argument to
17  coordinate rate limiting across multiple instances.
18- ``rush_key_prefix`` to optionally prefix keys used in the rust storage
19  backend.
20
21.. _`rush storage backend`: https://rush.readthedocs.io/en/stable/storage.html
22
23Fixed
24~~~~~
25
26- When ``parse_types`` is used, dates are parsed using an ISO 8601 parser,
27  which fixes the parsing of date formats returned by newer request classes
28  (e.g. gp).
29
300.15.0_ - 2020-09-25
31--------------------
32
33Added
34~~~~~
35
36-  Support for the `cdm_public` and `gp_history` classes.
37
380.14.0_ - 2020-06-21
39--------------------
40
41Added
42~~~~~
43
44-  Support for Space-Track’s per-hour rate limit in addition to the
45   per-minute limit.
46
47Changed
48~~~~~~~
49
50-  The per-minute rate limit was increased to 30 as documented by
51   Space-Track.
52-  Require aiohttp 3 for the ``async`` extra.
53-  :class:`~spacetrack.aio.AsyncSpaceTrackClient` is now an asynchronous
54   context manager. Use ``async with`` instead of ``with``.
55
56Removed
57~~~~~~~
58
59-  **Support for Python 2.7, 3.4, and 3.5**.
60
610.13.7_ - 2020-06-20
62--------------------
63
64Added
65~~~~~
66
67-  Support for the general perturbations (gp) class.
68
690.13.6_ - 2020-03-20
70--------------------
71
72Fixed
73~~~~~
74
75-  Regression in 0.13 that prevented ``spephemeris/download`` from
76   working by trying to load a model definition which it doesn’t have.
77
780.13.5_ - 2020-03-18
79--------------------
80
81Fixed
82~~~~~
83
84-  The ‘text’ predicate type is now understood.
85-  Unknown predicate types issue a warning instead of raising an
86   exception.
87
880.13.4_ - 2019-12-24
89--------------------
90
91Added
92~~~~~
93
94-  ``SpaceTrackClient`` gained a ``base_url`` parameter to allow the use
95   of an alternate Space-Track server.
96
970.13.3_ - 2019-03-11
98--------------------
99
100Fixed
101~~~~~
102
103-  The deprecation warning about importing ``Sequence`` or ``Mapping``
104   from ``collections`` instead of ``collections.abc``.
105
1060.13.2_ - 2018-12-31
107--------------------
108
109Fixed
110~~~~~
111
112-  The ``async`` extra installs aiohttp 2 because ``spacetrack`` is not
113   yet aiohttp 3 compatible.
114-  Deprecation warnings about invalid escape sequences.
115
1160.13.1_ - 2018-01-18
117--------------------
118
119Fixed
120~~~~~
121
122-  ``spacetrack`` can be installed with setuptools v38.0+, which
123   requires ``install_requires`` in ``setup.py`` to be ordered.
124
1250.13.0_ - 2017-06-17
126--------------------
127
128Added
129~~~~~
130
131-  ``parse_types`` flag to optionally parse types as described by the
132   ``modeldef`` API.
133-  Compatibility with ``maneuver`` and ``maneuver_history`` request
134   classes for ``expandedspacedata`` request controller.
135-  Compatibility with ``upload`` and ``delete`` request classes for
136   ``fileshare`` request controller.
137
138Fixed
139~~~~~
140
141-  Predicates with the enum type are parsed correctly. Previously,
142   single-valued enums had ``None`` as a second value, and enums with
143   more than two values only had the first and last value due to the
144   regex match not capturing repeated groups. The values aren’t used by
145   ``spacetrack``, so the bug went unnoticed.
146-  Exception on Python 3.5+ in threads without an ``asyncio`` event loop
147   (even using the normal ``SpaceTrackClient``). Fixed by requiring
148   ``ratelimiter`` >= 1.2.0
149
150Changed
151~~~~~~~
152
153-  Require aiohttp >= 2.0 for the ``async`` extra.
154
1550.12.0_ - 2016-06-28
156--------------------
157
158Added
159~~~~~
160
161-  Request controller can be passed explicitly to methods that take a
162   request class, because some request classes are present in more than
163   one controller.
164-  Request controller proxy attribute,
165   e.g. ``SpaceTrackClient.fileshare.file()``, which is equivalent to
166   ``SpaceTrackClient.generic_request('file', controller='fileshare')``.
167-  ``dir(SpaceTrackClient(...))`` now includes the request controllers
168   and request classes so it’s easier to see what can be called.
169
170Fixed
171~~~~~
172
173-  ``/modeldef`` API not queried if no predicates are passed. This
174   allows ``spephemeris/download`` to be used, which doesn’t have a
175   model definition.
176
177Changed
178~~~~~~~
179
180-  Calling request class methods uses first request controller that
181   matches. The order is stored in the keys of the
182   ``SpaceTrackClient.request_controllers`` ordered dict, currently
183   ``basicspacedata``, ``expandedspacedata``, ``fileshare``,
184   ``spephemeris``. Any new request controllers will be added to the
185   end, to preserve lookup order. New request classes that would change
186   the order will accompany a major version bump.
187-  ``AsyncSpaceTrackClient`` uses requests’ CA file for same experience
188   with both clients.
189
1900.11.1_ - 2016-03-01
191--------------------
192
193Fixed
194~~~~~
195
196-  Bump `ratelimiter <https://pypi.python.org/pypi/ratelimiter>`__
197   version to improve rate limiting for ``AsyncSpaceTrackClient``
198
199Changed
200~~~~~~~
201
202-  Documentation included in source distribution.
203
2040.11.0_ - 2016-02-21
205--------------------
206
207Added
208~~~~~
209
210-  Some unit tests added for ``AsyncSpaceTrackClient``.
211
212Fixed
213~~~~~
214
215-  ``\r\n`` to ``\n`` newline conversion for async chunk iterator.
216
217Changed
218~~~~~~~
219
220-  ``AsyncSpaceTrackClient`` can no longer be imported from the top
221   level ``spacetrack`` module, since this would cause an error if
222   optional dependency ``aiohttp`` was not installed. It must be
223   imported from ``spacetrack.aio``.
224
2250.10.0_ - 2016-02-04
226--------------------
227
228Fixed
229~~~~~
230
231-  Compatibility with ``file`` and ``download`` request classes for
232   ``fileshare`` request controller. ``upload`` request class removed,
233   unable to test.
234-  Rate limit violation HTTP status code 500 handled during predicate
235   information request.
236
237Changed
238~~~~~~~
239
240-  ``iter_lines=True`` now raises ``ValueError`` if receiving binary
241   data (currently only possible with ``download`` request class).
242-  Removed internal method ``_get_predicate_fields``, set comprehension
243   used inline instead.
244-  ``Predicate`` class now has a ``default`` attribute.
245
2460.9.0_ - 2016-01-28
247-------------------
248
249First release.
250
251.. _Unreleased: https://github.com/python-astrodynamics/spacetrack/compare/0.16.0...HEAD
252.. _0.16.0: https://github.com/python-astrodynamics/spacetrack/compare/0.15.0...0.16.0
253.. _0.15.0: https://github.com/python-astrodynamics/spacetrack/compare/0.14.0...0.15.0
254.. _0.14.0: https://github.com/python-astrodynamics/spacetrack/compare/0.13.7...0.14.0
255.. _0.13.7: https://github.com/python-astrodynamics/spacetrack/compare/0.13.6...0.13.7
256.. _0.13.6: https://github.com/python-astrodynamics/spacetrack/compare/0.13.5...0.13.6
257.. _0.13.5: https://github.com/python-astrodynamics/spacetrack/compare/0.13.4...0.13.5
258.. _0.13.4: https://github.com/python-astrodynamics/spacetrack/compare/0.13.3...0.13.4
259.. _0.13.3: https://github.com/python-astrodynamics/spacetrack/compare/0.13.2...0.13.3
260.. _0.13.2: https://github.com/python-astrodynamics/spacetrack/compare/0.13.1...0.13.2
261.. _0.13.1: https://github.com/python-astrodynamics/spacetrack/compare/0.13.0...0.13.1
262.. _0.13.0: https://github.com/python-astrodynamics/spacetrack/compare/0.12.0...0.13.0
263.. _0.12.0: https://github.com/python-astrodynamics/spacetrack/compare/0.11.1...0.12.0
264.. _0.11.1: https://github.com/python-astrodynamics/spacetrack/compare/0.11.0...0.11.1
265.. _0.11.0: https://github.com/python-astrodynamics/spacetrack/compare/0.10.0...0.11.0
266.. _0.10.0: https://github.com/python-astrodynamics/spacetrack/compare/0.9.0...0.10.0
267.. _0.9.0: https://github.com/python-astrodynamics/spacetrack/compare/e5fc088a96ec1557d44931e00500cdcef8349fad...0.9.0
268