Граф коммитов

142 Коммитов

Автор SHA1 Сообщение Дата
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
Connor Peet c401819405 fix(stm): stm comparisons being invalid when using namespaces 2019-07-03 11:23:17 -07:00
Connor Peet d4ce2f82f1 0.2.12 2019-07-03 10:06:55 -07:00
Connor Peet a1845c2f4f docs: add changelog for 0.2.12 2019-07-03 10:05:19 -07:00
RezoChiang d146247087 fix(connection-pool): DeprecationWarning: grpc.load (fixes #81) (#91)
* fixed #81 DeprecationWarning: grpc.load

* fixed #81 DeprecationWarning: grpc.load

* fixed #81 DeprecationWarning: grpc.load

* fix lints error

* DeprecationWarning: grpc.load fixed #81

* DeprecationWarning: grpc.load fixed #81

* chore(travis): add Node.js 11
2019-03-22 11:14:31 -07:00
Micah Lerner 93c71293bd docs: Fix reference in SSL link
While reading the docs, I found a broken link to docs for gRPC. This PR fixes the
link.
2019-02-06 15:44:16 -08:00
Nicholas Sun ca42632640 feat(watch): Allow setting the starting revision 2019-02-05 11:36:38 -08:00
tan90 ddfedc76a0 feat(lease): lastKeepAlive
keepaliveOnce() refreshes lastKeepAlive
2018-10-22 10:22:32 -07:00
Connor Peet 3c04e938e4
chore(ci): test against etcd 3.3 2018-08-30 11:15:22 -07:00
김건희 4f1c888e0e docs(watch): fix typo in watcher's jsdocs 2018-08-11 15:40:13 -07:00
Connor Peet 158261b22e
docs(readme): add code of conduct link 2018-05-29 09:18:47 -07:00
Connor Peet fb2ba5588f
0.2.11 2018-05-21 10:08:40 -07:00
Connor Peet 6fee57793d
doc(changelog): add 0.2.11 2018-05-21 10:08:21 -07:00
Connor Peet fd9d3eccd5 feat(rpc): mark clients as failing when streams emit an error 2018-05-20 15:57:37 -07:00
Connor Peet 3c5462f579 0.2.10 2018-05-05 22:12:41 -07:00
Connor Peet f7c2bd50e4 chore(docs): rebuild 2018-05-05 22:12:00 -07:00
Connor Peet 3bf001274f
Merge pull request #74 from mixer/v0.2.10
V0.2.10
2018-05-05 22:07:12 -07:00
Julien Vanier 998d529a28 docs(watch): fix syntax error in watcher docs 2018-05-05 20:58:29 -07:00
Connor Peet 0cc76c17d9 docs(changelog): prepare 0.2.10 2018-05-05 20:54:47 -07:00
Connor Peet 9481fe584c fix(watch): handle graceful stream end() and reconnect (fixes #72) 2018-05-05 20:53:19 -07:00
Connor Peet 101298e6d9 fix(watch): forcefully terminate watch stream to prevent server leaks (fixes #62) 2018-05-05 20:29:01 -07:00
Connor Peet 1443df8759 feat(watch): use backoff for errors on the watch stream
This is a good thing in general, and grpc seemed to get into a bad state sometimes without this
2018-05-05 20:20:19 -07:00
Connor Peet 65394ba8bb feat(lease): allow leases to be passively released (fixes #69) 2018-05-05 18:59:57 -07:00
Connor Peet 1e9f8113a2 fix(lease): bad documentation on ttl, throw if not provided (fixes #68) 2018-05-05 18:55:08 -07:00
XadillaX 28258c8847 chore(travis): add Node.js 10 2018-04-26 09:30:20 -07:00
XadillaX 6be42c9de6 chore(package): bump grpc to ^1.10.1 2018-04-26 09:30:20 -07:00
Connor Peet f3282649f1 0.2.9 2018-02-09 23:06:19 -08:00
Connor Peet e9af4b55b3 fix(dep): actually lock grpc; apparently npm overwrite version constraints now 2018-02-09 23:06:08 -08:00
Connor Peet a9e53ecda0 0.2.8 2018-02-09 23:04:28 -08:00
Connor Peet 7a034e634f fix(dep): lock grpc to 1.8.0 2018-02-09 23:00:42 -08:00
Arthur Weber b71ea27c69 fix(client): allow mock.getConnection to return promises
* Adds dockerfile to create etcd3 instance easily

* ConnectionPool.getConnection should return Promise when mockImpl is defined
2018-02-09 16:06:33 -08:00
Connor Peet 6b887643ee
chore(docs): rebuild 2017-12-31 16:41:33 +10:00
Connor Peet d32a8eca81
0.2.7 2017-12-31 16:38:34 +10:00
Connor Peet d0b5f1e30d chore(dep): fixed npm corrupting the package-lock, again 2017-12-30 08:58:29 +10:00
Connor Peet 002a3794b7 fix(lease): when we detect a lease is lost by touching a key, mark the lease as revoked 2017-12-30 08:58:29 +10:00
Connor Peet 0af77b851c fix(lease): when a lease is lost, make sure the lease state is revoked 2017-12-30 08:58:29 +10:00
Connor Peet 7761d03399 fix(watcher): successive watchers failing 2017-12-30 08:58:29 +10:00
Connor Peet 05b85c3e40 0.2.6 2017-11-11 22:17:18 -08:00
Connor Peet 0521dabd30 chore(dep): add package.lock, now that npm5 is stable 2017-11-11 22:17:08 -08:00
Connor Peet f03cee5d3b fix(test): disable watcher test failing on grpc error 2017-11-11 22:09:45 -08:00
Connor Peet a200f6f40c debug 2017-11-11 22:09:45 -08:00
Connor Peet 7732880227 doc(changelog): add 0.2.6 notes 2017-11-11 22:09:45 -08:00
Connor Peet 8f2b7f73e1 feat(*): allow GRPC call options to be passed into operations 2017-11-11 22:09:45 -08:00
Connor Peet 8f0d60ef10 fix(watch): watchers sometimes replaying old data
Etcd handles this logic for us automatically, and it was causing issues as the
header referred to the key, not cluster, revision.
2017-11-11 22:09:45 -08:00
Connor Peet 834a3b50cc fix(rpc): pass auth credentials into duplex streams 2017-11-11 22:09:45 -08:00
Connor Peet cd5f75796c fix(typings): lock and stm typings not being exported 2017-11-11 22:09:45 -08:00