Commit Graph

87 Commits

Author SHA1 Message Date
Raymond Feng 8587dd6a19 3.3.0
* chore: upgrade deps to avoid npm audit warnings (Raymond Feng)
2019-03-28 14:28:27 -07:00
Raymond Feng 02da15cd3e chore: upgrade deps to avoid npm audit warnings 2019-03-26 11:14:56 -07:00
Miroslav Bajtoš 17ba74ed1c
3.2.1
* fix: set `app.booting` flag immediately (Miroslav Bajtoš)
 * fix: update lodash (jannyHou)
2019-03-22 16:34:33 +01:00
jannyHou 9b77d8159a fix: update lodash 2019-03-01 12:32:47 -05:00
Miroslav Bajtoš fd3a381289
3.2.0
* README: update LTS status (Miroslav Bajtoš)
 * Add support for es6 modules for boot scripts (Walker)
2018-10-18 09:01:15 +02:00
Diana Lau b7a14e30e1 3.1.1
* update: dependency (jannyHou)
 * chore: update dependencies (Diana Lau)
 * [WebFM] cs/pl/ru translation (candytangnb)
 * chore: update license (Diana Lau)
 * CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš)
 * Add support for ES6 style async boot scripts (Jürg Lehni)
2018-07-26 17:33:46 -04:00
jannyHou 14eeb4487d update: dependency 2018-07-26 14:16:16 -04:00
Diana Lau d598c3738a chore: update dependencies 2018-07-25 21:59:39 -04:00
Diana Lau d7efabaebd 3.1.0
* update strong-globalize to 3.1.0 (shimks)
 * CODEOWNERS: add zbarbuto (Miroslav Bajtoš)
 * Ignore source maps in boot (Zak Barbuto)
 * CODEOWNERS: add lehni (Miroslav Bajtoš)
 * Create Issue and PR Templates (#261) (Sakib Hasan)
 * Add CODEOWNER file (Diana Lau)
2017-10-13 13:32:25 -04:00
shimks 3277738937 update strong-globalize to 3.1.0 2017-10-12 15:01:48 -04:00
Diana Lau 2bf14c8cb4 3.0.1
* Update Italian translated strings Q2 2017 (Allen Boone)
 * Update translated strings Q2 2017 (Allen Boone)
 * Replicate new issue_template from loopback (Siddhi Pai)
 * Replicate issue_template from loopback repo (Siddhi Pai)
2017-06-22 09:47:10 -04:00
Raymond Feng 92d6a1f91c 3.0.0
* Upgrade deps and fix style issues (Raymond Feng)
 * Provide scriptExtensions option (Supasate Choochaisri)
 * Update paid support URL (Siddhi Pai)
 * Refactor for  modular and pluggable design (Raymond Feng)
 * Add Node v7 to Travis CI platforms (Miroslav Bajtoš)
 * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
 * readme: update URL to new doc site (David Cheung)
 * Update ja translation file (Candy)
 * Update header-browser.md (Sequoia McDowell)
 * Update translation files - round#2 (Candy)
 * Normalize line endings to support both LF and CRLF (Miroslav Bajtoš)
 * Remove "defaultForType" from datasource config (Miroslav Bajtoš)
 * Update deps to loopback 3.0.0 RC (Miroslav Bajtoš)
 * globalization: add translated strings (gunjpan)
 * Start development of 3.0 (Miroslav Bajtoš)
2017-05-22 08:44:21 -07:00
Raymond Feng 3bb519d5e9 Upgrade deps and fix style issues 2017-05-08 14:48:48 -07:00
Raymond Feng ac1571ccf1 Refactor for modular and pluggable design
- refactor logic of processing artifacts into their own classes
- introduce Container as the main class for bootstrapping and build a
  registry of handlers during boot to organize them by a hierarchy
  denoted by path
- adopt middleware like registration and invocation
- container.use(path, handler)
- container.run(context, done)
- allow more phases during boot
- boot is now asynchronous
2016-11-22 13:38:28 -05:00
Miroslav Bajtoš fbea19a002 Drop support for Node v0.10 and v0.12 2016-11-15 15:07:22 +01:00
Miroslav Bajtoš 58ef16993b Update deps to loopback 3.0.0 RC 2016-09-22 13:11:01 +02:00
Miroslav Bajtoš 889a9fe275 Start development of 3.0 2016-09-16 10:17:29 +02:00
Miroslav Bajtoš d2c55e79c5 2.22.0
* Replace fs.existsSync calls with fs.statSync (Joshua Estrin Skrzypek)
 * Change test cases port to be dynamic (David Cheung)
 * Globalization for Loopback-boot (David Cheung)
2016-09-05 14:55:34 +02:00
David Cheung 1121721afe Globalization for Loopback-boot 2016-08-05 14:31:48 -04:00
Miroslav Bajtoš 8fb9f751cd 2.21.0
* Configurable dir for components and middleware (Doped Dude)
 * test: fix security warning (Miroslav Bajtoš)
2016-07-27 16:14:22 +02:00
Miroslav Bajtoš 9b23e71501 2.20.0
* Update URLs in CONTRIBUTING.md (#198) (Ryan Graham)
 * travis: drop io.js, add Node v4 and v6 (Miroslav Bajtoš)
 * Stop caching config files (Miroslav Bajtoš)
2016-07-14 13:54:35 +02:00
Miroslav Bajtoš 58d9322190 2.19.0
* update copyright notices and license (Ryan Graham)
 * Add flag var lazyConnect to ds config (juehou)
2016-06-20 17:11:43 +02:00
Miroslav Bajtoš 51a699af01 2.18.1
* parse config: should ignore null values (Loïc Mahieu)
2016-04-13 16:16:14 +02:00
Miroslav Bajtoš cc551b0c0f 2.18.0
* Dynamic datasources.json from ENV and config.json (David Cheung)
 * Use eslint with loopback config (Miroslav Bajtoš)
2016-04-07 10:28:22 +02:00
Miroslav Bajtoš 902005ed8e Use eslint with loopback config
Drop jshint and jscs in favour of eslint.
2016-04-05 15:42:58 +02:00
Miroslav Bajtoš 058e0e2f56 2.17.0
* executor: move "booted" and cb() to the next tick (Miroslav Bajtoš)
 * Fix lodash 4.0.0 breaking changes (Jérémie Drouet)
 * When config is overriden with null don't merge (Farid Neshat)
2016-02-23 12:08:30 +01:00
Miroslav Bajtoš a5b888a719 2.16.0
* executor: allow loopback versions >= 3.0.0-alpha (Miroslav Bajtoš)
2015-12-22 10:03:54 +01:00
Miroslav Bajtoš adeece3b30 2.15.0
* Bluemix prefers HOST/PORT over VCAP_APP_XXXX (Sai Vennam)
 * Set app env if it is supplied in options object (Amir Jafarian)
2015-12-04 17:06:10 +01:00
Miroslav Bajtoš 088ca864c2 2.14.2
* executor: preserve RegExps in middleware paths (Miroslav Bajtoš)
2015-11-24 18:53:48 +01:00
Miroslav Bajtoš a023e1f142 2.14.1
* Warn user if missing a config file (Amir Jafarian)
 * Refer to licenses with a link (Sam Roberts)
2015-11-24 14:15:56 +01:00
Miroslav Bajtoš 638368844d 2.14.0
* Support bluemix env variables for host and port (Miroslav Bajtoš)
2015-10-14 11:20:30 +02:00
Miroslav Bajtoš 63589c03ab 2.13.0
* add env folder for boot (yorkie)
 * Use strongloop conventions for licensing (Sam Roberts)
2015-10-01 19:19:10 +02:00
Sam Roberts d1b00ce5d8 Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Miroslav Bajtoš 6ef37ef651 2.12.2
* test: fix strict mode failure (Ryan Graham)
2015-09-09 13:39:21 +02:00
Simon Ho 55c87796cf 2.12.1
* Add config variable checks (Simon Ho)
2015-08-31 23:22:50 -07:00
Miroslav Bajtoš f0aa0f8fdb 2.12.0
* Resolve ${var} values in component-config.json (Hage Yaapa)
 * Resolve ${var} values in middleware.json (Hack Sparrow)
 * Upgrade Travis to container-based infrastructure (Miroslav Bajtoš)
2015-08-28 19:06:22 +02:00
Raymond Feng 674a8da693 2.11.0
* Allow middleware array merge by a key in item objects (Raymond Feng)
2015-08-11 08:33:58 -07:00
Raymond Feng be3997de15 2.10.0
* Enhance middleware config merge (Raymond Feng)
2015-08-10 08:02:30 -07:00
Raymond Feng 952c4101ef 2.9.0
* Fix the build failure (Raymond Feng)

 * Fix the model-config/datasource merge (Raymond Feng)

 * Resolved style issue (Dennis Ashby)

 * Added code to allow model-config to respect model-config.local.js and model-config.env.js as do other config files. (Dennis Ashby)

 * Add jsdoc for `options.mixinSources` (Miroslav Bajtoš)

 * allow middleware to be optional (Hage Yaapa)
2015-08-03 07:47:10 -07:00
Miroslav Bajtoš 0aac03ebb5 2.8.2
* Excl. mod. main path from middleware instructions (Miroslav Bajtoš)
2015-06-24 19:00:42 +02:00
Ritchie Martori 6c33a60bbc 2.8.1
* Add more debug info for config loading (Ritchie Martori)

 * use a new variable for better debug output (Bryan Clark)
2015-06-10 09:56:00 -07:00
Miroslav Bajtoš a06aaba1cb 2.8.0
* Support iisnode using named pipes as PORT value (Jonathan Sheely)

 * support 'mixinsources' option (Pradnya Baviskar)

 * compiler: Simplify verifyModelDefinitions() (Miroslav Bajtoš)

 * Fix coding style issues, add API docs (Miroslav Bajtoš)

 * Extend options arg to support custom model definitions (Shlomi Assaf)

 * add support for mixins  - [mixinDirs]: List of directories to look for files  containing model mixin definition. (Pradnya Baviskar)
2015-05-29 10:37:02 +02:00
Pradnya Baviskar 9bb988713e add support for mixins
- [mixinDirs]: List of directories to look for files
 containing model mixin definition.
2015-04-24 12:42:56 +05:30
Miroslav Bajtoš aed73a9e51 2.7.1
* executor: fix port lookup (Miroslav Bajtoš)

 * Clean up compiler.tryResolveAppPath (Miroslav Bajtoš)

 * Configure Travis CI builds (Miroslav Bajtoš)
2015-04-23 09:32:10 +02:00
Miroslav Bajtoš 6c0c8b9f8b 2.7.0
* Upgrade lodash and drop underscore.string (Bryan Clark)

 * add console.error message to a bad require in a boot script (Bryan Clark)

 * Support per-application registry of models (Miroslav Bajtoš)

 * Use filename as default value for Model name (Pradnya Baviskar)

 * compiler: code cleanup (Miroslav Bajtoš)

 * Improve the resolution of relative paths  - resolve module relative path for component  - prioritize coffeescript over json (Pradnya Baviskar)

 * Resolve module paths as relative to appRootDir - for middleware (Pradnya Baviskar)

 * Support for multiple apps in browserified bundle. (Krishna Raman)

 * Resolve missing file extension for module relative paths (Pradnya Baviskar)

 * Resolve module paths as relative to appRootDir (Pradnya Baviskar)

 * Resolve relative paths in  using appRootDir (Pradnya Baviskar)

 * Add feature to disable component (Pradnya Baviskar)

 * Fix test for different line endings on Windows (Pradnya Baviskar)

 * Refactor unit test assertions to be more specific (Simon Ho)

 * Add unit test to verify `app.booting flag status (Simon Ho)
2015-04-15 17:43:43 +02:00
Bryan Clark 044a4df07a Upgrade lodash and drop underscore.string
Update to the latest version of "lodash" to use the string functions
included and drop the usage of "underscore.string".

Existing tests run checks for `flying-car` definitions to be named
`FlyingCar` so there doesn’t seem to be a need to add more checks.

`isFinite` changed from the older version of lodash to no longer coerce
strings into numbers, this commit adds a call of `parseInt` before
checking whether the value is a finite number.

`parseInt` on an undefined returns NaN which isFinite does not identify
as a number.

While changing this part, the code was reworked to use `Number.isFinite`
and thus the executor no longer depends on lodash. This should reduce
the size of the browser bundle.
2015-04-15 17:40:14 +02:00
Pradnya Baviskar 39d820a657 Use filename as default value for Model name 2015-04-08 14:04:57 +05:30
Miroslav Bajtoš ce58b7d65e 2.6.5
* Save instructions.json in root dir Saving in node_modules dir causes complaints and missing files fixes https://github.com/strongloop/loopback-boot/issues/94 (Berkeley Martinez)
2015-02-20 12:40:00 +01:00
Miroslav Bajtoš 15eb54ac85 v2.6.4 2015-02-02 18:57:33 +01:00
Miroslav Bajtoš 548dba0c37 v2.6.3 2015-01-13 13:35:32 +01:00