josieusa
04f25b6134
Fix typo
2017-01-11 10:14:40 +01:00
josieusa
69ac8fc4a6
Separate successful test from failing test
2017-01-11 10:08:58 +01:00
josieusa
cebcf5c30e
Clean up test
2017-01-10 17:20:10 +01:00
josieusa
24d6e3304b
Account for non-reproducibility of issue
2017-01-10 17:10:20 +01:00
josieusa
626b546258
Simplify failure test
2017-01-10 17:03:54 +01:00
josieusa
1c54dd264d
Refactor failure test
2017-01-10 17:00:24 +01:00
josieusa
d255fc59f7
Fix README style
2017-01-10 16:27:40 +01:00
josieusa
fe42932cf8
Move bind section in README, remove bad test
2017-01-10 15:57:18 +01:00
josieusa
735fa3f64c
Edit docs of bind option of getCurrentContext()
2017-01-10 14:29:04 +01:00
josieusa
a7c4165a4e
Edit docs of bind option of getCurrentContext()
2017-01-10 10:46:02 +01:00
josieusa
c836f5f096
Document bind option of getCurrentContext()
2017-01-10 10:35:46 +01:00
josieusa
396869b1cf
Remove Proxy, add bind option, style
2017-01-10 09:56:31 +01:00
josieusa
7196f0148e
Add comment about methods not re-bound
2017-01-10 09:56:31 +01:00
josieusa
dee3e4e89e
Remove call to Function.prototype.bind()
2017-01-10 09:56:31 +01:00
josieusa
1216ca4770
Use local stub module for multi-versions
2017-01-10 09:56:31 +01:00
josieusa
53f68c5383
Fix corner case of missing context
2017-01-10 09:56:31 +01:00
josieusa
cec955c3b3
Workaround issue #17 with cujojs/when
2017-01-10 09:56:31 +01:00
Miroslav Bajtoš
750d8bb5c9
3.0.0
...
* Rework README, add info from docs site (Miroslav Bajtoš)
* Drop continuation-local-storage, use cls-hooked (josieusa)
* Update paid support URL (Siddhi Pai)
* Add app using loopback-context (Amir Jafarian)
* Drop support for Node v0.10 and v0.12 (Siddhi Pai)
* Start the development of the next major version (Siddhi Pai)
* Update deps to loopback 3.0.0 RC (Miroslav Bajtoš)
* make warning less ambigious (Carl Fürstenberg)
2017-01-06 10:35:11 +01:00
Miroslav Bajtoš
b0e0b350d4
Merge pull request #18 from strongloop/improve-readme
...
Rework README, add info from docs site
2017-01-05 15:10:57 +01:00
Miroslav Bajtoš
bfed31f2dc
Rework README, add info from docs site
...
Rework the initial section, simplify warnings and installation
instructions.
Update the "Usage" section with content from docs site, as was found in
[Using-current-context.md](http://bit.ly/2hNJSBN ).
2017-01-05 14:59:13 +01:00
Miroslav Bajtoš
db9387e56b
Merge pull request #11 from josieusa/feature/cls-hooked-3
...
[SEMVER-MAJOR] Replace continuation-local-storage with cls-hooked
2017-01-03 13:49:11 +01:00
josieusa
996a49f7da
Drop continuation-local-storage, use cls-hooked
...
Rework the module to use the new cls-hooked module (which uses AsyncWrap
available since Node v4.5) instead of old continuation-local-storage
(based on very unreliable async-listener).
2017-01-03 13:12:28 +01:00
Simon Ho
7cef4817c4
Merge pull request #16 from strongloop/update-support-URL
...
Replicate .github from loopback repo
2016-12-06 22:48:06 -08:00
Siddhi Pai
0bc1ac0886
Update paid support URL
2016-12-06 03:08:19 -08:00
Amirali Jafarian
15eb91df7d
Merge pull request #15 from strongloop/add_app
...
Add app using loopback-context
2016-11-25 14:35:09 -05:00
Amir Jafarian
30218be9e5
Add app using loopback-context
2016-11-25 14:28:01 -05:00
Miroslav Bajtoš
3aeee7dbe4
Merge pull request #14 from strongloop/next-major-drop-old-node
...
Start 3.x + drop support for Node v0.10/v0.12
2016-11-22 09:01:07 +01:00
Siddhi Pai
89a1e4ae23
Drop support for Node v0.10 and v0.12
2016-11-19 02:27:54 -08:00
Siddhi Pai
1844bfcd22
Start the development of the next major version
2016-11-19 02:27:27 -08:00
Miroslav Bajtoš
814171d2b3
Merge pull request #12 from strongloop/update-lb-3-rc
...
Update deps to loopback 3.0.0 RC
2016-09-22 14:10:33 +02:00
Miroslav Bajtoš
46cfc17600
Update deps to loopback 3.0.0 RC
2016-09-22 13:57:02 +02:00
Simon Ho
268716f69e
Merge pull request #5 from azatoth/disambig_readme
...
make warning less ambigious
2016-08-10 16:20:25 -07:00
Carl Fürstenberg
7d0f6afaef
make warning less ambigious
2016-08-10 14:16:21 +02:00
Miroslav Bajtoš
13a7b62f35
1.0.0
...
* First release!
2016-08-10 10:46:08 +02:00
Miroslav Bajtoš
2a5d4d1e97
Merge pull request #3 from strongloop/docs-and-cleanup
...
Docs and cleanup
2016-08-10 10:44:51 +02:00
Miroslav Bajtoš
62f6871089
Add big fat warning to README
...
Recommend against using this module.
2016-08-01 15:23:19 +02:00
Miroslav Bajtoš
28e99e5e2c
API cleanup
...
Rename "per-request-context" middleware to shorter "per-request".
Introduce "LoopBackContext.perRequest" as a shortcut for way too long
"loopback-context/server/middlewar/per-request"
2016-08-01 15:23:19 +02:00
Miroslav Bajtoš
6e301d6955
Enable Travis CI
2016-08-01 14:40:22 +02:00
Miroslav Bajtoš
b66ec60e98
Merge pull request #1 from strongloop/feature/initial-implementation
...
Initial implementation
2016-08-01 10:25:34 +02:00
Miroslav Bajtoš
71585a2395
fixup! style
2016-07-29 09:39:38 +02:00
Miroslav Bajtoš
1f214bf3ba
Lazy-load CLS module
...
As soon as CLS module is loaded, the instrumentation/patching of
async-listener is fired. This may cause stack overflows due to promise
instrumentation.
By loading CLS module lazily (only when used for real), we avoid
this kind of problems in applications that are not using current-context
at all.
2016-07-29 09:36:34 +02:00
Miroslav Bajtoš
867a7c3616
Rename to loopback-context/LoopBackContext
2016-07-29 09:36:34 +02:00
Miroslav Bajtoš
9bd4afbe7e
Initial implementation
2016-07-29 09:17:04 +02:00
Miroslav Bajtoš
c8daeb5587
Rename to loopback-context
...
Also change the npm version to 1.0.0, so that we don't have to modify
downstream loopback pull request after we make the first release.
2016-07-29 09:16:11 +02:00
Miroslav Bajtoš
63d031422d
Initial commit
2016-07-28 15:11:12 +02:00