Luke Barnard
020b293068
Merge branch 'master' into develop
2017-12-04 11:58:30 +00:00
Luke Barnard
678ff23bcb
v0.9.2
2017-12-04 11:57:05 +00:00
David Baker
fece506cdd
delint
2017-11-29 16:35:12 +00:00
David Baker
5b1a5b7dd0
v0.9.1
2017-11-17 15:55:21 +00:00
Luke Barnard
3091a76702
v0.9.0
2017-11-15 10:56:31 +00:00
Luke Barnard
a60e4efe6d
v0.9.0-rc.1
2017-11-10 13:30:24 +00:00
Travis Ralston
bf462e2840
Install babel-runtime, as it is required for operation ( #561 )
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-11-08 14:34:08 +00:00
David Baker
675441fe93
v0.8.5
2017-10-16 14:35:20 +01:00
David Baker
93b722af3c
v0.8.5-rc.1
2017-10-13 11:01:58 +01:00
David Baker
ee37ed0697
Add a clean target ( #547 )
2017-09-21 21:45:55 +01:00
David Baker
e3972dee2c
Merge branch 'master' into develop
2017-09-21 21:41:48 +01:00
David Baker
7a727e7eda
v0.8.4
2017-09-21 21:39:37 +01:00
David Baker
d73a115436
Clean on prerelease
...
Otherwise you can make broken releases on case insensitive file
systems
2017-09-21 18:02:30 +01:00
David Baker
7d5c107fb8
v0.8.3
2017-09-20 15:04:11 +01:00
David Baker
464f84d8cd
v0.8.3-rc.1
2017-09-19 10:44:58 +01:00
David Baker
402b943ddb
Upgrade to jsdoc 3.5.5
...
Because of https://github.com/jsdoc3/jsdoc/issues/1438
2017-09-14 22:33:10 +01:00
David Baker
22b213ae26
v0.8.2
2017-08-24 14:45:24 +01:00
David Baker
15b77861ea
v0.8.1
2017-08-23 15:51:31 +01:00
David Baker
b325aad5c9
v0.8.1-rc.1
2017-08-22 18:40:29 +01:00
Luke Barnard
b417492fad
v0.8.0
2017-08-15 17:11:05 +01:00
Richard van der Hoff
10aafd3738
Merge branch 'develop' into rav/async_crypto_event_handling
2017-07-26 07:11:48 +01:00
Richard van der Hoff
8a4a1dfadf
Transform async functions to bluebird promises
...
Now that we use transform-runtime instead of regenerator-runtime, we need to
use the async-to-bluebird transform to make sure that `async` functions get
transformed into bluebird promises.
2017-07-21 15:59:30 +01:00
Richard van der Hoff
63a28d8e34
Fix lint in /sync
2017-07-21 14:41:01 +01:00
Richard van der Hoff
32d8f4b084
Fix jsdoc failure on async code ( #506 )
...
We need jsdoc 3.5 to support the async/await syntax.
2017-07-20 09:45:37 +01:00
Richard van der Hoff
0fb0c1b71b
Use babel transform-runtime instead of regenerator-runtime ( #505 )
...
Attempting to use the regnerator-runtime ourselves led to a fight with riot-web
about whether `global.regeneratorRuntime` could be defined. By using the
transform-runtime plugin, references to `global.regeneratorRuntime` which are
created by the transform-regenerator plugin are turned into references to an
imported module, which works much better.
(The full tragic tale went as follows:
- riot-web uses transform-runtime, which adds an import of
`regenerator-runtime` to index.js
- `regenerator-runtime`:
- loads `regenerator-runtime/runtime`, which defines
`global.regeneratorRuntime`
- then clears the global property and returns the regeneratorRuntime object
as the exported value from the module
- later, the js-sdk tried to import `regenerator-runtime/runtime`, which then
did nothing because the module had already been loaded once.
For added fun, this only manifested itself when riot-web and js-sdk shared an
instance of the `regenerator-runtime` package, which happens on proper builds,
but not a normal development setup.)
2017-07-20 09:18:37 +01:00
Richard van der Hoff
04ca0ac2b5
Give the megolm tests longer to complete
...
All that crypto stuff takes a while, so give it longer than 100ms.
2017-07-14 15:22:08 +01:00
Richard van der Hoff
b96062b6de
replace imports of q with bluebird
...
```
find src spec -name '*.js' |
xargs perl -i -pe 'if (/require\(.q.\)/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
find src spec -name '*.js' |
xargs perl -i -pe 'if (/import q/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
```
2017-07-12 23:32:28 +01:00
Michael Telatynski
9798fcf839
make the npm test script windows-friendly
2017-07-11 23:08:28 +01:00
Richard van der Hoff
0ca4d728d8
Fix a bunch of races in the tests
...
Once we switch to bluebird, suddenly a load of timing issues come out of the
woodwork. Basically, we need to try harder when flushing requests. Bump to
matrix-mock-request 1.1.0, which provides `flushAllExpected`, and waits for
requests to arrive when given a `numToFlush`; then use `flushAllExpected` in
various places to make the tests more resilient.
2017-07-11 12:09:21 +01:00
Richard van der Hoff
eea9a3ba59
Add test:watch script
...
... to run the tests in a loop.
2017-07-07 14:19:41 +01:00
Richard van der Hoff
24f70387d2
Make it possible to use async/await
...
Enables the babel plugin that transpiles async/await to generator functions,
and load the regenerator runtime so that generator functions work.
2017-07-06 18:52:37 +01:00
Kegsay
d66e6db480
Merge pull request #478 from krombel/access_token_header
...
Use access-token in header
2017-07-06 13:44:31 +01:00
Richard van der Hoff
b0661bb586
Update to matrix-mock-request 1.0
...
-- to pick up on the json parsing differences
2017-07-04 16:35:33 +01:00
Richard van der Hoff
b6a165f1f8
Merge branch 'develop' into rav/error_parsing
2017-07-04 16:03:33 +01:00
Richard van der Hoff
0d24f2d4c1
Use external mock-request
...
mock-request is now factored out to matrix-mock-request; use it
2017-07-04 15:45:22 +01:00
Richard van der Hoff
5f6e4bdfe9
Avoid parsing plain-text errors as JSON
...
It's somewhat unhelpful to spam over the actual error from the reverse-proxy or
whatever with a SyntaxError.
2017-07-03 19:30:23 +01:00
Krombel
c6d2d4ccda
readd failover if server does not handle access-token via header
2017-07-01 14:30:37 +02:00
Krombel
9b24e66441
Merge branch 'develop' into access_token_header
2017-06-23 15:16:41 +02:00
David Baker
f3eb661aad
Merge branch 'master' into develop
2017-06-22 11:51:24 +01:00
David Baker
1abf8e23a4
v0.7.13
2017-06-22 11:48:30 +01:00
Richard van der Hoff
f355661522
fix a lint error
2017-06-20 11:51:30 +01:00
David Baker
db66023102
v0.7.12
2017-06-19 11:58:56 +01:00
David Baker
ffd9a01e2f
v0.7.12-rc.1
2017-06-15 17:13:26 +01:00
David Baker
79fa944402
v0.7.11
2017-06-12 15:17:53 +01:00
David Baker
bb5038b8b2
v0.7.11-rc.1
2017-06-09 20:23:30 +01:00
Matthew Hodgson
9a81ca9fab
v0.7.10
2017-06-02 01:02:01 +01:00
Richard van der Hoff
24937910c7
Merge remote-tracking branch 'origin/develop' into rav/load_olm_from_global
2017-06-01 15:31:27 +01:00
Richard van der Hoff
41864d46c3
Load Olm from the global rather than requiring it.
...
This means that we can avoid confusing everybody in the world about how to
webpack js-sdk apps.
2017-06-01 13:09:48 +01:00
Matthew Hodgson
0f30d21fa2
v0.7.9
2017-06-01 01:41:06 +01:00
Richard van der Hoff
7efbfebb4d
Factor out reEmit to a common module
...
and rewrite it to use modern JS while we're at it
2017-05-31 11:01:48 +01:00