Commit Graph

48 Commits

Author SHA1 Message Date
Janny 22d95df742
Merge pull request #40 from strongloop/lts
add lts annoucement
2018-11-26 11:53:33 -05:00
jannyHou c15c89d735 add lts annoucement 2018-11-22 13:42:53 -05:00
Miroslav Bajtoš c5b303fe5b
Merge pull request #39 from strongloop/upgrade-deps
Drop support for Node.js 4.x/5.x/7.x + upgrade dependencies
2018-06-29 17:27:45 +02:00
Miroslav Bajtoš ea61dfdb3a
Upgrade dependecies, fix new linter errors 2018-06-29 17:17:16 +02:00
Miroslav Bajtoš fcaa7adc61
Drop support for Node.js 4.x, 5.x and 7.x
These version are no longer supported by the Node.js project.
2018-06-29 17:17:16 +02:00
Sakib Hasan d7b74e293e Create Issue and PR Templates (#36)
* create issue template

* create pr template
2017-08-16 14:37:10 -04:00
Miroslav Bajtoš bcfbc2a163 Merge pull request #35 from strongloop/add-codeowner
Add CODEOWNERS file
2017-07-31 14:44:26 +02:00
Diana Lau eafbc7f6fd
Add CODEOWNERS file 2017-07-31 14:28:14 +02:00
Miroslav Bajtoš 63a4c80678
3.3.0
* add nodejs v8.2.1 support (Oleg Kubrakov)
2017-07-21 13:25:09 +02:00
Miroslav Bajtoš 66c1954441 Merge pull request #34 from yellowred/add-node8
Add NodeJS v8.2.1 support
2017-07-21 13:24:40 +02:00
Oleg Kubrakov b9fa114ad6 add nodejs v8.2.1 support 2017-07-21 17:40:54 +08:00
Miroslav Bajtoš 3c10d219c7
3.2.0
* Add Node.js 7 to package.json and .travis.yml (Edgars Zagorskis)
2017-07-10 15:56:46 +02:00
Miroslav Bajtoš 4d4920c491 Merge pull request #31 from xnf/master
Add Node.js 7 to package.json
2017-07-10 15:56:12 +02:00
Edgars Zagorskis 6d5fedb85e
Add Node.js 7 to package.json and .travis.yml
Added Node.js 7 to package.json. This way yarn will not complain when
Node.js 7 is used. Tests still pass and the code itself also works
on Node.js 7.

Configure Travis CI to run the build on Node.js 7 too, in order to
verify correctness.
2017-07-10 15:51:01 +02:00
Miroslav Bajtoš f49752780b
3.1.0
* fix typo in readme (biniam)
 * Add bind option to getCurrentContext() (Emiliano Daddario)
 * Upgrade eslint & config to latest (Miroslav Bajtoš)
2017-03-17 16:36:28 +01:00
Miroslav Bajtoš ebdbb7bfe7 Merge pull request #26 from strongloop/fix/readme-typo
fix typo in readme
2017-03-17 16:13:34 +01:00
biniam 3a3b2fd676 fix typo in readme
Fix typo in readme and
fix the module name in
contributing file.

apply changes
2017-03-17 09:58:34 -04:00
Miroslav Bajtoš 2f236b884e Merge pull request #25 from strongloop/upgrade/eslint-config
Upgrade eslint & config to latest
2017-02-24 14:52:44 +01:00
Emiliano Daddario d5f977fc4a Add bind option to getCurrentContext()
Add bind:true option to getCurrentContext

Workaround issue #17 with cujojs/when v3.7.7 due to the fact
that it internally uses a mechanism of user-land queuing for
async-related operations, and possibly issues with similar
packages using queuing (mostly Promise libraries)
2017-02-24 11:54:34 +01:00
Miroslav Bajtoš 06b99c26df
Upgrade eslint & config to latest
This upgrade allows us to start using ES6 features like arrow functions.
2017-02-24 10:26:20 +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