All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Each new version will be released following the new version of the surrealdb.wasm.
Changes to the project are tracked using build numbers behind the version number, denoted as increments such as +1, +2, and so on.
- Feat: Upgraded surrealdb.wasm to 1.0.1.
- Feat: Upgraded surrealdb.wasm to 1.0.0-beta.22.
- Feat: Upgraded surrealdb_js to 1.0.1+7.
- Feat: Removed
SurrealWasmMutex
class as the issue #87 is likely resolved by PR #107.
- Feat: Added
mutex
flag that default tofalse
(off) to methods of theSurrealWasmMutex
class to allow turn on/off the mutex locking mechanism.
- Feat: Added
SurrealWasmMutex
class to workaround the issue #87 of the surrealdb.wasm.
- Feat: Upgraded surrealdb.wasm to 1.0.0-beta.16.
- Feat: Upgraded surrealdb_js to 1.0.0-beta.20+4.
- Feat: Changed
SurrealWasm
fromextension
to regularclass
.
- Feat: Added
SurrealWasm.getInstance()
to simplify instantiation of theSurreal
class with theWasmEngine
.
- Feat: Upgraded surrealdb.wasm to 1.0.0-beta.14.
- Feat: Integrated with surrealdb_js 1.0.0-beta.14+3 that provide an unified API.
- Feat: Upgraded to surrealdb.wasm 0.9.0, the official release of wasm module of the surrealdb 1.3.0.
- Feat: API breaking changes:
db.select()
anddb.query()
that return single result, no longer requiring casting toList
and retrieval by.first
.
- Fix: Catched the error
Encountered a non-object value in array
within the library, preventing it from being exposed to the user. Reported the bug at surrealdb.wasm#56.
- Upgraded to the official surrealdb.wasm 0.8.0 released for surrealdb 1.2.0.
- API breaking changes:
- Previous:
db.use(ns: 'test', db: 'test');
- Current:
db.use(namespace: 'test', database: 'test');
- Previous:
- Upgraded to unofficial surrealdb.wasm released for surrealdb 1.1.1.
- Added transaction support.
- Implemented
set()
,unset()
,signup()
,signin()
,patch()
,version()
andhealth()
. - Migrated from
wasm-flate
tofflate
package.
- Initial release 🎉