Skip to content

Commit

Permalink
doc: updated doc and configs. Ready for 0.8.0+5 released.
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Mar 7, 2024
1 parent 808d7c3 commit aad99c7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@ Changes to the project are tracked using build numbers behind the version number

## [Unreleased]


## [0.8.0+5] - 2024-03-07

- Upgraded to 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');`

## [0.7.0+4] - 2024-02-01

- Updated unofficial surrealdb.wasm released for surrealdb v1.1.1.
- Upgraded to unofficial surrealdb.wasm released for surrealdb 1.1.1.

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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ flutter pub get
final db = Surreal();
await db.connect('indxdb://surreal');
await db.use(ns: 'test', db: 'test');
await db.use(namespace: 'test', database: 'test');
final created = db.create('person',
{
Expand Down
5 changes: 4 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
- Updated unofficial surrealdb.wasm released for surrealdb v1.1.1.
- Upgraded to 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');`
5 changes: 2 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: surrealdb_wasm
description: Flutter SurrealDB WebAssembly(WASM) package
version: 0.7.0+3
version: 0.8.0
repository: https://github.com/limcheekin/surrealdb_wasm

environment:
Expand All @@ -10,14 +10,13 @@ environment:
dependencies:
flutter:
sdk: flutter
js: ^0.7.0
js: ^0.7.1

dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
mocktail: ^1.0.0
very_good_analysis: ^5.1.0

flutter:
Expand Down
3 changes: 1 addition & 2 deletions update_version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
VERSION=$(grep 'version:' pubspec.yaml | cut -d ' ' -f 2)
echo "Current version: $VERSION"
BASE_VERSION=$(echo $VERSION | cut -d'+' -f1)
NEW_VERSION="$BASE_VERSION+$GITHUB_RUN_NUMBER"
NEW_VERSION="$VERSION+$GITHUB_RUN_NUMBER"
echo "New version: $NEW_VERSION"
sed -i "s/version: $VERSION/version: $NEW_VERSION/g" pubspec.yaml
cat pubspec.yaml

0 comments on commit aad99c7

Please sign in to comment.