Skip to content

Commit 4434ef4

Browse files
committed
3.0.0-beta.2
1 parent 1743018 commit 4434ef4

33 files changed

+129
-315
lines changed

.github/ISSUE_TEMPLATE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
(delete this line) GitHub Issues are NOT for support questions.
2-
(delete this line) GitHub Issues ARE for bug reports, feature requests, and other issues.
1+
(delete this line) GitHub Issues are not for support questions.
2+
(delete this line) GitHub Issues are for bug reports, feature requests, and other issues.
33
(delete this line) Find out how to Get Support here: http://js-data.io/docs/support.
44

5-
<your detailed, discussable, actionable, and helpful text goes here>
5+
<your detailed, actionable, and helpful text goes here>
66

77
Thanks!

AUTHORS

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# This is the official list of js-data-http project authors.
22
#
3-
# This file is controlled by scripts/authors.js
4-
#
53
# Names are formatted as:
6-
# # commits Name or Organization <email address>
4+
# Name or Organization <email address>
5+
#
76
# The email address is not required for organizations.
7+
#
88
InternalFX <[email protected]>
99
Ivan Voznyakovsky <[email protected]>
1010
Jason Dobry <[email protected]>

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
##### 3.0.0-beta.2 - 17 April 2016
2+
3+
Official v3 beta release
4+
5+
###### Other
6+
- Upgraded some devDependencies
7+
18
##### 3.0.0-alpha.10 - 02 April 2016
29

310
###### Backwards compatible bug fixes

CONTRIBUTORS

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# People who have contributed to the js-data-http project.
1+
# This is the official list of js-data-http project contributors.
22
#
3-
# This file is controlled by scripts/authors.js
3+
# Names are formatted as:
4+
# Name <email address>
45
#
5-
# Names should be added to this file as:
6-
# [commit count] Name <email address>
7-
1 InternalFX <[email protected]>
8-
1 Ivan Voznyakovsky <[email protected]>
9-
69 Jason Dobry <[email protected]>
10-
1 Josh Drake <[email protected]>
11-
1 RobertHerhold <[email protected]>
12-
3 Tomás Fox <[email protected]>
6+
InternalFX <[email protected]>
7+
Ivan Voznyakovsky <[email protected]>
8+
Jason Dobry <[email protected]>
9+
Josh Drake <[email protected]>
10+
RobertHerhold <[email protected]>
11+
Tomás Fox <[email protected]>

README.md

+10-64
Original file line numberDiff line numberDiff line change
@@ -21,70 +21,16 @@ and will use axios unless you provide a different http library.
2121
Tested on IE9, Chrome 46, Firefox 41 & Safari 7.1 using
2222
<img src="https://raw.githubusercontent.com/js-data/js-data-localstorage/master/bs.jpg" alt="bs logo" title="browserstack" width="150" height="35" style="vertical-align: middle" />
2323

