feathers-sync
Advanced tools
Comparing version 3.0.0 to 3.0.1
# Changelog | ||
## [Unreleased](https://github.com/feathersjs-ecosystem/feathers-sync/tree/HEAD) | ||
## [v3.0.0](https://github.com/feathersjs-ecosystem/feathers-sync/tree/v3.0.0) (2022-01-27) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sync/compare/v2.4.0...HEAD) | ||
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sync/compare/v2.4.0...v3.0.0) | ||
**Closed issues:** | ||
- Custom events do not get broadcasted to other servers [\#173](https://github.com/feathersjs-ecosystem/feathers-sync/issues/173) | ||
- \[Help Wanted\] Events are not sent to all instances always [\#165](https://github.com/feathersjs-ecosystem/feathers-sync/issues/165) | ||
- Update nats major version [\#163](https://github.com/feathersjs-ecosystem/feathers-sync/issues/163) | ||
**Merged pull requests:** | ||
- Add compatibility for v5 and update dependencies [\#167](https://github.com/feathersjs-ecosystem/feathers-sync/pull/167) ([daffl](https://github.com/daffl)) | ||
- Update to Redis 4 client and other latest dependencies [\#176](https://github.com/feathersjs-ecosystem/feathers-sync/pull/176) ([daffl](https://github.com/daffl)) | ||
- NATS 2.0 [\#175](https://github.com/feathersjs-ecosystem/feathers-sync/pull/175) ([ViljarVoidula](https://github.com/ViljarVoidula)) | ||
- chore\(dependencies\): Update all dependencies [\#171](https://github.com/feathersjs-ecosystem/feathers-sync/pull/171) ([daffl](https://github.com/daffl)) | ||
- Update plugin infrastructure and dependencies [\#169](https://github.com/feathersjs-ecosystem/feathers-sync/pull/169) ([daffl](https://github.com/daffl)) | ||
@@ -20,2 +29,6 @@ ## [v2.4.0](https://github.com/feathersjs-ecosystem/feathers-sync/tree/v2.4.0) (2021-07-05) | ||
**Merged pull requests:** | ||
- Add compatibility for v5 and update dependencies [\#167](https://github.com/feathersjs-ecosystem/feathers-sync/pull/167) ([daffl](https://github.com/daffl)) | ||
## [v2.3.0](https://github.com/feathersjs-ecosystem/feathers-sync/tree/v2.3.0) (2021-03-19) | ||
@@ -281,4 +294,4 @@ | ||
- Fix broadcast wrong messages [\#9](https://github.com/feathersjs-ecosystem/feathers-sync/pull/9) ([thomaschaaf](https://github.com/thomaschaaf)) | ||
- Update readme [\#7](https://github.com/feathersjs-ecosystem/feathers-sync/pull/7) ([mastertinner](https://github.com/mastertinner)) | ||
- add redis to subtitle in readme [\#3](https://github.com/feathersjs-ecosystem/feathers-sync/pull/3) ([mastertinner](https://github.com/mastertinner)) | ||
- Update readme [\#7](https://github.com/feathersjs-ecosystem/feathers-sync/pull/7) ([cloudlena](https://github.com/cloudlena)) | ||
- add redis to subtitle in readme [\#3](https://github.com/feathersjs-ecosystem/feathers-sync/pull/3) ([cloudlena](https://github.com/cloudlena)) | ||
@@ -313,3 +326,3 @@ ## [v0.1.2](https://github.com/feathersjs-ecosystem/feathers-sync/tree/v0.1.2) (2016-12-08) | ||
- disallow yoda http://eslint.org/docs/rules/yoda.html [\#4](https://github.com/feathersjs-ecosystem/feathers-sync/pull/4) ([mastertinner](https://github.com/mastertinner)) | ||
- disallow yoda http://eslint.org/docs/rules/yoda.html [\#4](https://github.com/feathersjs-ecosystem/feathers-sync/pull/4) ([cloudlena](https://github.com/cloudlena)) | ||
- redis adapter [\#2](https://github.com/feathersjs-ecosystem/feathers-sync/pull/2) ([kc-dot-io](https://github.com/kc-dot-io)) | ||
@@ -316,0 +329,0 @@ |
@@ -20,2 +20,7 @@ const redis = require('redis'); | ||
const msgFromRedisHandler = data => { | ||
debug(`Got ${key} message from Redis`); | ||
app.emit('sync-in', data); | ||
}; | ||
app.configure(core); | ||
@@ -33,3 +38,3 @@ app.sync = { | ||
sub.once('error', reject); | ||
}) | ||
}).then(() => sub.subscribe(key, msgFromRedisHandler, true)) | ||
}; | ||
@@ -41,8 +46,3 @@ | ||
}); | ||
sub.subscribe(key, data => { | ||
debug(`Got ${key} message from Redis`); | ||
app.emit('sync-in', data); | ||
}, true); | ||
}; | ||
}; |
{ | ||
"name": "feathers-sync", | ||
"description": "Feathers", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"repository": { | ||
@@ -62,3 +62,3 @@ "type": "git", | ||
"nats": "^2.5.0", | ||
"redis": "^4.0.2" | ||
"redis": "^4.0.3" | ||
}, | ||
@@ -70,3 +70,3 @@ "devDependencies": { | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@types/node": "^17.0.12", | ||
"@types/node": "^17.0.13", | ||
"bson": "^4.6.1", | ||
@@ -73,0 +73,0 @@ "dtslint": "^4.2.1", |
# Feathers sync | ||
[![CI](https://github.com/feathersjs-ecosystem/feathers-sync/workflows/CI/badge.svg)](https://github.com/feathersjs-ecosystem/feathers-sync/actions?query=workflow%3ACI) | ||
[![Dependency Status](https://img.shields.io/david/feathersjs-ecosystem/feathers-sync.svg?style=flat-square)](https://david-dm.org/feathersjs-ecosystem/feathers-sync) | ||
[![Download Status](https://img.shields.io/npm/dm/feathers-sync.svg?style=flat-square)](https://www.npmjs.com/package/feathers-sync) | ||
@@ -6,0 +5,0 @@ |
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
43357
221
Updatedredis@^4.0.3