Comparing version 2.0.4 to 2.0.5
@@ -5,2 +5,11 @@ # Changelog | ||
## [2.0.5][] - 2021-02-07 | ||
- Removed Channel injection to metacom.Server | ||
- Fixed bugs amd memory leaks in metacom, update to 1.3.0 | ||
- Changed Server.constructor signature from | ||
`(config, { Channel, application })` to `(config, application)` | ||
so should be published with new version of metacom, see: | ||
https://github.com/metarhia/metacom/issues/127 | ||
## [2.0.4][] - 2021-02-04 | ||
@@ -56,3 +65,4 @@ | ||
[unreleased]: https://github.com/metarhia/impress/compare/v2.0.4...HEAD | ||
[unreleased]: https://github.com/metarhia/impress/compare/v2.0.5...HEAD | ||
[2.0.5]: https://github.com/metarhia/impress/compare/v2.0.4...v2.0.5 | ||
[2.0.4]: https://github.com/metarhia/impress/compare/v2.0.3...v2.0.4 | ||
@@ -59,0 +69,0 @@ [2.0.3]: https://github.com/metarhia/impress/compare/v2.0.2...v2.0.3 |
@@ -9,3 +9,3 @@ 'use strict'; | ||
const { Logger } = metarhia.metalog; | ||
const { Server, Channel } = metarhia.metacom; | ||
const { Server } = metarhia.metacom; | ||
const { Auth } = require('./auth.js'); | ||
@@ -59,4 +59,3 @@ | ||
if (threadId <= servingThreads) { | ||
const options = { application, Channel }; | ||
application.server = new Server(config.server, options); | ||
application.server = new Server(config.server, application); | ||
const { port } = application.server; | ||
@@ -63,0 +62,0 @@ console.info(`Listen port ${port} in worker ${threadId}`); |
{ | ||
"name": "impress", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -62,3 +62,3 @@ "description": "Impress application server for Node.js and Metarhia private cloud", | ||
"@metarhia/config": "^2.0.0", | ||
"metacom": "1.2.0", | ||
"metacom": "1.3.0", | ||
"metalog": "^3.1.0", | ||
@@ -65,0 +65,0 @@ "metautil": "^3.2.0", |
@@ -1,2 +0,2 @@ | ||
[![impress logo](http://habrastorage.org/files/d67/1b3/be5/d671b3be591d47a9bd10fe857e9d5319.png)](https://github.com/metarhia/impress) | ||
[![impress logo](https://raw.githubusercontent.com/metarhia/Metarhia/master/Logos/impress-header.png)](https://github.com/metarhia/impress) | ||
@@ -3,0 +3,0 @@ [![ci Status](https://github.com/metarhia/impress/workflows/Testing%20CI/badge.svg)](https://github.com/metarhia/impress/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33227
687
+ Addedmetacom@1.3.0(transitive)
- Removedmetacom@1.2.0(transitive)
Updatedmetacom@1.3.0