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:
parent
d6115cff25
commit
222a151eff
10
python-packages/contract_addresses/CHANGELOG.md
Normal file
10
python-packages/contract_addresses/CHANGELOG.md
Normal 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.
|
@ -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",
|
||||
|
9
python-packages/contract_artifacts/CHANGELOG.md
Normal file
9
python-packages/contract_artifacts/CHANGELOG.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 2.0.0 - 2019-01-09
|
||||
|
||||
- Initial release.
|
||||
|
||||
## 2.0.1 - 2019-04-30
|
||||
|
||||
- Expanded documentation.
|
@ -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",
|
||||
|
5
python-packages/contract_wrappers/CHANGELOG.md
Normal file
5
python-packages/contract_wrappers/CHANGELOG.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.0 - 2019-04-30
|
||||
|
||||
- Initial release.
|
@ -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",
|
||||
|
10
python-packages/json_schemas/CHANGELOG.md
Normal file
10
python-packages/json_schemas/CHANGELOG.md
Normal 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.
|
@ -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",
|
||||
|
@ -1,11 +0,0 @@
|
||||
[
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Initial publish",
|
||||
"pr": 1713
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
5
python-packages/middlewares/CHANGELOG.md
Normal file
5
python-packages/middlewares/CHANGELOG.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.0 - 2019-04-30
|
||||
|
||||
- Initial release.
|
@ -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={
|
||||
|
12
python-packages/order_utils/CHANGELOG.md
Normal file
12
python-packages/order_utils/CHANGELOG.md
Normal 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.
|
@ -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={
|
||||
|
@ -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
|
||||
}
|
||||
]
|
11
python-packages/sra_client/CHANGELOG.md
Normal file
11
python-packages/sra_client/CHANGELOG.md
Normal 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.
|
@ -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).
|
||||
|
@ -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
6
python-packages/uninstall_all
Executable 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
|
Loading…
x
Reference in New Issue
Block a user