Skip to content

Commit

Permalink
Merge pull request #813 from 0xProject/release/9.4.0
Browse files Browse the repository at this point in the history
Release 9.4.0
  • Loading branch information
jalextowle committed May 28, 2020
2 parents 555bbc1 + 14d81ff commit ee19434
Show file tree
Hide file tree
Showing 50 changed files with 4,673 additions and 1,642 deletions.
16 changes: 2 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,8 @@ jobs:
name: Build the TypeScript monorepo
command: yarn build
- run:
name: Run TypeScript tests
command: yarn test
- run:
name: Run Go tests
command: make test-go
- run:
name: Run WebAssembly tests in Node.js
command: make test-wasm-node
- run:
name: Run WebAssembly tests in a headless browser
command: make test-wasm-browser
- run:
name: Run browser integration tests
command: make test-browser-integration
name: Run all tests
command: make test-all
- run:
name: Test installing Mesh without CGO
command: CGO_ENABLED=0 go install ./...
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This changelog is a work in progress and may contain notes for versions which have not actually been released. Check the [Releases](https://github.com/0xProject/0x-mesh/releases) page to see full release notes and more information about the latest released versions.

## v9.4.0

### Features ✅

- Improved the performance of validating order filters in the browser [#809](https://github.com/0xProject/0x-mesh/pull/809).


## v9.3.0

Expand Down
15 changes: 7 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gobin:
# wasmbrowsertest is required for running WebAssembly tests in the browser.
.PHONY: wasmbrowsertest
wasmbrowsertest: gobin
gobin github.com/agnivade/wasmbrowsertest@v0.3.0
gobin github.com/0xProject/wasmbrowsertest@mesh-fork


# Installs dependencies without updating Gopkg.lock or yarn.lock
Expand All @@ -30,11 +30,11 @@ deps-ts-no-lockfile:


.PHONY: test-all
test-all: test-go test-wasm-node test-wasm-browser test-ts
test-all: test-go test-wasm-browser test-ts test-browser-conversion test-browser-integration


.PHONY: test-go
test-go: test-go-parallel test-go-serial test-browser-conversion
test-go: test-go-parallel test-go-serial


.PHONY: test-go-parallel
Expand All @@ -46,22 +46,20 @@ test-go-parallel:
test-go-serial:
go test ./zeroex/ordervalidator ./zeroex/orderwatch ./core -race -timeout 90s -p=1 --serial


.PHONY: test-browser-integration
test-browser-integration:
go test ./integration-tests -timeout 185s --enable-browser-integration-tests -run BrowserIntegration


.PHONY: test-browser-conversion
test-browser-conversion:
go test ./packages/browser/go/conversion-test -timeout 185s --enable-browser-conversion-tests -run BrowserConversions

.PHONY: test-wasm-node
test-wasm-node:
export ZEROEX_MESH_ROOT_DIR=$$(pwd); GOOS=js GOARCH=wasm go test -exec="$$ZEROEX_MESH_ROOT_DIR/test-wasm/go_js_wasm_exec" ./...


.PHONY: test-wasm-browser
test-wasm-browser:
GOOS=js GOARCH=wasm go test -tags=browser -exec="$$GOPATH/bin/wasmbrowsertest" ./...
WASM_INIT_FILE="$$(pwd)/packages/test-wasm/dist/browser_shim.js" GOOS=js GOARCH=wasm go test -tags=browser -exec="$$GOPATH/bin/wasmbrowsertest" ./...


.PHONY: test-ts
Expand Down Expand Up @@ -129,6 +127,7 @@ docker-mesh-bootstrap:
docker-mesh-fluent-bit:
docker build ./dockerfiles/mesh-fluent-bit -t 0xorg/mesh-fluent-bit -f ./dockerfiles/mesh-fluent-bit/Dockerfile


.PHONY: docker-mesh-bridge
docker-mesh-bridge:
docker build . -t 0xorg/mesh-bridge -f ./dockerfiles/mesh-bridge/Dockerfile
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Version](https://img.shields.io/badge/version-9.3.0-orange.svg)](https://github.com/0xProject/0x-mesh/releases)
[![Version](https://img.shields.io/badge/version-9.4.0-orange.svg)](https://github.com/0xProject/0x-mesh/releases)
[![Docs](https://img.shields.io/badge/docs-website-yellow.svg)](https://0x-org.gitbook.io/mesh)
[![Chat with us on Discord](https://img.shields.io/badge/chat-Discord-blueViolet.svg)](https://discord.gg/HF7fHwk)
[![Circle CI](https://img.shields.io/circleci/project/0xProject/0x-mesh/master.svg)](https://circleci.com/gh/0xProject/0x-mesh/tree/master)
Expand Down
10 changes: 2 additions & 8 deletions RELEASE_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
- [Docker image](https://hub.docker.com/r/0xorg/mesh/tags)
- [README](https://github.com/0xProject/0x-mesh/blob/v9.3.0/README.md)
- [README](https://github.com/0xProject/0x-mesh/blob/v9.4.0/README.md)

## Summary

### Features ✅

- Mesh now ensures on startup that the chain ID of your Ethereum RPC endpoint matches config.EthereumChainID [#733](https://github.com/0xProject/0x-mesh/pull/733).

### Bug fixes 🐞

- Fixed a compatibility issue in `@0x/mesh-browser-lite` for Safari and some other browsers [#770](https://github.com/0xProject/0x-mesh/pull/770).
- Fixes an issue that would allow expired orders to be returned in `GetOrders` [773](http://github.com/0xProject/0x-mesh/pull/773)
- Fixed a rare bug where ERC721 approval events could be missed [#782](https://github.com/0xProject/0x-mesh/pull/782)
- Improved the performance of validating order filters in the browser [#809](https://github.com/0xProject/0x-mesh/pull/809).



4 changes: 4 additions & 0 deletions constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,7 @@ var (
// exceeds the max size.
ErrMaxOrderSize = fmt.Errorf("order exceeds maximum size of %d bytes", MaxOrderSizeInBytes)
)

const ParityFilterUnknownBlock = "One of the blocks specified in filter (fromBlock, toBlock or blockHash) cannot be found"

const GethFilterUnknownBlock = "unknown block"
2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
estimatedNonPollingEthereumRPCRequestsPer24Hrs = 50000
// logStatsInterval is how often to log stats for this node.
logStatsInterval = 5 * time.Minute
version = "9.3.0"
version = "9.4.0"
// ordersyncMinPeers is the minimum amount of peers to receive orders from
// before considering the ordersync process finished.
ordersyncMinPeers = 5
Expand Down
2 changes: 1 addition & 1 deletion docs/browser-bindings/browser-lite/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @0x/mesh-browser-lite - v9.3.0
# @0x/mesh-browser-lite - v9.4.0

## @0x/mesh-browser-lite

Expand Down

0 comments on commit ee19434

Please sign in to comment.