Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
master
------

5.0.0 (2020-12-01)
------------------

Breaking Changes:
~~~~~~~~~~~~~~~~~
- `#92 <https://github.com/castle/castle-python/pull/92>`__ change the impersonation-related DSL
- `#80 <https://github.com/castle/castle-python/pull/80>`__, `#81 <https://github.com/castle/castle-python/pull/81>`__ reorganize structure of the SDK
- `#79 <https://github.com/castle/castle-python/pull/79>`__ rename ``config.url`` to ``config.base_url``

- `#79 <https://github.com/castle/castle-python/pull/79/files>`__ drop the configuration ``host``, ``port``, ``url_prefix`` options in favor of ``base_url``
Features:
~~~~~~~~~
- `#97 <https://github.com/castle/castle-python/pull/97>`__ allow to instantiate the configuration
- `#95 <https://github.com/castle/castle-python/pull/95>`__ add webhooks verification
- `#88 <https://github.com/castle/castle-python/pull/88>`__, `#89 <https://github.com/castle/castle-python/pull/89>`__, `#90 <https://github.com/castle/castle-python/pull/90>`__, `#91 <https://github.com/castle/castle-python/pull/91>`__ allow to manage the devices
- `#86 <https://github.com/castle/castle-python/pull/86>`__, `#87 <https://github.com/castle/castle-python/pull/87>`__ add more tests
- `#85 <https://github.com/castle/castle-python/pull/85>`__ add ``Verdict`` and ``Failover`` strategy constants
- `#84 <https://github.com/castle/castle-python/pull/84>`__ update the default timeout
- `#83 <https://github.com/castle/castle-python/pull/83>`__ add logger config option
- `#82 <https://github.com/castle/castle-python/pull/82>`__ drop origin from the default context

4.0.0 (2020-07-06)
------------------

Features:
~~~~~~~~~

- `#69 <https://github.com/castle/castle-python/pull/69/files>`__ added
- `#69 <https://github.com/castle/castle-python/pull/69>`__ added
impersonator to properties

Breaking Changes:
Expand Down
2 changes: 1 addition & 1 deletion castle/test/payload/prepare_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def ctx():
'X-Forwarded-For': '217.144.192.112'
},
'ip': '217.144.192.112',
'library': {'name': 'castle-python', 'version': '4.0.0'},
'library': {'name': 'castle-python', 'version': VERSION},
'user_agent': 'test'
}

Expand Down
2 changes: 1 addition & 1 deletion castle/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '4.0.0'
VERSION = '5.0.0'