Skip to content

Commit

Permalink
feat: ready for 1.0.0-beta.22+14 released.
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Oct 1, 2024
1 parent 4597aa8 commit 0a8ca84
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 254 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Changes to the project are tracked using build numbers behind the version number

## [Unreleased]

## [1.0.0-beta.22+14] - 2024-10-01

- 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](https://github.com/surrealdb/surrealdb.wasm/issues/87) is likely resolved by PR [#107](https://github.com/surrealdb/surrealdb.wasm/pull/107).

## [1.0.0-beta.16+13] - 2024-08-26

- Feat: Added `mutex` flag that default to `false` (off) to methods of the `SurrealWasmMutex` class to allow turn on/off the mutex locking mechanism.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Lastly, add the following code before the `</head>` tag in the `web/index.html`
```html
<script type="module">
import { Surreal, StringRecordId } from "/assets/packages/surrealdb_js/assets/js/index.bundled.mjs";
import { surrealdbWasmEngines } from "/assets/packages/surrealdb_wasm/assets/wasm/surrealdb/esm.bundled.js";
import { surrealdbWasmEngines } from "/assets/packages/surrealdb_wasm/assets/wasm/surrealdb/index.bundled.js";
// expose the type to the global scope
globalThis.SurrealJS = Surreal;
Expand Down Expand Up @@ -98,7 +98,7 @@ For more code examples, kindly refer to the [integration test](https://github.co
```dart
final result = await db.transaction((txn) async {
txn.query('DEFINE TABLE test SCHEMAFULL;');
txn.query('DEFINE FIELD id ON test TYPE record;');
txn.query(r'DEFINE FIELD id ON test VALUE <record>($value) ASSERT $value != NONE;');
txn.query('DEFINE FIELD name ON test TYPE string;');
txn.query(
r'CREATE test SET name = $name;',
Expand Down
4 changes: 3 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- Feat: Added `mutex` flag that default to `false` (off) to methods of the `SurrealWasmMutex` class to allow turn on/off the mutex locking mechanism.
- 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](https://github.com/surrealdb/surrealdb.wasm/issues/87) is likely resolved by PR [#107](https://github.com/surrealdb/surrealdb.wasm/pull/107).
250 changes: 0 additions & 250 deletions lib/src/surreal_wasm_mutex.dart

This file was deleted.

1 change: 0 additions & 1 deletion lib/surrealdb_wasm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ library surrealdb_wasm;

export 'src/js.dart';
export 'src/surreal_wasm.dart';
export 'src/surreal_wasm_mutex.dart';

0 comments on commit 0a8ca84

Please sign in to comment.