Releases: litert/http.js
Releases · litert/http.js
Release v0.5.1
Release v0.5.0
New
- Added method
createClient.
Release v0.4.3
Changes
- Upgraded
@litert/coreto v0.6.0.
Release v0.4.2
Changes
- Fixed: The JSON parsing exception is uncaught.
Release v0.4.1
Changes
- Upgraded
@litert/coreto v0.5.0. - Added argument
assertfor methodServerRequest.getContent. - Added urlencode for
cookiesencoding. - Fixed some bug due to "=" insides the cookies value.
- Now the decorator supports multi-path rules for once registration.
Release v0.4.0
News
- Added following methods for class
ServerRequest:getAcceptableLanguagesgetAcceptableEncodingsgetAcceptableTypesgetContentget and parse the http content, supporting types raw,
json, string, urlencode, and etc.
- Added built-in plugins for raw, json, string, urlencode,
Changes
- Upgraded
@litert/coreto v0.4.0.
base64 parser. - Deprecated creating-server options
plugins.cookies, use the option
plugins["parser:cookies"]instead. - Deprecated following properties or methods in class
ServerRequest:acceptableLanguages(usegetAcceptableLanguagesinstead)acceptableEncodings(usegetAcceptableEncodingsinstead)acceptableTypes(usegetAcceptableTypesinstead)getBody(usegetContentinstead)getBodyAsJSON(usegetContentinstead)
- Deprecated methods
createStandardCookiesEncoder, use
plugins.createCookiesEncoderinstead.
All the above DEPRECATED items will be removed in v0.5.0.
Release v0.3.1
Changes
- Fixed the dependency to
@litert/core.
Release v0.3.0
New Features
- Added the router for controllers' methods mapping.
- Added wildcard supports in router.
Changes
- Fixed the minimal SSL/TLS protocol version restriction in virtual hosts.
Release v0.2.4
Changes
- Fixed: The detection of smart-rule for middlewares.
Release v0.3.0-RC-1
New Features:
- Added minimal SSL/TLS protocol version restriction.
- Added virtual hosts supports.
- Added new utility properties for ServerRequest objects.
Changes:
- Fixed the cookies encoder about domain.