Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 2.4.0-next.0 #2540

Merged
merged 3 commits into from
May 8, 2019
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ As we move towards 2.6 and the completion of AIP11, AIP18 and AIP29 there will b
- Implement BlockFactory in `@arkecosystem/crypto` ([#2429])
- Implement TransactionFactory in `@arkecosystem/crypto` ([#2437])
- Integrate end-to-end tests ([#2468])
- Implement IPFS (AIP11) ([#2537])

### Fixed

Expand Down Expand Up @@ -82,6 +83,7 @@ As we move towards 2.6 and the completion of AIP11, AIP18 and AIP29 there will b
- Move mainnet exceptions to config in `@arkecosystem/crypto` ([#2529])
- Remove extraneous Client class in `@arkecosystem/crypto` ([#2417])
- Split the `Crypto` class into `Hash` and `Transaction` in `@arkecosystem/crypto` ([#2444])
- Invalidate blocks with expired transactions ([#2528])

### Removed

Expand Down Expand Up @@ -628,4 +630,6 @@ Closed security vulnerabilities:
[#2517]: https://github.com/ARKEcosystem/core/pull/2517
[#2522]: https://github.com/ARKEcosystem/core/pull/2522
[#2526]: https://github.com/ARKEcosystem/core/pull/2526
[#2528]: https://github.com/ARKEcosystem/core/pull/2528
[#2529]: https://github.com/ARKEcosystem/core/pull/2529
[#2537]: https://github.com/ARKEcosystem/core/pull/2537
4 changes: 2 additions & 2 deletions __tests__/integration/core-api/v2/handlers/peers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const peers = [
{
ip: "1.0.0.99",
port: 4002,
version: "2.3.0-next.3",
version: "2.4.0-next.3",
},
{
ip: "1.0.0.98",
port: 4002,
version: "2.3.0-next.1",
version: "2.4.0-next.1",
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jest.mock("@arkecosystem/core-container", () => {
get: () => ({}),
};
},
getVersion: () => "2.3.0",
getVersion: () => "2.4.0",
resolvePlugin: name => {
if (name === "logger") {
return {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/integration/core-p2p/mocks/core-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jest.mock("@arkecosystem/core-container", () => {
}),
};
},
getVersion: () => "2.3.0",
getVersion: () => "2.4.0",
has: () => true,
resolvePlugin: name => {
if (name === "logger") {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core-p2p/mocks/core-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jest.mock("@arkecosystem/core-container", () => {
}),
};
},
getVersion: () => "2.3.0",
getVersion: () => "2.4.0",
has: () => true,
resolvePlugin: name => {
if (name === "logger") {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core-p2p/network-monitor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("NetworkMonitor", () => {
{
ip: stubPeer.ip,
port: stubPeer.port,
version: "2.3.0",
version: "2.4.0",
},
{ lessVerbose: true, seed: true },
);
Expand Down
1 change: 0 additions & 1 deletion __tests__/unit/core-p2p/peer-guard.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ beforeEach(async () => {
describe("PeerGuard", () => {
describe("isValidVersion", () => {
it("should be a valid version", () => {
expect(guard.isValidVersion({ ...peerMock, ...{ version: "2.3.0" } })).toBeTrue();
expect(guard.isValidVersion({ ...peerMock, ...{ version: "2.4.0" } })).toBeTrue();
expect(guard.isValidVersion({ ...peerMock, ...{ version: "2.5.0" } })).toBeTrue();
expect(guard.isValidVersion({ ...peerMock, ...{ version: "2.6.0" } })).toBeTrue();
Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/core-p2p/peer-storage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe("PeerStorage", () => {
});

it("should cache the peers into file", () => {
stubPeer.version = "2.3.0";
stubPeer.version = "2.4.0";
storage.setPeer(stubPeer);

process.env.CORE_PATH_CACHE = tmpdir();
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"npmClient": "yarn",
"packages": ["packages/*", "plugins/*"],
"useWorkspaces": true,
"version": "2.3.22"
"version": "2.4.0-next.0"
}
14 changes: 7 additions & 7 deletions packages/core-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-api",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Public API for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -21,12 +21,12 @@
"pretest": "bash ../../scripts/pre-test.sh"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-http-utils": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/core-transaction-pool": "^2.3.22",
"@arkecosystem/core-utils": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-http-utils": "^2.4.0-next.0",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/core-transaction-pool": "^2.4.0-next.0",
"@arkecosystem/core-utils": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"@arkecosystem/utils": "^0.3.0",
"@faustbrian/dato": "^0.3.0",
"@faustbrian/hapi-version": "^0.2.11",
Expand Down
16 changes: 8 additions & 8 deletions packages/core-blockchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-blockchain",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Blockchain Manager for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -22,12 +22,12 @@
"pretest": "bash ../../scripts/pre-test.sh"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-database": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/core-transactions": "^2.3.22",
"@arkecosystem/core-utils": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-database": "^2.4.0-next.0",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/core-transactions": "^2.4.0-next.0",
"@arkecosystem/core-utils": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"async": "^2.6.2",
"delay": "^4.2.0",
"immutable": "^4.0.0-rc.12",
Expand All @@ -37,7 +37,7 @@
"xstate": "^4.5.0"
},
"devDependencies": {
"@arkecosystem/core-p2p": "^2.3.22",
"@arkecosystem/core-p2p": "^2.4.0-next.0",
"@types/async": "^2.4.1",
"@types/lodash.get": "^4.4.6",
"@types/pluralize": "^0.0.29",
Expand Down
6 changes: 3 additions & 3 deletions packages/core-container/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-container",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Container for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -19,8 +19,8 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"@hapi/hoek": "^6.2.1",
"@hapi/joi": "^15.0.1",
"awilix": "^4.2.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/core-database-postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-database-postgres",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "PostgreSQL integration for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -21,11 +21,11 @@
"pretest": "bash ../../scripts/pre-test.sh"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-database": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/core-utils": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-database": "^2.4.0-next.0",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/core-utils": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"@arkecosystem/utils": "^0.3.0",
"@faustbrian/dato": "^0.3.0",
"@types/bluebird": "^3.5.26",
Expand Down
14 changes: 7 additions & 7 deletions packages/core-database/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-database",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Database Interface for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -22,12 +22,12 @@
"pretest": "bash ../../scripts/pre-test.sh"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-event-emitter": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/core-transactions": "^2.3.22",
"@arkecosystem/core-utils": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-event-emitter": "^2.4.0-next.0",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/core-transactions": "^2.4.0-next.0",
"@arkecosystem/core-utils": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"@arkecosystem/utils": "^0.3.0",
"lodash.clonedeep": "^4.5.0",
"lodash.compact": "^3.0.1",
Expand Down
12 changes: 6 additions & 6 deletions packages/core-elasticsearch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-elasticsearch",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "A powerful Elasticsearch integration for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -18,11 +18,11 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-event-emitter": "^2.3.22",
"@arkecosystem/core-http-utils": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-event-emitter": "^2.4.0-next.0",
"@arkecosystem/core-http-utils": "^2.4.0-next.0",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"@hapi/boom": "^7.4.2",
"@hapi/joi": "^15.0.1",
"elasticsearch": "^15.5.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core-error-tracker-airbrake/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-error-tracker-airbrake",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Airbrake error tracker integration for ARK Core.",
"license": "MIT",
"contributors": [
Expand All @@ -18,7 +18,7 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"airbrake-js": "^1.6.6"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core-error-tracker-bugsnag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-error-tracker-bugsnag",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Bugsnag error tracker integration for ARK Core.",
"license": "MIT",
"contributors": [
Expand All @@ -18,7 +18,7 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@bugsnag/js": "^6.2.0"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core-error-tracker-raygun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-error-tracker-raygun",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Raygun error tracker integration for ARK Core.",
"license": "MIT",
"contributors": [
Expand All @@ -18,7 +18,7 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"raygun": "^0.10.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core-error-tracker-rollbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-error-tracker-rollbar",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Rollbar error tracker integration for ARK Core.",
"license": "MIT",
"contributors": [
Expand All @@ -18,7 +18,7 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"rollbar": "^2.6.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core-error-tracker-sentry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-error-tracker-sentry",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Sentry error tracker integration for ARK Core.",
"license": "MIT",
"contributors": [
Expand All @@ -18,7 +18,7 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@sentry/node": "^5.1.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core-event-emitter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-event-emitter",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Event Manager for ARK Core",
"license": "MIT",
"contributors": [
Expand Down
12 changes: 6 additions & 6 deletions packages/core-forger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-forger",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Forger for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -21,11 +21,11 @@
"pretest": "bash ../../scripts/pre-test.sh"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-interfaces": "^2.3.22",
"@arkecosystem/core-p2p": "^2.3.22",
"@arkecosystem/core-utils": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-interfaces": "^2.4.0-next.0",
"@arkecosystem/core-p2p": "^2.4.0-next.0",
"@arkecosystem/core-utils": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"delay": "^4.2.0",
"lodash.isempty": "^4.4.0",
"lodash.uniq": "^4.5.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/core-http-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkecosystem/core-http-utils",
"version": "2.3.22",
"version": "2.4.0-next.0",
"description": "Http Utilities for ARK Core",
"license": "MIT",
"contributors": [
Expand All @@ -18,9 +18,9 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@arkecosystem/core-container": "^2.3.22",
"@arkecosystem/core-utils": "^2.3.22",
"@arkecosystem/crypto": "^2.3.22",
"@arkecosystem/core-container": "^2.4.0-next.0",
"@arkecosystem/core-utils": "^2.4.0-next.0",
"@arkecosystem/crypto": "^2.4.0-next.0",
"@hapi/boom": "^7.4.2",
"@hapi/good": "^8.2.0",
"@hapi/good-console": "^8.1.0",
Expand Down
Loading