Skip to content

Commit

Permalink
release: 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Mar 31, 2020
1 parent 9be939b commit f409fa8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 6 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
Release History
===============

### Version 2.3.0
Released on March 31, 2020

#### Added
- Add SEP0029 (memo required) support. ([#291](https://github.com/StellarCN/py-stellar-base/pull/291))
Extends `Server.submit_transaction` to always run a memo required check before
sending the transaction. If any of the destinations require a memo and the
transaction doesn't include one, then an `AccountRequiresMemoError` will be thrown.

This may degrade performance, but you can skip this check by passing `skip_memo_required_check=True` to `Server.submit_transaction`:

```
server.submit_transaction(tx, skip_memo_required_check=True)
```
The check runs for each operation of type:
- `Payment`
- `PathPaymentStrictReceive`
- `PathPaymentStrictSend`
- `AccountMerge`

If the transaction includes a memo, then memo required checking is skipped.

See [SEP-0029](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0029.md) for more information about memo required check.

#### Changed
- Optimize the processing of horizon parameters. ([#289](https://github.com/StellarCN/py-stellar-base/pull/289))

### Version 2.2.3
Released on March 12, 2020

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Install and update using `pipenv`_ or `pip`_:

.. code-block:: text
pip install stellar-sdk==2.2.3
pip install stellar-sdk==2.3.0
A Simple Example
Expand Down
4 changes: 2 additions & 2 deletions docs/en/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To install py-stellar-sdk, use pipenv to install the module:

.. code-block:: text
pipenv install stellar-sdk==2.2.3
pipenv install stellar-sdk==2.3.0
If you're not using `pipenv <https://docs.pipenv.org/>`_, you should.
Otherwise, you can install it via plain old `pip <https://pip.pypa.io/en/stable/quickstart/>`_. More on installing Python
Expand All @@ -29,5 +29,5 @@ You can clone `the repository <https://github.com/StellarCN/py-stellar-base>`_ d
git clone https://github.com/StellarCN/py-stellar-base.git
cd py-stellar-base
git checkout 2.2.3
git checkout 2.3.0
pip install .
4 changes: 2 additions & 2 deletions docs/zh_CN/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

.. code-block:: text
pipenv install stellar-sdk==2.2.3
pipenv install stellar-sdk==2.3.0
我们推荐你使用 `pipenv <https://docs.pipenv.org/>`_ 来安装这个模块。当然你也可以使用 `pip <https://pip.pypa.io/en/stable/quickstart/>`_。
想要更多的了解如何安装依赖,请参阅 `Hitchhiker's Guide to Python
Expand All @@ -28,5 +28,5 @@
git clone https://github.com/StellarCN/py-stellar-base.git
cd py-stellar-base
git checkout 2.2.3
git checkout 2.3.0
pip install .
2 changes: 1 addition & 1 deletion stellar_sdk/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__description__ = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon."
__url__ = "https://github.com/StellarCN/py-stellar-base"
__issues__ = "{}/issues".format(__url__)
__version__ = "2.2.3"
__version__ = "2.3.0"
__author__ = "Eno, overcat"
__author_email__ = "[email protected], [email protected]"
__license__ = "Apache License 2.0"

0 comments on commit f409fa8

Please sign in to comment.