Skip to content

Releases: exonet/exonet-api-python

4.0.0

06 Oct 09:00
17df9dd
Compare
Choose a tag to compare

What’s changed

🚨 Breaking changes

  • [#35] Use poetry for python packaging and dependency management @trizz
  • [#77] Drop python 3.7 support ~ Add python 3.11 support @robbinjanssen

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

47 changes

3.0.3

08 Nov 14:54
85ea631
Compare
Choose a tag to compare

What’s changed

🐛 Bug fixes

🧰 Maintenance

Dependency update

06 Aug 14:00
9f89bbd
Compare
Choose a tag to compare

3.0.2 - 2021-08-06

Compare 3.0.1 - 3.0.2

Changed

  • Dependencies have been updated. The old urllib3 version had a vulnerability that is now fixed.

Update dependencies

05 Oct 12:09
2334ade
Compare
Choose a tag to compare

3.0.1 - 2020-10-05

Compare 3.0.0 - 3.0.1

Changed

  • Dependencies have been updated.

Release v3

11 Sep 08:19
fcee777
Compare
Choose a tag to compare

Breaking

  • When multiple resources are returned from the API, an instance of ApiResourceSet is returned instead of a list. This class is traversable so unless the code does specific list things or type checks, no changes are necessary.

Added

  • Add the total() method to resource sets to get the total number of resources (and not only the number of resources in the current resource set).
  • Add next_page, previous_page, first_page and last_page methods to the ApiResourceSet for easy loading of paginated resource sets.
  • Add a get_recursive method to the RequestBuilder to get the resource set including recursively the resource sets from the following pages.

Removed

  • The store method for creating POST requests. (Deprecated since 2.0.0)

Add the ValidationException

27 Nov 14:45
d451295
Compare
Choose a tag to compare

2.1.0 - 2019-11-19

Compare 2.0.0 - 2.1.0

Changed

  • Extend the ValidationException to contain all returned validation errors.

Release v2

19 Sep 09:56
937a9c4
Compare
Choose a tag to compare

2.0.0 - 2019-09-19

Compare 1.0.0 - 2.0.0

Breaking

  • The Api prefix has been added from the following classes for consistency:
    • Resource --> ApiResource
    • ResourceIdentifier --> ApiResourceIdentifier

Added

  • Support for PATCH and DELETE requests.

Deprecated

  • The store method for creating POST requests is now deprecated. Use post instead.

1.0.0

14 Aug 08:38
e3184f2
Compare
Choose a tag to compare

Compare 1.0.0 - Unreleased

1.0.0 - 2019-08-14

Compare 0.0.5 - 1.0.0

Breaking

  • The Client has been refactored to keep consistency between packages in different programming languages. See the updated documentation and examples.

Sort by field

20 Nov 13:54
f4a2a9b
Compare
Choose a tag to compare

Added possibility to retrieve sorted results from the API.

Get or set relationships

26 Jun 09:53
ddf4d54
Compare
Choose a tag to compare

0.0.3 - 2018-06-26

Compare 0.0.2 - 0.0.3

Added

  • Ready to use examples to get ticket details.
  • Individual methods to set or get relationships from a resource object.

Changed

  • Most class variables changed to instance variables.
    This enforces the defaults to be set, instead of using the same variables from another instance.