Skip to content

Commit aad99c7

Browse files
committed
doc: updated doc and configs. Ready for 0.8.0+5 released.
1 parent 808d7c3 commit aad99c7

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ Changes to the project are tracked using build numbers behind the version number
1111

1212
## [Unreleased]
1313

14+
15+
## [0.8.0+5] - 2024-03-07
16+
17+
- Upgraded to official surrealdb.wasm 0.8.0 released for surrealdb 1.2.0.
18+
- API breaking changes:
19+
- Previous: `db.use(ns: 'test', db: 'test');`
20+
- Current: `db.use(namespace: 'test', database: 'test');`
21+
1422
## [0.7.0+4] - 2024-02-01
1523

16-
- Updated unofficial surrealdb.wasm released for surrealdb v1.1.1.
24+
- Upgraded to unofficial surrealdb.wasm released for surrealdb 1.1.1.
1725

1826
## [0.7.0+3] - 2023-12-12
1927

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ flutter pub get
6666
final db = Surreal();
6767
6868
await db.connect('indxdb://surreal');
69-
await db.use(ns: 'test', db: 'test');
69+
await db.use(namespace: 'test', database: 'test');
7070
7171
final created = db.create('person',
7272
{

RELEASE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
- Updated unofficial surrealdb.wasm released for surrealdb v1.1.1.
1+
- Upgraded to official surrealdb.wasm 0.8.0 released for surrealdb 1.2.0.
2+
- API breaking changes:
3+
- Previous: `db.use(ns: 'test', db: 'test');`
4+
- Current: `db.use(namespace: 'test', database: 'test');`

pubspec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: surrealdb_wasm
22
description: Flutter SurrealDB WebAssembly(WASM) package
3-
version: 0.7.0+3
3+
version: 0.8.0
44
repository: https://github.com/limcheekin/surrealdb_wasm
55

66
environment:
@@ -10,14 +10,13 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
js: ^0.7.0
13+
js: ^0.7.1
1414

1515
dev_dependencies:
1616
flutter_test:
1717
sdk: flutter
1818
integration_test:
1919
sdk: flutter
20-
mocktail: ^1.0.0
2120
very_good_analysis: ^5.1.0
2221

2322
flutter:

update_version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
VERSION=$(grep 'version:' pubspec.yaml | cut -d ' ' -f 2)
22
echo "Current version: $VERSION"
3-
BASE_VERSION=$(echo $VERSION | cut -d'+' -f1)
4-
NEW_VERSION="$BASE_VERSION+$GITHUB_RUN_NUMBER"
3+
NEW_VERSION="$VERSION+$GITHUB_RUN_NUMBER"
54
echo "New version: $NEW_VERSION"
65
sed -i "s/version: $VERSION/version: $NEW_VERSION/g" pubspec.yaml
76
cat pubspec.yaml

0 commit comments

Comments
 (0)