Skip to content

Commit 7709068

Browse files
Scott LottScott Lott
authored andcommitted
1.0.0 release 8
1 parent 3f58f2f commit 7709068

26 files changed

+712
-1046
lines changed

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Read: ~100 records/ms
99
- Write SQLite plugin.
1010
- Finish integration tests.
1111

12-
## [1.0.0] 12-7-2017
13-
MANY BREAKING CHANGES, PLEASE READ THE MIGRATION GUIDE
12+
## [1.0.0] 12-10-2017
13+
MANY BREAKING CHANGES, PLEASE READ THE [MIGRATION GUIDE](https://docs.nanosql.io/fine-print/migration)
1414
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.
1515
*****
1616
- Complete rewrite of the database engine, ORM system, and history system.
@@ -22,13 +22,17 @@ This build is intended to stabilize the library, increase performance and make i
2222
- All database adapters now use a sorted B-Tree index to gaurantee consistency.
2323
- You can use instance tables with nSQL queries. ex: nSQL([{name: "Bill"}, {name: "Bob"}]).query("select")....
2424
- History is no longer enabled by default.
25-
- Added WebSQL support. Safari in iOS and macOS will use WebSQL by default.
25+
- Added WebSQL support. Safari in iOS/macOS will use WebSQL by default.
2626
- Added support for running IndexedDB in a webworker.
2727
- 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.
2828
- .where() statements now accept a function, much like filter: `nSQL("table").query("select").where(row => row.age > 20).exec()`
2929
- Tables without a primary key are no longer supported, unless it's an instance table.
3030
- Added `loadCSV` method to automate importing CSVs into the database.
31-
31+
- You can now get the version of NanoSQL being used with `nSQL().version`.
32+
- Database versions will now be tracked to make automatic migration changes in the future.
33+
- `updateORM` query has been removed entirely.
34+
- ORM updates now happen along side `upsert`, `delete` and `drop` queries.
35+
- ORM updates are more consistent and way more performant.
3236

3337
## [0.9.3] 10-15-2017
3438
- Added changed rows property to database events.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ It's written to take advantage of trendy buzzwords like "isomorphic", "immutable
1717

1818
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.
1919

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

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

dist/nano-sql.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nano-sql.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)