Commit Graph

82 Commits

Author SHA1 Message Date
Miroslav Bajtoš 2746bf5bde
2.27.1
* Upgrade lodash from 3.x to 4.x (Miroslav Bajtoš)
2018-02-26 16:52:59 +01:00
Miroslav Bajtoš 81cdf6b42d
Upgrade lodash from 3.x to 4.x 2018-02-19 11:52:33 +01:00
Miroslav Bajtoš 5060032d26
2.27.0
* Drop support for Node.js versions 0.10 and 0.12 (Miroslav Bajtoš)
 * CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš)
 * CODEOWNERS: add zbarbuto (Miroslav Bajtoš)
 * Add CODEOWNERS file (Miroslav Bajtoš)
2017-10-23 09:28:19 +02:00
Miroslav Bajtoš b0408f250d
Drop support for Node.js versions 0.10 and 0.12
Some of our dependencies are no longer supporting pre-4.0 versions of
Node.js. As a result, our CI builds are failing on these platforms.

This pull request removes 0.10 and 0.12 from our Travis CI build matrix
and also adds "engines" field to package.json to tell our internal
Jenkins CI to stop testing 0.10 and 0.12 versions too.
2017-10-19 10:57:06 +02:00
Miroslav Bajtoš b668116fab
2.26.2
* Ignore js sourcemap files from boot (Zak Barbuto)
2017-09-15 10:43:45 +02:00
Miroslav Bajtoš cdab45d40e
2.26.1
* Do not call callbacks twice in async boot scripts (Jürg Lehni)
2017-08-17 09:58:23 +02:00
Miroslav Bajtoš fa656e4bee
2.26.0
* Add support for ES6 style async boot scripts (Jürg Lehni)
 * Update Italian translated strings Q2 2017 (Allen Boone)
 * Update translated strings Q2 2017 (Allen Boone)
2017-07-31 17:34:06 +02:00
Jürg Lehni 51326091b2
Add support for ES6 style async boot scripts 2017-07-31 16:11:22 +02:00
Miroslav Bajtoš 6db7cadc9b
2.25.0
* Support es2015 module exports (Babel, TypeScript) (John McLaughlin)
2017-06-26 15:04:00 +02:00
Miroslav Bajtoš e5224368d4
2.24.1
* add support for absolute middleware paths on win32 (Benjamin Kroeger)
2017-06-07 14:08:51 +02:00
Miroslav Bajtoš 7f14a24ed2
2.24.0
* Provide options.scriptExtensions (Supasate Choochaisri)
 * Fix browser tests on Node.js 0.10 (Miroslav Bajtoš)
2017-04-03 15:14:51 +02:00
Miroslav Bajtoš 9cb3d0648b 2.23.0
* Fix resolution of middleware modules (Miroslav Bajtoš)
 * Normalize line endings to support both LF and CRLF (Miroslav Bajtoš)
2016-10-13 10:15:17 +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
Miroslav Bajtoš d2c70bad3c v2.6.2 2015-01-13 10:34:42 +01:00
Miroslav Bajtoš 8bc526377f v2.6.1 2015-01-12 18:00:57 +01:00
Miroslav Bajtoš 5fd79f0339 v2.6.0 2015-01-08 08:31:26 +01:00
Miroslav Bajtoš 4031f6b985 v2.5.2 2014-12-19 15:21:40 +01:00
Miroslav Bajtoš a90964ab30 v2.5.1 2014-12-08 08:09:33 +01:00