- Implement v2
- Updated vow version to 0.4.20 #124
- Updated extend version to 3.0.2
- Remove
jade
package. - Pass extra data with
ApiError
. - Add custom params validation.
- Support timeout option #112.
- Rename engineStrict to engine-strict.
- Rename toJson method to toJSON #111.
- Move badges to the next line.
- Add
client.js
to package assets.
- Add more convenient way to require bla #109.
- Use only latest browser versions for
zuul
tests. - Change examples port to
7777
to avoid collisions. - Show exra information in validation error messages #108.
- Update vow and vow-fs.
- Don't use predefined API errors for xhr.
- Increase priority for xhr.responseText.
- Remove vow from devDeps.
- Add licence field.
- Freeze dependencies in package.json.
- Use container-base infrastructure.
- Fix bla for commonjs.
- Remove
NO_DEPRECATION
flag.
- Add preventThrowingErrors option #106.
- Add toJson support for batch method #102.
- Fix misprint in an error message.
- Add recommendation to use ApiError.
- Add
toJson
method to ApiError #101.
- Add default editor to release tool
- Add Common JS support
- Add link to cdnjs
- Use svg instead of png to get better image quality
- Update tests
- Add zuul support
- Add 'allowUndeclaredParams' option for methods #95.
- Remove all deprecated methods and options #92. (breaks backward compatibility)
- Throw an error for redeclared methods #82.
- Support urlencoded params #83.
- Prevent passing undeclared parameters #85.
- Remove peerDependency for vow #86.
- Rename bla-batch -> batch #88.
- Pass only an Api instance to the middleware, not methodPathPattern #89. (breaks backward compatibility)
- Add validators for method parameters #87.
- Add strict type validator #93.
- and a lot of fixes and improvements.
- Support
enableBatching
option #73. - Rename
getParamsDeclarations
->getParams
#80. - Proxy query and post body to
api.exec
#80.
- Fix bug in normalizing parameters (incorrect handling
null
orfalse
values). - Remove
hiddenOnDocPage
option. UseshowOnDocPage
option instead. (breaks backward compatibility) - Support
enableDocPage
option (disableDocPage
is deprecated). - Refactor enb example. Use BEM methodology by default.
- Move reference to a separate page.
- Show
asis
type in docpage instead ofString
. - Show warning about
body-parser
only for post requests. - Add link to chrome extension.
- Change interface for declaring ApiMethod #56. The old one is deprecated and will be removed in the next version.
- Add defaultValue for method parameters #57.
- Add string type to method parameters #58.
- Add
noBatching
option forapi.exec
. #52 - Rename option
noBatch
tonoBatching
forApi
constructor. #52 (breaks backward compatibility) - Throw an error if body-parser is missed. #55
- Add an awesome release tool. Maintainers are happy :) #51
- And also a lot of small fixes and improvments were added. Enjoy the new version!
- Change handling errors. If you throw ApiError in methods, you should return
vow.reject
instead. (breaks backward compatibility) - Add tests for examples.
- Improve batch speed (using next tick for modern browsers).
- Build on
npm prepublish
- Change package name:
baby-loris-api
->bla
(breaks backward compatibility).
- Find api methods synchronously.
- Delete using express session for search parameter value (breaks backward compatibility).
- Fix bug when the batch method does not proxy request to submethods.
- Add a possibility to pass an Api instance to the middleware. #22
- Proxy express request to a method. #20
- Export namespace instead of paths on file system.
- Add
setOption
method. #9 (breaks backward compatibility) - Add batch support for the client side. #10
- Add more examples. #6, #11
- Add a special example for enb project. #12
- Add a contribution guide. #18
- Add AMD support and global for the client (remove ym dependency). #16
- Build baby-loris-api.min.js for each npm release. #15
- Remove jquery and inherit dependecies for the client. #13, #14
- Fix coverage calculating.
- Add Features part and link to the demo project.
- Use json for body in post requests (breaks backward compatibility).
- Fix a couple of issues: #5, #7
- Add ym to peerDependencies.
- Strict a node engine. Works properly only with node >= 0.10.x.
- Fix misprint in peerDependencies.
- Add the licence (MIT).
- Add a test coverage.
- Middleware looks up params in
req.session
, too. See express-session for more details.
- Add the server side implementation (Api class, ApiMethod class, ApiError class).
- Add the express middleware (provide access from the frontend side and can generate documentation for all api methods).
- Add the frontend side implementation (Api class, ApiError class).
- Add examples for each major cases.
- Add tests and validation for the server side, for the frontend side, and for the middleware.
- Add documentation.