Open greenkeeper[bot] opened 6 years ago
Update to this version instead π
Update to this version instead π
The new version differs by 10 commits.
e261a09
2.7.0
c1407aa
Updated typings for v2.7.0
1842c3e
Small Readme improvements
74ac6e0
Document timeout and Redis connection changes for 2.7.0
8c6b3fe
Override timeout value for groups
5d7404c
Added tests for Group options and timeout
290ffba
Fixed expiration bug on Redis when using highWater
52f546d
Redis Group connection reuse
b3c4a87
Redis connections refactor
3ed05c4
Redis scripts access refactor
See the full diff
Update to this version instead π
publish()
method and listen to the message
event on a limiter.ready()
promise to complete before issuing commands. The commands will be queued until the limiter successfully connects. Make sure to listen to the error
event to handle connection errors.jobs()
method to return a list of job ids in a specific state.check()
) when a Group key is recreated after timing out.The new version differs by 9 commits.
1a7ec8d
2.9.0
ad5b998
Minor IORedis refactor
c36e86d
Added jobs()
f2646d3
ready() improvements
ac1afc2
Optimized Redis connections for large Groups
71327b3
Added pubsub and tests
ca84e77
Updated Redis connection setup
f9865eb
Updated CS to 2.3.x
0491071
Updated README.md
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.10.0
.Update to this version instead π
done()
method which returns the total weight of completed jobs across the Cluster.reservoirRefreshInterval
, the reservoir
value is automatically reset to reservoirRefreshAmount
.The new version differs by 19 commits.
20a9cf4
2.10.0
7a745d6
Updated README and typings for v2.10.0
af68723
Redis Cluster optimizations
e7ead7b
Implemented reservoir refresh
2dd4093
incrementReservoir now returns the new value
1c8168a
Added heartbeat
da73245
Refactor Lua 'now' value, fix minor race condition
29b5cae
Refactor of the 'capacity' internals
9f67c64
Removed CS header
9b73a24
Added basic migration system
7cd1cc7
More tests and improvements to Clustering
cc4c0fd
Fixed race condition in Clustering
6d3cbf7
Clear lost jobs at connection
92f6d62
Redis memory optimization, test improvements
cb6b7bb
Small refactor of Redis connections
There are 19 commits in total.
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.11.0
.Update to this version instead π
The new version differs by 9 commits.
de2f60f
2.11.0
d6c2ff2
Updated README
6ab613b
Updated README
87ee2a7
Updated README
0172e88
Docs, typings and final improvements for 2.11.0
a92559b
Optimize connections for reuse
ff4ae70
Allow passing connections or redis clients
3328735
Updated README
9e9377f
Updated README
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.11.1
.Update to this version instead π
reservoirRefreshInterval
value as low as 250ms.dependency
bottleneck was updated from 1.16.0
to 2.11.2
.dependency
bottleneck was updated from 1.16.0
to 2.12.0
.dependency
bottleneck was updated from 1.16.0
to 2.12.1
.Update to this version instead π
dependency
bottleneck was updated from 1.16.0
to 2.12.2
.Update to this version instead π
Bottleneck.BottleneckError
to the TypeScript typings file.dependency
bottleneck was updated from 1.16.0
to 2.13.0
.Update to this version instead π
import Bottleneck from "bottleneck/es5";
The new version differs by 9 commits.
5b5a047
2.13.0
0e95003
Updated README.md
dcaa490
Renamed bundle.js -> es5.js
54fb2e8
Updated README.md
c552c28
Updated README.md
2af4a11
Minor fixes
f634993
Merge branch 'master' into next
f82af11
New build system using Rollup
a2b4d00
Upgraded to Babel 7
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.13.1
.dependency
bottleneck was updated from 1.16.0
to 2.13.2
.Update to this version instead π
limiter.updateSettings()
would fail when using Clustering and both maxConcurrent
and reservoir
are null after applying the new settings.dependency
bottleneck was updated from 1.16.0
to 2.14.0
.Update to this version instead π
The new version differs by 15 commits.
d944d98
2.14.0
5821d9c
Renamed process_tick output
291ef96
Replaced apply() with array spreads
2c28e43
Updated README.md
c2912ee
Minor changes
5598554
Spread Cluster load efficiently
d85f087
Added group.clusterKeys()
dc60a7c
Added test for null capacity bug
b2dd746
Merge branch 'master' into next
0f5ab1e
Delete Redis keys from Group even when local limiter not present
c0b2e5a
Merge branch 'master' into next
24a6d9b
Track client queue length in cluster state
67e570c
Track weights running on each cluster client
4fe6d06
Minor fixes
89b6ba6
Minor changes
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.14.1
.dependency
bottleneck was updated from 1.16.0
to 2.15.0
.dependency
bottleneck was updated from 1.16.0
to 2.15.1
.dependency
bottleneck was updated from 1.16.0
to 2.15.2
.dependency
bottleneck was updated from 1.16.0
to 2.15.3
.dependency
bottleneck was updated from 1.16.0
to 2.16.0
.Update to this version instead π
limiter.clusterQueued()
. Returns the total weight of queued jobs in the Cluster.The new version differs by 9 commits.
d332f43
2.16.0
ad94e3e
Added clusterQueued()
964ea50
Merge pull request #107 from SGrondin/travis
149730e
Finished the Travis config
8d3242e
Merge pull request #103 from maikelmclauflin/upgrades-and-travis
cd9bef5
updated deps
13654f5
Merge pull request #105 from elliot-nelson/enelson/readme-p1
838ccf3
Update README
309dac7
Update README.md
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.16.1
.dependency
bottleneck was updated from 1.16.0
to 2.16.2
.dependency
bottleneck was updated from 1.16.0
to 2.17.0
.Update to this version instead π
The new version differs by 7 commits.
c929f00
2.17.0
71debfb
Optimizations and fixes for clearing clients
582db61
Clear unresponsive clustering clients
b82080f
Catch sync exceptions in schedule as well
9828465
Merge pull request #116 from elliot-nelson/enelson/promise
ecb5c69
Force wrap() to always return a Promise
d729c59
Update README.md
See the full diff
dependency
bottleneck was updated from 1.16.0
to 2.17.1
.dependency
bottleneck was updated from 1.16.0
to 2.18.0
.dependency
bottleneck was updated from 1.16.0
to 2.18.1
.dependency
bottleneck was updated from 1.16.0
to 2.19.0
.dependency
bottleneck was updated from 1.16.0
to 2.19.1
.dependency
bottleneck was updated from 1.16.0
to 2.19.2
.dependency
bottleneck was updated from 1.16.0
to 2.19.3
.dependency
bottleneck was updated from 1.16.0
to 2.19.4
.dependency
bottleneck was updated from 1.16.0
to 2.19.5
.
Version 2.0.0 of bottleneck was just published.
The version 2.0.0 is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of bottleneck.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donβt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
Version 2Bottleneck Version 2
This new version is almost 100% compatible with Version 1 and it adds some powerful features such as:
Upgrading to v2
The internal algorithms essentially haven't changed from v1, but many small changes to the interface were made to introduce new features.
All the breaking changes:
submitPriority()
, usesubmit()
with an options object instead.schedulePriority()
, useschedule()
with an options object instead.rejectOnDrop
option is nowtrue
by default.null
instead of0
to indicate an unlimitedmaxConcurrent
value.null
instead of-1
to indicate an unlimitedhighWater
value.changeSettings()
toupdateSettings()
, it now returns a promise to indicate completion. It takes the same options object as the constructor.nbQueued()
toqueued()
.nbRunning
torunning()
, it now returns its result using a promise.isBlocked()
.changePenalty()
, it is now done through the options object like any other limiter setting.changeReservoir()
, it is now done through the options object like any other limiter setting.stopAll()
. Use thereservoir
feature to disable execution instead.check()
now accepts an optionalweight
argument, and returns its result using a promise.Cluster
feature is now calledGroup
. This is to distinguish it from the new v2 Clustering feature.Group
constructor takes an options object to match the limiter constructor.Group
changeTimeout()
method toupdateSettings()
, it now takes an options object.Version 2 is more user-friendly, powerful and reliable.
Commits
The new version differs by 33 commits.
7c22c90
2.0.0 Updated dep
1aed0a4
2.0.0
49cff2e
Fixed Group autocleanup
7d6cc14
README feedback
bdf0d9f
2.0.0-beta.4
1f59c3c
Typecript typings for v2
7ef79ef
Update beta version
5038ca6
2.0.0-beta.3
4b4954f
2.0.0-beta.2
2044e9d
Readme improvements
ea86d03
Minor readme fixes
e57bed5
v2-beta1 docs update
f772707
2.0.0-beta.1
ff4e5b9
Updated Readme for v2
02db071
Error handling improvements
There are 33 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: