Skip to content

Commit

Permalink
Prepare for 3.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Aug 14, 2016
1 parent f7a3ef7 commit 9d8ca3a
Show file tree
Hide file tree
Showing 7 changed files with 173 additions and 74 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
##### 3.0.0-rc.2 - 13 August 2016

###### Backwards compatible changes
- Upgraded dependencies
- Finish JSDoc comments

###### Bug fixes
- #55 - dist/js-data-http.d.ts is not complete

##### 3.0.0-rc.1 - 10 August 2016

###### Breaking changes
Expand Down
48 changes: 48 additions & 0 deletions dist/js-data-http.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,52 @@ export class HttpAdapter extends Adapter {
}
static extend(instanceProps?: IDict, classProps?: IDict): typeof HttpAdapter
constructor(opts?: IBaseHttpAdapter)
afterDEL(url: string, config: any, opts: any, response: any): any
afterGET(url: string, config: any, opts: any, response: any): any
afterHTTP(config: any, opts: any, response: any): any
afterPOST(url: string, data: any, config: any, opts: any, response: any): any
afterPUT(url: string, data: any, config: any, opts: any, response: any): any
beforeDEL(url: string, config: any, opts: any): any
beforeGET(url: string, config: any, opts: any): any
beforeHTTP(config: any, opts: any): any
beforePOST(url: string, data: any, config: any, opts: any): any
beforePUT(url: string, data: any, config: any, opts: any): any
_count(mapper: any, query: any, opts?: any): Promise<any>
_create(mapper: any, props: any, opts?: any): Promise<any>
_createMany(mapper: any, props: any, opts?: any): Promise<any>
_destroy(mapper: any, id: string | number, opts?: any): Promise<any>
_destroyAll(mapper: any, query: any, opts?: any): Promise<any>
_end(mapper: any, opts: any, response: any): any
_find(mapper: any, id: string | number, opts?: any): Promise<any>
_findAll(mapper: any, query: any, opts?: any): Promise<any>
_sum(mapper: any, field: any, query: any, opts?: any): Promise<any>
_update(mapper: any, id: any, props: any, opts?: any): Promise<any>
_updateAll(mapper: any, props: any, query: any, opts?: any): Promise<any>
_updateMany(mapper: any, records: any, opts?: any): Promise<any>
count(mapper: any, query: any, opts?: any): Promise<any>
create(mapper: any, props: any, opts?: any): Promise<any>
createMany(mapper: any, props: any, opts?: any): Promise<any>
DEL(url: string, config?: any, opts?: any): Promise<any>
deserialize(mapper: any, response: any, opts?: any): any
destroy(mapper: any, id: string | number, opts?: any): Promise<any>
destroyAll(mapper: any, query: any, opts?: any): Promise<any>
error(...args: any[]): void
fetch(config: any, opts?: any): Promise<any>
find(mapper: any, id: string | number, opts?: any): Promise<any>
findAll(mapper: any, query: any, opts?: any): Promise<any>
GET(url: string, config?: any, opts?: any): Promise<any>
getEndpoint(mapper: any, id: string | number, opts?: any): any
getPath(method: string, mapper: any, id: any, opts?: any): any
getParams(opts?: any): any
getSuffix(mapper: any, opts?: any): any
HTTP(config: any, opts?: any): Promise<any>
POST(url: string, data: any, config?: any, opts?: any): Promise<any>
PUT(url: string, data: any, config?: any, opts?: any): Promise<any>
queryTransform(mapper: any, params: any, opts?: any): any
responseError(err: any, config?: any, opts?: any): any
serialize(mapper: any, data: any, opts?: any): Promise<any>
sum(mapper: any, field: any, query: any, opts?: any): Promise<any>
update(mapper: any, id: any, props: any, opts?: any): Promise<any>
updateAll(mapper: any, props: any, query: any, opts?: any): Promise<any>
updateMany(mapper: any, records: any, opts?: any): Promise<any>
}
4 changes: 2 additions & 2 deletions fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-data-fetch",
"description": "HTTP adapter for js-data that uses the fetch API.",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"homepage": "https://github.com/js-data/js-data-http",
"repository": {
"type": "git",
Expand All @@ -22,7 +22,7 @@
"fetch"
],
"dependencies": {
"js-data-adapter": "~0.8.0"
"js-data-adapter": "~0.8.1"
},
"peerDependencies": {
"js-data": "^3.0.0-rc.4"
Expand Down
4 changes: 2 additions & 2 deletions node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-data-http-node",
"description": "Node.js HTTP adapter for js-data.",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"homepage": "https://github.com/js-data/js-data-http",
"repository": {
"type": "git",
Expand All @@ -22,7 +22,7 @@
"node.js"
],
"dependencies": {
"js-data-adapter": "~0.8.0"
"js-data-adapter": "~0.8.1"
},
"peerDependencies": {
"axios": "^0.13.1",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-data-http",
"description": "HTTP (XHR) adapter for js-data in the browser.",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"homepage": "https://github.com/js-data/js-data-http",
"repository": {
"type": "git",
Expand Down Expand Up @@ -74,7 +74,7 @@
"release": "npm test && npm run doc && repo-tools updates && repo-tools changelog && repo-tools authors"
},
"dependencies": {
"js-data-adapter": "~0.8.0"
"js-data-adapter": "~0.8.1"
},
"peerDependencies": {
"js-data": "^3.0.0-rc.4"
Expand All @@ -86,13 +86,13 @@
"babel-preset-stage-0": "6.5.0",
"istanbul": "0.4.4",
"js-data-repo-tools": "0.5.6",
"karma": "1.1.2",
"karma": "1.2.0",
"karma-browserstack-launcher": "1.0.1",
"karma-chai": "0.1.0",
"karma-mocha": "1.1.1",
"karma-phantomjs-launcher": "1.0.1",
"karma-sinon": "1.0.5",
"phantomjs-prebuilt": "2.1.11",
"phantomjs-prebuilt": "2.1.12",
"rollup-plugin-commonjs": "3.3.1",
"rollup-plugin-replace": "1.1.1",
"uglify-js": "2.7.0"
Expand Down
Loading

0 comments on commit 9d8ca3a

Please sign in to comment.