Connor Peet
c296d0337b
1.1.0
2020-11-28 20:15:36 -08:00
Connor Peet
ee47cc68ab
docs: elections
2020-11-28 20:10:17 -08:00
Connor Peet
4b92eed156
refactor: apply treatment to campaigns as well
...
Campaigns are now, like observers, implemented as RAII-style classes
that avoid some of the complex manual states we dealt with before.
Resignation is simplified to a revokation of the lease.
2020-11-28 19:32:15 -08:00
Connor Peet
a7ae3d67ec
refactor: solidify observer side of elections
...
Previously observation was done "magically" by listening to an event.
This made it hard to monitor status and lifecycle. This moves the logic
into a subclass. Additionally, revisions were not being maintained
between different queries introducing the possibility for race
conditions. The inner event loop is functionally identical to the
one in the etcd3 official client.
2020-11-28 16:56:22 -08:00
Connor Peet
cead70a0d0
prevent user errors in watcher event listeners from causing backoffs in the underlying stream
2020-11-28 14:46:14 -08:00
Connor Peet
69129eb94b
fix: buffers not allowed in typings Namespace.get(key)
2020-11-28 12:56:55 -08:00
Connor Peet
0f7447c620
Merge branch 'pr/yujuiting/66'
2020-11-28 12:56:31 -08:00
moonrailgun
1c5b748edc
docs: fix incorrect docs link ( #139 )
2020-11-03 22:00:39 -08:00
yehiyam
0a951cc663
docs: fix usage example of defaultCallOptions
2020-09-22 08:53:35 -07:00
Connor Peet
964d7d8e2a
docs: update
2020-09-19 15:22:13 -07:00
Connor Peet
3476cc8442
1.0.2
2020-09-19 15:20:42 -07:00
Connor Peet
5f973eb47a
feat: allow passing a set of default CallOptions in new Etcd3()
2020-09-19 12:38:13 -07:00
Connor Peet
66b17697c5
fix: don't include the deadline in inherited lease call options
2020-09-18 20:46:53 -07:00
Connor Peet
b81df9192d
docs: fix error in lease example
2020-09-18 20:29:02 -07:00
Connor Peet
b9b2cd2a22
fix: update version of cockatiel to fix incompatible TypeScript types
...
Fixes #128
2020-09-18 20:25:00 -07:00
Connor Peet
ac38732581
1.0.1
2020-06-21 16:45:12 -07:00
Connor Peet
5aa4d6c272
fix: proto files not included in npm package
2020-06-21 16:45:07 -07:00
Connor Peet
2e2b6c5658
fix: flakey watch test
2020-06-21 14:29:10 -07:00
Connor Peet
a1fc5045f7
docs: fix readme example
2020-06-21 14:07:50 -07:00
Thomas Hunter II
145ebd3408
async README tweak ( #126 )
2020-06-21 14:04:33 -07:00
Connor Peet
a9d8033855
fix: broken links in readme with new docs
2020-06-21 09:47:40 -07:00
Connor Peet
9248ea8efd
1.0.0
2020-06-21 09:41:07 -07:00
Connor Peet
0fc9bc3a59
docs: prep for 1.0.0 release
2020-06-21 09:41:00 -07:00
Connor Peet
9dce5500cc
fix: various test flakes
2020-06-20 20:09:07 -07:00
Connor Peet
204eb2da17
feat: breaking: add cockatiel-based retry policies
2020-06-20 19:43:32 -07:00
Connor Peet
7b8e971ecd
fix: bad test cleanup causing failures
2020-06-18 08:19:45 -07:00
Connor Peet
27cff616f2
feat: allow disabling automatic lease keep-alives
...
Fixes : #110
2020-06-17 22:41:18 -07:00
Connor Peet
e6eaff250a
fix: mark leases as lost if the watch connection is alive but etcd is unresponsive
...
Fixes #110
2020-06-17 22:34:31 -07:00
Connor Peet
d50fb8a270
feat: allow apply call options to authentication token exchange
...
Fixes #111
2020-06-16 21:21:37 -07:00
Connor Peet
0ac0697373
fix: skip test in older version that lacks permission check
2020-06-16 21:14:46 -07:00
Connor Peet
b5306c9dd7
fix: handle errors that happen when a watch is created
...
Fixes #114
2020-06-16 21:07:14 -07:00
Connor Peet
dacc0805c7
chore: try to fix flaking lease test
2020-06-16 20:44:06 -07:00
Connor Peet
3fafea2e23
feat: add exists helper
2020-06-15 22:56:46 -07:00
Connor Peet
b51c22984d
fix: mismatched package-lock
2020-06-15 22:28:14 -07:00
Connor Peet
304130afeb
docs: update references mixer -> microsoft
2020-06-15 22:25:33 -07:00
Connor Peet
6d67af2e24
feat: apply update grpc module
2020-06-15 22:22:12 -07:00
Connor Peet
5c638a6867
chore: use github actions for ts rather than travis
2020-06-15 21:59:21 -07:00
Connor Peet
92f7e69ef6
chore: update dependencies, modernize build, drop node 8 support
2020-06-15 21:38:24 -07:00
Mark Dietzer
0ffcec9676
fix(typescript): don't define custom types for grpc
2019-12-04 11:00:04 -08:00
Jason Walton
2a398f1463
docs: Add instructions for running tests to readme.md.
2019-09-18 09:15:57 -04:00
Jason Walton
f126e69b4f
fix(typescript): don't define custom types for grpc
...
fix #54
2019-09-18 09:15:52 -04:00
Connor Peet
af1242283f
docs(changelog): cut 0.2.13 release
2019-07-03 12:31:07 -07:00
Connor Peet
c239a799d8
0.2.13
2019-07-03 12:30:10 -07:00
Connor Peet
a2c98a03b6
fix(dep): package lock not updated after version bumps
2019-07-03 12:26:38 -07:00
Connor Peet
1cf872b36c
chore(ci): update node version targets
2019-07-03 12:24:02 -07:00
Connor Peet
7691f9bf22
chore(dep): update and modernize dependencies
2019-07-03 12:22:56 -07:00
Connor Peet
291b41f412
fix: called markFailed on mock instance when mocking the pool
2019-07-03 12:10:05 -07:00
Anton Sidelnikov
b4fbd29ee6
fix: Add return to leaking promises
2019-07-03 12:06:34 -07:00
Connor Peet
5b72261859
fix(lease): lease not attaching through put in transactions
2019-07-03 12:03:36 -07:00
Connor Peet
56ea496bbe
feat(lock): allow retrieving lease ids
2019-07-03 11:41:55 -07:00