Moleculer news
65 subscribers
1 photo
123 links
Moleculer news channel
Official site: https://moleculer.services
Chat: @moleculerchat
News channel: @moleculerjs
Discord: https://discord.gg/4gXjaUMt7B
Download Telegram
๐Ÿ“ moleculerjs/moleculer-repl

๐Ÿ”ฅ 0.5.6 (2019-02-20)

๐Ÿ”ฅ๐Ÿ”ฅ Changes
- add meta parameter for call & dcall commands.
- update deps


#moleculerjs #moleculer-repl
๐Ÿ“ moleculerjs/moleculer

๐Ÿ”ฅ 0.13.7 (2019-02-21)

๐Ÿ”ฅ Changes
- fix ioredis dependency in typescript definition file ๐Ÿ”ฅ476


#moleculerjs #moleculer
๐Ÿ“ moleculerjs/moleculer-cli

๐Ÿ”ฅ 0.6.5 (2019-03-06)

๐Ÿ”ฅ๐Ÿ”ฅ Changes
- update dependencies
- support multiple template directories by @ccampanale ๐Ÿ”ฅ22


#moleculerjs #moleculer-cli
๐Ÿ“ moleculerjs/moleculer

๐Ÿ”ฅ 0.13.8 (2019-03-21)

๐Ÿ”ฅ Changes
- fix missing field in ProtoBuf & Thrift serializers ๐Ÿ”ฅ496


#moleculerjs #moleculer
๐Ÿ“ moleculerjs/moleculer-repl

๐Ÿ”ฅ 0.5.7 (2019-03-25)

๐Ÿ”ฅ๐Ÿ”ฅ Changes
- added destroy method that allows to destroy a locally running service by providing serviceName


#moleculerjs #moleculer-repl
๐Ÿ“ moleculerjs/moleculer-cli

๐Ÿ”ฅ 0.6.6 (2019-03-28)

๐Ÿ”ฅ๐Ÿ”ฅ Changes
- update dependencies
- add promptForProjectOverwrite to template meta properties to skip confirmation when the target directory exists.


#moleculerjs #moleculer-cli
๐Ÿ“ moleculerjs/moleculer

๐Ÿ”ฅ 0.13.9 (2019-04-18)

๐Ÿ”ฅ New

๐Ÿ”ฅ๐Ÿ”ฅ Cache locking feature by @tiaod ๐Ÿ”ฅ490

Example to enable cacher locking:
cacher: {
ttl: 60,
lock: true, // Set to true to enable cache locks. Default is disabled.
}

// Or
cacher: {
ttl: 60,
lock: {
ttl: 15, //the maximum amount of time you want the resource locked in seconds
staleTime: 10, // If the ttl is less than this number, means that the resources are staled
}
}

// Disable the lock
cacher: {
ttl: 60,
lock: {
enable: false, // Set to false to disable.
ttl: 15, //the maximum amount of time you want the resource locked in seconds
staleTime: 10, // If the ttl is less than this number, means that the resources are staled
}
}


Example for Redis cacher with redlock library:

const broker = new ServiceBroker({
cacher: {
type: "Redis",
options: {
// Prefix for keys
prefix: "MOL",
// set Time-to-live to 30sec.
ttl: 30,
// Turns Redis client monitoring on.
monitor: false,
// Redis settings
redis: {
host: "redis-server",
port: 6379,
password: "1234",
db: 0
},
lock: {
ttl: 15, //the maximum amount of time you want the resource locked in seconds
staleTime: 10, // If the ttl is less than this number, means that the resources are staled
},
// Redlock settings
redlock: {
// Redis clients. Support node-redis or ioredis. By default will use the local client.
clients: [client1, client2, client3],
// the expected clock drift; for more details
// see http://redis.io/topics/distlock
driftFactor: 0.01, // time in ms

// the max number of times Redlock will attempt
// to lock a resource before erroring
retryCount: 10,

// the time in ms between attempts
retryDelay: 200, // time in ms

// the max time in ms randomly added to retries
// to improve performance under high contention
// see https://www.awsarchitectureblog.com/2015/03/backoff.html
retryJitter: 200 // time in ms
}
}
}
});


๐Ÿ”ฅ Changes
- fix event wildcard handling in case of NATS transporter and disabled balancer ๐Ÿ”ฅ517
- update typescript d.ts file. ๐Ÿ”ฅ501 ๐Ÿ”ฅ521
- fix context calling options cloning.
- service modification support for ES6 classes ๐Ÿ”ฅ514
- fix null, 0 & false return value issue in case of ProtoBuf serializer ๐Ÿ”ฅ511


#moleculerjs #moleculer
๐Ÿ“ŒGood news for Russian Community! ๐Ÿ‡ท๐Ÿ‡บ
Mirror official site https://moleculerjs.ru based on russian data center in Selectel!
๐Ÿ‘ฎ๐Ÿปโ€โ™‚๏ธ RKN bypassed! ๐Ÿ˜Ž