556 Commits

Author SHA1 Message Date
David Luecke
50e92c48c1 Updating Changelog and 0.2.0 release. 2018-08-20 19:58:09 -07:00
David Luecke
509bc7da69 Socket handler now uses argument normalization. 2018-08-20 19:58:09 -07:00
David Luecke
e6b6700b5e Initial commit. 2018-08-20 19:58:09 -07:00
David Luecke
5e13680022 Initial commit 2018-08-20 19:58:09 -07:00
David Luecke
a38eddb6c9 Migrate to Lerna monorepo 2018-08-20 19:58:09 -07:00
David Luecke
acb039f054 Updating changelog 2018-08-19 10:20:23 -07:00
David Luecke
c28097bf87 3.2.0-pre.1 v3.2.0-pre.1 2018-08-19 10:19:23 -07:00
David Luecke
b910d164af Updating version 2018-08-19 10:19:23 -07:00
David Luecke
b715e72d64 Prepare for 3.2.0 prerelease 2018-08-19 10:19:08 -07:00
Kévin Berthommier
489792bbad Add breaking test (#931)
* add breaking test

* fix bug by replacing makeArguments
2018-08-19 10:18:24 -07:00
David Luecke
1c066c76a1
Some refactoring for custom method hooks (#930)
* Some refactoring for custom method hooks

* Rename args back to arguments since it is a valid object property
2018-08-13 12:56:23 -07:00
Kévin Berthommier
7de5f4a76e withHooks + custom methods (#924)
* open hooks workflow to custom methods

* remove console.log

* remove useless line

* new service 'methods' shape

* pick arguments in validateHook for custom methods

* separate validateHook and pickArgsHook

* extend pickArgsHook to all methods

* remove variable with single usage

* validate before pick arguments

* export withHooks method

* add tests for withHooks

* fix getHookArray

* replace Object.assign by assignation

* simplify names

* add activeHooks method

* all methods in service.methods

* rename activeHooks to activateHooks

* remove useless assignation

* use Object.getOwnPropertyNames instead of Object.keys

* update @featherjs/commons

* fix test for node 6

* fix withHooks

* Update hooks.js

* use Object.defineProperty in the activateHooks method
2018-08-12 13:49:16 -07:00
David Luecke
b682bd607a
Update Travis installation script 2018-08-03 09:10:02 -07:00
David Luecke
6b05a11879 Updating changelog 2018-06-16 09:51:17 -07:00
David Luecke
5613ed0fd3 3.1.7 v3.1.7 2018-06-16 09:50:08 -07:00
David Luecke
d8ca043b95 Updating version 2018-06-16 09:50:08 -07:00
David Luecke
4f94387bf0
Update to latest Uberproto and other dependencies (#889) 2018-06-16 09:49:39 -07:00
David Luecke
e2649f251f Updating changelog 2018-06-03 11:21:48 -07:00
David Luecke
9c149f8d0e 3.1.6 v3.1.6 2018-06-03 11:20:43 -07:00
David Luecke
57ba2ca357 Updating version 2018-06-03 11:20:43 -07:00
Kévin Berthommier
927cc8bd1e Add 'services conserve Symbols' test (#880)
* add 'services conserve Symbols' test

* add 'methods conserve Symbols' test
2018-06-03 11:15:39 -07:00
greenkeeper[bot]
734c56f0f3 Update uberproto to the latest version 🚀 (#881)
* fix(package): update uberproto to version 2.0.0

* Update package-log.json

* Update dependencies
2018-06-03 10:55:23 -07:00
greenkeeper[bot]
afd2bbf83a fix(package): update events to version 3.0.0 (#872) 2018-05-25 08:19:34 -07:00
David Luecke
b17c032df3 Update nsp devDependency to latest 2018-05-10 14:05:02 -07:00
greenkeeper[bot]
265dc75439 docs(readme): add Greenkeeper badge (#867) 2018-05-09 12:35:38 -07:00
David Luecke
aecb7f2169 Updating changelog 2018-05-03 20:07:49 -07:00
David Luecke
3fb9a8976e 3.1.5 v3.1.5 2018-05-03 20:06:48 -07:00
David Luecke
8db23c429c Updating version 2018-05-03 20:06:48 -07:00
Kévin Berthommier
f83779f160 Allow methods to return a null result (#865)
* allow to methods to return a null result

* Use omit instead of setting result to undefined

* Fix underscored reference

* Add test for setting result to null in error hooks
2018-05-03 20:05:57 -07:00
David Luecke
0fa518b6cd Updating changelog 2018-03-26 14:29:45 -07:00
David Luecke
5f917a13fe 3.1.4 v3.1.4 2018-03-26 14:28:28 -07:00
David Luecke
01b5591e2a Updating version 2018-03-26 14:28:28 -07:00
David Luecke
9428b6833a
Make sure error hooks still have the original content (#842) 2018-03-26 14:28:09 -07:00
David Luecke
b4903a1126 Update CodeClimate test coverage token 2018-03-18 11:00:31 -07:00
David Luecke
910073dac8 Updating changelog 2018-02-15 19:21:31 -08:00
David Luecke
dc9b0bdc85 3.1.3 v3.1.3 2018-02-15 19:20:40 -08:00
David Luecke
7edf088898 Updating version 2018-02-15 19:20:40 -08:00
David Luecke
2f1b581bb1 Update package-lock.json 2018-02-15 19:20:29 -08:00
greenkeeper[bot]
3441b6d42d fix(package): update events to version 2.0.0 (#810) 2018-02-15 19:16:52 -08:00
David Luecke
5d7f997980
Organize badges a little better 2018-02-10 17:21:16 -08:00
David Luecke
1c9174416b
Fix npm badge 2018-02-10 17:14:59 -08:00
David Luecke
e101d967db Updating changelog 2018-02-10 10:36:48 -08:00
David Luecke
113ab7b4fb 3.1.2 v3.1.2 2018-02-10 10:35:59 -08:00
David Luecke
8c77846a43 Updating version 2018-02-10 10:35:59 -08:00
David Luecke
21089f0517
Handle errors in error hooks properly (#819) 2018-02-10 10:35:32 -08:00
David Luecke
506d50e1d6 Updating changelog 2018-02-08 15:44:33 -08:00
David Luecke
584c6118df 3.1.1 v3.1.1 2018-02-08 15:43:46 -08:00
David Luecke
5afa271a74 Updating version 2018-02-08 15:43:46 -08:00
David Luecke
a3df665f71
Turn argument validation into the first hook to make consistent responses (#818) 2018-02-08 15:43:25 -08:00
Valeriu Vodnicear
7463575235 Add Russian Telegram community (#814) 2018-02-06 18:59:08 -08:00