bump versions, after recent publications (#1646)

* bump versions, after recent publications

* Changelog updates and version bumps

* Correct broken URL's in setup.py's

* Correct SRA Client description (append "Client")

* Add convenience script for uninstalling all pkgs

* Add documentation link to SRA Client README.md
This commit is contained in:
F. Eugene Aumson 2019-04-30 15:56:40 -04:00 committed by GitHub
parent d6115cff25
commit 222a151eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 90 additions and 44 deletions

View File

@ -0,0 +1,10 @@
# Changelog
## 2.0.1 - 2019-02-25
- Updated addresses of OrderValidator and Forwarder contracts.
## 2.1.0 - 2019-04-30
- Added Coordinator and CoordinatorRegistry addresses.
- Expanded documentation.

View File

@ -118,7 +118,7 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-contract-addresses",
version="2.0.0",
version="2.1.0",
description="Addresses at which the 0x smart contracts have been deployed",
long_description=README_MD,
long_description_content_type="text/markdown",

View File

@ -0,0 +1,9 @@
# Changelog
## 2.0.0 - 2019-01-09
- Initial release.
## 2.0.1 - 2019-04-30
- Expanded documentation.

View File

@ -127,7 +127,7 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-contract-artifacts",
version="2.0.0",
version="2.0.1",
description="0x smart contract compilation artifacts",
long_description=README_MD,
long_description_content_type="text/markdown",

View File

@ -0,0 +1,5 @@
# Changelog
## 1.0.0 - 2019-04-30
- Initial release.

View File

@ -140,7 +140,7 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-contract-wrappers",
version="1.0.1",
version="1.0.0",
description="Python wrappers for 0x smart contracts",
long_description=README_MD,
long_description_content_type="text/markdown",

View File

@ -0,0 +1,10 @@
# Changelog
## 1.0.0 - 2019-01-09
- Initial release.
## 2.0.0 - 2019-04-30
- Added `verifyingContractAddress` to `/zeroExTransactionSchema`.
- Expanded documentation.

View File

@ -127,7 +127,7 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-json-schemas",
version="1.0.0",
version="2.0.0",
description="JSON schemas for 0x applications",
long_description=README_MD,
long_description_content_type="text/markdown",

View File

@ -1,11 +0,0 @@
[
{
"version": "1.0.0",
"changes": [
{
"note": "Initial publish",
"pr": 1713
}
]
}
]

View File

@ -0,0 +1,5 @@
# Changelog
## 1.0.0 - 2019-04-30
- Initial release.

View File

@ -131,11 +131,14 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-middlewares",
version="1.0.1",
version="1.0.0",
description="Web3 middlewares for 0x applications",
long_description=README_MD,
long_description_content_type="text/markdown",
url="https://github.com/0xproject/0x-monorepo/python-packages/middlewares",
url=(
"https://github.com/0xproject/0x-monorepo/tree/development"
"/python-packages/middlewares"
),
author="Michael Huang",
author_email="michaelhly@users.noreply.github.com",
cmdclass={

View File

@ -0,0 +1,12 @@
# Changelog
## 1.1.1 - 2019-02-26
- Replaced dependency on web3 with dependency on 0x-web3, to ease coexistence of those two packages.
## 2.0.0 - 2019-04-30
- Changed `ERC20AssetData` and `ERC721AssetData` to inherit from `NamedTuple` rather than `TypedDict`.
- Deprecated methods `encode_erc20_asset_data()` and `encode_erc721_asset_data()`, in favor of new methods `encode_erc20()` and `encode_erc721()`. The old methods return a string, which is less than convenient for building orders using the provided `Order` type, which expects asset data to be `bytes`. The new methods return `bytes`.
- Expanded documentation.
- Stopped using deprecated web3.py interface `contract.call()` in favor of `contract.functions.X.call()`. This provides compatibility with the upcoming 5.x release of web3.py, and it also eliminates some runtime warning messages.

View File

@ -148,11 +148,14 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-order-utils",
version="1.0.1",
version="2.0.0",
description="Order utilities for 0x applications",
long_description=README_MD,
long_description_content_type="text/markdown",
url="https://github.com/0xproject/0x-monorepo/python-packages/order_utils",
url=(
"https://github.com/0xProject/0x-monorepo/tree/development"
"/python-packages/order_utils"
),
author="F. Eugene Aumson",
author_email="feuGeneA@users.noreply.github.com",
cmdclass={

View File

@ -1,22 +0,0 @@
[
{
"version": "1.0.1",
"changes": [
{
"note": "Fix regex validation on numeric values",
"pr": 1731
}
],
"timestamp": 1553491629
},
{
"version": "1.0.1",
"changes": [
{
"note": "Added new devdependencies, and linting commands to `setup.py`. Added sphinx docs to demonstrate how to use sra_client.",
"pr": 1734
}
],
"timestamp": 1553183790
}
]

View File

@ -0,0 +1,11 @@
# Changelog
## 1.0.0 - 2018-12-11
- Initial release.
## 2.0.0 - 2019-04-30
- Moved module `sra_client` into `zero_ex` namespace.
- Fixed regular expression that validates numeric values. Before, validation would fail for all of: maker and taker fees, maker and taker asset amounts, salt, and expiration time.
- Expanded documentation.

View File

@ -2,6 +2,8 @@
A Python client for interacting with servers conforming to [the Standard Relayer API specification](https://github.com/0xProject/0x-monorepo/tree/development/packages/sra-spec).
Read the [documentation](http://0x-sra-client-py.s3-website-us-east-1.amazonaws.com/)
# Schemas
The [JSON schemas](http://json-schema.org/) for the API payloads and responses can be found in [@0xproject/json-schemas](https://github.com/0xProject/0x-monorepo/tree/development/packages/json-schemas). Examples of each payload and response can be found in the 0x.js library's [test suite](https://github.com/0xProject/0x-monorepo/blob/development/packages/json-schemas/test/schema_test.ts#L1).

View File

@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301
from setuptools.command.test import test as TestCommand
NAME = "0x-sra-client"
VERSION = "1.0.1"
VERSION = "2.0.0"
# To install the library, run the following
#
# python setup.py install
@ -148,9 +148,12 @@ class PublishDocsCommand(distutils.command.build_py.build_py):
setup(
name=NAME,
version=VERSION,
description="Standard Relayer REST API",
description="Standard Relayer REST API Client",
author_email="",
url="https://github.com/0xproject/0x-monorepo/python-packages/sra_client",
url=(
"https://github.com/0xproject/0x-monorepo/tree/development"
"/python-packages/sra_client"
),
keywords=["OpenAPI", "OpenAPI-Generator", "Standard Relayer REST API"],
install_requires=REQUIRES,
namespace_packages=["zero_ex"],

6
python-packages/uninstall_all Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
PKG_FOLDERS=$(find ./ -maxdepth 1 -type d -exec basename {} \; | grep -v -e '^.$' | grep -v '.mypy_cache' | tr '_' '-')
for i in $PKG_FOLDERS; do PKGS="${PKGS} 0x-$i"; done
echo pip uninstall --yes $PKGS 0x-web3 web3
pip uninstall --yes $PKGS 0x-web3 web3