Skip to content

Commit

Permalink
Prepare v2.9.3 (#189)
Browse files Browse the repository at this point in the history
* Prepare v2.9.3

* Corrected CDN path
  • Loading branch information
danieltodonnell authored Oct 24, 2019
1 parent e27886a commit 40c322f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
- Add TimeAdd, TimeSubtract, TimeDiff
- Add SelectAsIndex

## 2.9.2 (current)
## 2.9.3 (current)
- Replaced `isomorphic-unfetch` with [`cross-fetch`](https://github.com/lquixada/cross-fetch)
- No longer requiring http/s libraries in browser environments

## 2.9.2
- Bug fix related to `require('url')` in browsers

## 2.9.1
Expand All @@ -14,6 +18,7 @@
- Dynamic require removed (bug fix)
- Replaced `superagent` with [`isomorphic-unfetch`](https://github.com/developit/unfetch/tree/master/packages/isomorphic-unfetch)
- Typescript definitions for date and time related functions
- Added support for `cursor` option with `PageHelper`

## 2.8.1
- Keep alive connections enabled on NodeJS environments
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,24 @@ This Driver supports and is tested on:

`npm install --save faunadb`

See [faunadb on NPM](https://npmjs.com/package/faunadb) for more information.

#### Browsers
or

The browser release can be found in the [fauna/faunadb-js-release](https://github.com/fauna/faunadb-js-release) repository.
`yarn add faunadb`

This release can be installed via bower:
See [faunadb on NPM](https://npmjs.com/package/faunadb) for more information.

`bower install faunadb`
#### Browsers

Or via CDN:
Via CDN:

```html
<script src="//cdn.jsdelivr.net/gh/fauna/faunadb-js-release@2.9.2/faunadb.js"></script>
<script src="//cdn.jsdelivr.net/npm/faunadb@2.9.3/dist/faunadb.js"></script>
```

The minified version of the driver can also be used via CDN:

```html
<script src="//cdn.jsdelivr.net/gh/fauna/faunadb-js-release@2.9.2/faunadb-min.js"></script>
<script src="//cdn.jsdelivr.net/npm/faunadb@2.9.3/dist/faunadb-min.js"></script>
```

### Use
Expand Down Expand Up @@ -137,7 +135,7 @@ more information on the pagination helper.

## Client Development

Run `npm install` to install dependencies.
Run `npm install` or `yarn` to install dependencies.

### Code

Expand Down
9 changes: 6 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faunadb",
"version": "2.9.2",
"version": "2.9.3",
"description": "FaunaDB Javascript driver for Node.JS and Browsers",
"homepage": "https://fauna.com",
"repository": "fauna/faunadb-js",
Expand All @@ -16,7 +16,8 @@
},
"files": [
"index.d.ts",
"src/"
"src/",
"dist/"
],
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -63,7 +64,6 @@
"nyc": "^14.1.1",
"terser": "^4.3.9",
"typescript": "^3.0.1",
"uglify-js": "^3.1.10",
"watchify": "^3.11.1"
}
}

0 comments on commit 40c322f

Please sign in to comment.