Skip to content

Commit

Permalink
doc: upgrade instructions for split types
Browse files Browse the repository at this point in the history
fixes #157
  • Loading branch information
tilsche committed Apr 13, 2023
1 parent 7336f6a commit 9012a06
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,19 @@ Removal of Asyncio Loop
Python 3.10 removed the loop parameter from the asyncio interface. In particular, the
constructor parameter `event_loop` of :class:`Agent` got removed, as well as,
the property :attr:`Agent.event_loop`.

`4.x` → `5.0`
-------------

Removing internal types module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The module `metricq.types` has been removed.
If you have imported types from it directly you should change to import directly from the primary `metricq` package.

* :class:`Timestamp`
* :class:`Timedelta`
* :class:`TimeValue`
* :class:`TimeAggregate`
* :class:`Metric` (available in `metricq` since `5.0`)
* :class:`JsonDict` (available in `metricq` since `5.0`)

0 comments on commit 9012a06

Please sign in to comment.