24-
To get started, visit __[http://js-data.io](http://www.js-data.io)__.
24+
To get started, visit the main website at __[http://js-data.io](http://www.js-data.io/v3.0/docs/js-data-http)__.
2525

26-
## Table of contents
26+
## Links
2727

28-
* [Quick start](#quick-start)
29-
* [Dependencies](#dependencies)
30-
* [Guides and Tutorials](#guides-and-tutorials)
31-
* [API Reference Docs](#api-reference-docs)
32-
* [Community](#community)
33-
* [Support](#support)
34-
* [Contributing](#contributing)
35-
* [License](#license)
36-
37-
## Quick Start
38-
`npm install --save js-data js-data-http` or `bower install --save js-data js-data-http`.
39-
40-
`npm install --save axios js-data js-data-http-node`
41-
42-
__ES6__
43-
44-
```js
45-
// Doesn't make much sense to use DataStore on the server
46-
import {Container} from 'js-data'
47-
import HttpAdapter from 'js-data-http-node'
48-
49-
const adapter = new HttpAdapter()
50-
const container = new Container()
51-
52-
container.registerAdapter('http', adapter, { default: true })
53-
54-
container.defineMapper('school')
55-
container.defineMapper('student')
56-
57-
container.find('school', 1).then(function (school) {
58-
// ...
59-
})
60-
```
61-
62-
## Dependencies
63-
64-
`js-data-http` bundles axios and depends on `js-data`. `js-data-fetch` depends
65-
on `js-data`. `js-data-http-node` depends on `js-data` and optionally axios.
66-
67-
See [JSData's dependencies](https://github.com/js-data/js-data/blob/master/README.md#dependencies).
68-
69-
## Guides and Tutorials
70-
71-
[Get started at http://js-data.io](http://js-data.io)
72-
73-
## API Reference Docs
74-
75-
[Visit http://api.js-data.io](http://api.js-data.io).
76-
77-
## Community
78-
79-
[Explore the Community](http://js-data.io/docs/community).
80-
81-
## Support
82-
83-
[Find out how to Get Support](http://js-data.io/docs/support).
84-
85-
## Contributing
86-
87-
[Read the Contributing Guide](http://js-data.io/docs/contributing).
28+
* [Quick start](http://www.js-data.io/v3.0/docs/js-data-http)
29+
* [Guides and Tutorials](http://www.js-data.io/v3.0/docs/home)
30+
* [API Reference Docs](http://api.js-data.io/js-data-http)
31+
* [Community](http://js-data.io/docs/community)
32+
* [Support](http://js-data.io/docs/support)
33+
* [Contributing](http://js-data.io/docs/contributing)
8834

8935
## License
9036

@@ -105,7 +51,7 @@ Copyright (c) 2014-2016 js-data-http project authors
10551
[circle_l]: https://circleci.com/gh/js-data/js-data-http/tree/master
10652
[dn_b]: https://img.shields.io/npm/dm/js-data-http.svg?style=flat
10753
[dn_l]: https://www.npmjs.org/package/js-data-http
108-
[cov_b]: https://img.shields.io/coveralls/js-data/js-data-http/master.svg?style=flat
109-
[cov_l]: https://coveralls.io/github/js-data/js-data-http?branch=master
54+
[cov_b]: https://img.shields.io/codecov/c/github/js-data/js-data-http/3.0.svg?style=flat
55+
[cov_l]: https://codecov.io/github/js-data/js-data-http
11056
[cod_b]: https://img.shields.io/codacy/3931bbd8d838463297f70640aa78251b.svg
11157
[cod_l]: https://www.codacy.com/app/jasondobry/js-data-http/dashboard

build_examples/node/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var JSData = require('js-data')
33
var HttpAdapter = require('../../')
44

55
var adapter = new HttpAdapter()
6-
var store = new JSData.DataStore()
6+
var store = new JSData.Container()
77
store.registerAdapter('http', adapter, { default: true })
88
store.defineMapper('user')
99

build_examples/r.js/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require.config({
22
paths: {
3-
// customize these ass needed
4-
'js-data-http': '../../node/dist/js-data-http-node',
3+
// customize these as needed
4+
'js-data-http': '../../node/dist/js-data-http',
55
'js-data': '../../node_modules/js-data/dist/js-data',
66
}
77
});

dist/js-data-http.js

+9-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-http.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-http.min.js

+5-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-http.min.map

+1-1
Large diffs are not rendered by default.

fetch/AUTHORS

-13
This file was deleted.

fetch/CONTRIBUTORS

-12
This file was deleted.

fetch/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2016 Jason Dobry
3+
Copyright (c) 2014-2016 js-data-http project authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

fetch/dist/js-data-fetch.js

+14-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fetch/dist/js-data-fetch.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fetch/dist/js-data-fetch.min.js

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fetch/dist/js-data-fetch.min.map

+1-1
Large diffs are not rendered by default.

fetch/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-fetch",
33
"description": "HTTP adapter for js-data that uses the fetch API.",
4-
"version": "3.0.0-alpha.10",
4+
"version": "3.0.0-beta.2",
55
"homepage": "https://github.com/js-data/js-data-http",
66
"repository": {
77
"type": "git",
@@ -19,6 +19,6 @@
1919
"fetch"
2020
],
2121
"peerDependencies": {
22-
"js-data": "^3.0.0-alpha.20"
22+
"js-data": "^3.0.0-beta.1"
2323
}
2424
}

node/AUTHORS

-13
This file was deleted.

node/CONTRIBUTORS

-12
This file was deleted.

node/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2016 Jason Dobry
3+
Copyright (c) 2014-2016 js-data-http project authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

node/dist/js-data-http-node.js

+6-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/dist/js-data-http-node.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-http-node",
33
"description": "Node.js HTTP adapter for js-data.",
4-
"version": "3.0.0-alpha.10",
4+
"version": "3.0.0-beta.2",
55
"homepage": "https://github.com/js-data/js-data-http",
66
"repository": {
77
"type": "git",
@@ -19,10 +19,10 @@
1919
"node.js"
2020
],
2121
"dependencies": {
22-
"js-data-adapter": "^0.2.4"
22+
"js-data-adapter": "~0.3.0"
2323
},
2424
"peerDependencies": {
2525
"axios": "^0.9.1",
26-
"js-data": "^3.0.0-alpha.20"
26+
"js-data": "^3.0.0-beta.1"
2727
}
2828
}

0 commit comments

Comments
 (0)