v3 stable release
- #65 - axios as devDependency
- #68 - Impossible to set timeout globally
- #56 - Test Coverage (fetch, updateMany/createMany, addAction(s)) by @pik
- Upgraded dependencies
- Finish JSDoc comments
- #55 - dist/js-data-http.d.ts is not complete
- Now depending on js-data 3.0.0-rc.4 or greater
- Upgraded dependencies
- Upgraded dependencies
- Adapter now extends
Component
- Upgraded to js-data-adapter 0.7.3
- Switch from webpack to rollup
- Upgraded dependencies
- Fixed typos in the code for
addAction
andaddActions
- Couple of JSDoc fixes
- Upgraded dependencies
- js-data-http/js-data-fetch/js-data-http-node no longer export a default module, instead you must do:
- `import {HttpAdapter} from 'js-data-http'
- `var HttpAdapter = require('js-data-http').HttpAdapter
var adapter = new window.JSDataHttp.HttpAdapter()
- `define(['js-data-http'], function (JSDataHttp) { var adapter = new window.JSDataHttp.HttpAdapter(); })
- Removed
dist/
files from themaster
branch to arelease
branch to cut down on noise
- Added
typings
field topackage.json
- Added
typings.json
- Added
dist/js-data-http.d.ts
Official v3 beta release
- Upgraded some devDependencies
- Fixed double deserialization of data in some cases
- Added sum and count methods
- Cleaned up some things
- Rebased master
- #44 - Angular/HTTP: Canceling requests with timeout promise does not work
- #45 - Map file path in js-data-http.min.js is incorrect.
- #46 - Sending large payloads takes huge amount of time - thanks @ivanvoznyakovsky
- #47 - perf(http): speed up preparation of http config with large payload - thanks @ivanvoznyakovsky
- Now using js-data-repo-tools
- Now using js-data-adapter
- getEndpoint now works with multiple parents
- Rebased master
- #40 - Add support for multiple parents by @tfoxy
- Upgraded dependencies, including bundled axios
- Added AUTHORS and CONTRIBUTORS files
- Updated Readme
- Better debugging/logging
- Updates for the newest js-data alpha
- Added updateMany, createMany, and responseError methods.
- All options that could be found at
DSHttpAdapter#defaults
will now be on the actual instances ofDSHttpAdapter
. e.g.DSHttpAdapter#defaults.deserialize
is now atDSHttpAdapter#deserialize
. This makes it easier to extend theDSHttpAdapter
class and override its methods.
- Added lifecycle methods: beforeFind, afterPOST, etc.
- Added support for the
raw
option
- Actions are now part of js-data-http, rather than js-data
- Now requires js-data 3.x or greater
- Added option to support use of
window.fetch
- Added option to supply custom http implementation
- Published the js-data-http-node package, a build of js-data-http that works in Node.js
- Added option to support use of
window.fetch
- Added option to supply custom http implementation
- Dropped Grunt
- Now reporting code coverage properly
- #18 - Cannot read property 'http' of undefined
- #27 - logResponse doesn't reject when this.http() rejects with something that is not an Error
- #20 - DSHttpAdapter.POST does not pick DSHttpAdapter.defaults.basePath
- #25 - Allow urlPath override for httpAdapter PR by @internalfx
- #26 - Add support for full url override
- #21 - Cannot read property 'method' of undefined
- #22 - Fixing issue where logging responses cannot handle Error objects. PR by @RobertHerhold
Stable Version 2.0.0
Added getEndpoint()
, which was removed from JSData
Prepare for 2.0
- Converted code to ES6.
- #10 - DSHttpAdapter#find does not call queryTransform
- Switched build to webpack. UMD should actually work now.
- #9 - Does not properly throw error in find() (like other adapters) when the item cannot be found
- Added
suffix
option
Now requiring js-data 1.1.0 to allow for safe stringification of cyclic objects
Stable Version 1.0.0
Fixed some tests.
Now in beta
- Fix for making copies of
options
- Updated dependencies
- Now safely making copies of the
options
passed into methods
- Added DSHttpAdapter.getPath
- #8 - Fixed handling of
forceTrailingSlash
option
queryTransform
,serialize
anddeserialize
now take the resource definition as the first argument instead of just the resource name
- #4 - Log failures. See also #5 and #6
- #3 - _this.defaults.log() throws Illegal invocation
- Fixed illegal invocation error
- Added
forceTrailingSlash
option toDSHttpAdapter#defaults
- Improved checking for the js-data dependency
- Refactored from
baseUrl
tobasePath
, asbaseUrl
doesn't make sense for all adapters, butbasePath
does
- Small re-organization.
- Added deserialize and serialize.
- Initial release