Skip to content

Commit 1b5363c

Browse files
authored
release(celest): v1.0.6 (#415)
- refactor: Move `connect` method to `CelestDatabase` class - fix: Analyzer plugin cannot be part of workspace - chore: Bump Dart SDK constraint to `^3.7.0` - chore: Reformat with Dart 3.7
1 parent 368c0ed commit 1b5363c

File tree

9 files changed

+324
-384
lines changed

9 files changed

+324
-384
lines changed

.github/workflows/celest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: dart analyze --fatal-infos --fatal-warnings
4949
- name: Format
5050
working-directory: packages/celest
51-
run: dart format --language-version=latest --set-exit-if-changed .
51+
run: dart format --set-exit-if-changed .
5252
- name: Test
5353
working-directory: packages/celest
5454
run: dart test

packages/celest/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
## 1.0.6-wip
1+
## 1.0.6
22

33
- refactor: Move `connect` method to `CelestDatabase` class
44
- fix: Analyzer plugin cannot be part of workspace
5+
- chore: Bump Dart SDK constraint to `^3.7.0`
6+
- chore: Reformat with Dart 3.7
57

68
## 1.0.5
79

packages/celest/example/celest/client/lib/example_client.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ enum CelestEnvironment {
2525
local;
2626

2727
Uri get baseUri => switch (this) {
28-
local =>
29-
_$celest.kIsWeb || !Platform.isAndroid
30-
? Uri.parse('http://localhost:51506')
31-
: Uri.parse('http://10.0.2.2:51506'),
32-
};
28+
local => _$celest.kIsWeb || !Platform.isAndroid
29+
? Uri.parse('http://localhost:51506')
30+
: Uri.parse('http://10.0.2.2:51506'),
31+
};
3332
}
3433

3534
class Celest with _$celest.CelestBase {

packages/celest/example/celest/client/lib/src/functions.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ class CelestFunctionsGreeting {
4141
StackTrace.fromString(stackTraceValue),
4242
),
4343
[final errorDetails as Map<String, Object?>, ...] => (
44-
errorDetails['@type'],
45-
errorDetails['value'],
46-
StackTrace.empty,
47-
),
44+
errorDetails['@type'],
45+
errorDetails['value'],
46+
StackTrace.empty,
47+
),
4848
};
4949

5050
switch (errorType) {

0 commit comments

Comments
 (0)