Skip to content

Commit

Permalink
1.0.0 release 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Lott authored and Scott Lott committed Dec 11, 2017
1 parent 3f58f2f commit 7709068
Show file tree
Hide file tree
Showing 26 changed files with 712 additions and 1,046 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Read: ~100 records/ms
- Write SQLite plugin.
- Finish integration tests.

## [1.0.0] 12-7-2017
MANY BREAKING CHANGES, PLEASE READ THE MIGRATION GUIDE
## [1.0.0] 12-10-2017
MANY BREAKING CHANGES, PLEASE READ THE [MIGRATION GUIDE](https://docs.nanosql.io/fine-print/migration)
This build is intended to stabilize the library, increase performance and make it easy to extend in the future. The API for v1.X.X releases will be very stable moving forward.
*****
- Complete rewrite of the database engine, ORM system, and history system.
Expand All @@ -22,13 +22,17 @@ This build is intended to stabilize the library, increase performance and make i
- All database adapters now use a sorted B-Tree index to gaurantee consistency.
- You can use instance tables with nSQL queries. ex: nSQL([{name: "Bill"}, {name: "Bob"}]).query("select")....
- History is no longer enabled by default.
- Added WebSQL support. Safari in iOS and macOS will use WebSQL by default.
- Added WebSQL support. Safari in iOS/macOS will use WebSQL by default.
- Added support for running IndexedDB in a webworker.
- Added new INTERSECT and NOT INTERSECT .where() comparators. To check if any array values intersect with any values in an array of the database column.
- .where() statements now accept a function, much like filter: `nSQL("table").query("select").where(row => row.age > 20).exec()`
- Tables without a primary key are no longer supported, unless it's an instance table.
- Added `loadCSV` method to automate importing CSVs into the database.

- You can now get the version of NanoSQL being used with `nSQL().version`.
- Database versions will now be tracked to make automatic migration changes in the future.
- `updateORM` query has been removed entirely.
- ORM updates now happen along side `upsert`, `delete` and `drop` queries.
- ORM updates are more consistent and way more performant.

## [0.9.3] 10-15-2017
- Added changed rows property to database events.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ It's written to take advantage of trendy buzzwords like "isomorphic", "immutable

Persistence supports `Local Storage`, `Indexed DB`, `Indexed DB in a Web Worker`, and `WebSQL` in the browser, and `Level DB` in NodeJS *with the same API*. The storage engine is automatically selected based on the browser/environment, or can be manually selected.

* [Todo Example](https://some-sql.com/react-todo/)
* [Draw Example](https://some-sql.com/react-draw/)
* [Todo Example](https://nanosql.io/react-todo/)
* [Draw Example](https://nanosql.io/react-draw/)

[Documentation](https://docs.nanosql.io/)

Expand Down
2 changes: 1 addition & 1 deletion dist/nano-sql.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/nano-sql.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 7709068

Please sign in to comment.