Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Nov 14, 2016
1 parent 5a30185 commit ac0a0be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@ const obj = new GawkObject({ foo: 'bar' });
const arr = new GawkArray('a', 'b', 'c');
```

## Upgrading from v1
## Upgrading to v3

Gawk v2 has dropped all gawk data types except `GawkArray` and `GawkObject`.
Gawk v3 has dropped all gawk data types except `GawkArray` and `GawkObject`.

Since Gawk v2 uses ES6 Proxies, you no longer need to call `obj.get()`,
Since Gawk v3 uses ES6 Proxies, you no longer need to call `obj.get()`,
`obj.set()`, `obj.delete()`, etc.

Methods `obj.watch()`, `obj.merge()`, and `obj.mergeDeep()` have moved to
`gawk.watch()`, `gawk.merge()`, and `gawk.mergeDeep()`. The first argument must
be a gawk object.

Gawk v2 no longer hashes values. This means speed. Gawk v2 is about 19 times
faster than v1.
Gawk v3 no longer hashes values. This means speed. Gawk v3 is about 19 times
faster than v1 and v2.

## License

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gawk",
"version": "2.0.0",
"version": "3.0.0",
"description": "Observable JavaScript object model",
"main": "./dist/index.js",
"author": "Chris Barber <chris@cb1inc.com> (https://github.com/cb1kenobi)",
Expand Down

0 comments on commit ac0a0be

Please sign in to comment.