Miroslav Bajtoš
442d77fbb4
minor improvements
...
- fix jsdoc for getCurrentContext
- clean up getCurrentContext code
- clean up the new test
2017-02-24 10:22:58 +01:00
josieusa
244627a361
Explain reason for bug fix
2017-02-23 10:31:18 +01:00
josieusa
1d2197f05a
Move middleware example into usage section
2017-02-23 10:12:36 +01:00
josieusa
688cb9c8f7
Improve README
2017-02-23 10:05:51 +01:00
josieusa
b1ec133d40
Document case of mixed up ctx in middleware chains
2017-02-23 10:02:23 +01:00
josieusa
10df0358a7
Add test for bad middleware chain use case
2017-02-23 09:39:34 +01:00
josieusa
22f8a46ead
Fix mixed up ctx in middlewares after a bad one
2017-02-22 18:15:25 +01:00
josieusa
47daf074f8
Simplify test using whenPromise.delay()
2017-01-11 15:31:05 +01:00
josieusa
7deb0a7fa1
Refactor without boolean args in test helper
2017-01-11 15:28:37 +01:00
josieusa
da2c6eeedc
Experiment 2 to reproduce bug on Travis CI
2017-01-11 15:02:05 +01:00
josieusa
2aabc83bdf
Experiment to reproduce bug on Travis CI
2017-01-11 14:56:57 +01:00
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