From ac0a0becacc49f24bc814f262be5392730cd762d Mon Sep 17 00:00:00 2001 From: Chris Barber Date: Sun, 13 Nov 2016 19:11:59 -0600 Subject: [PATCH] v3.0.0 --- README.md | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dab64bf..c65bb64 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index a9e1cf4..46a6557 100644 --- a/package.json +++ b/package.json @@ -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 (https://github.com/cb1kenobi)",