Skip to content

Commit 368c0ed

Browse files
authored
release(cli): v1.0.13 (#414)
- feat: Serve DB studio when running locally - feat: Add ARM64 Docker images - feat: Migrate databases to Turso - fix: Don't throw if `analysis_options.yaml` is missing - chore: Update codegen for database changes - chore: Bump Dart SDK constraint to `^3.7.0` - chore: Reformat with Dart 3.7
1 parent 30224db commit 368c0ed

File tree

482 files changed

+251102
-260456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

482 files changed

+251102
-260456
lines changed

.github/workflows/celest_cli.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- macos-latest-xlarge
3131
- windows-large
3232
runs-on: ${{ matrix.os }}
33-
timeout-minutes: 30 # Windows is really slow
33+
timeout-minutes: 30
3434
steps:
3535
- name: Git Checkout
3636
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2

apps/cli/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
## NEXT
1+
## 1.0.13
22

33
- feat: Serve DB studio when running locally
4+
- feat: Add ARM64 Docker images
5+
- feat: Migrate databases to Turso
46
- fix: Don't throw if `analysis_options.yaml` is missing
57
- chore: Update codegen for database changes
8+
- chore: Bump Dart SDK constraint to `^3.7.0`
9+
- chore: Reformat with Dart 3.7
610

711
## 1.0.12
812

apps/cli/bin/celest.dart

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,26 @@ import 'package:celest_cli/src/commands/project/status_command.dart';
99
import 'package:celest_cli/src/performance/sentry_perf.dart';
1010

1111
void main(List<String> args) async {
12-
final cli = Cli(
13-
'celest',
14-
'A command-line interface for Celest, the Flutter cloud platform.',
15-
version: packageVersion,
16-
sentryConfig: SentryConfig(
17-
dsn:
18-
'https://aa63419b83419820da1454809c0025db@o4506345201532928.ingest.us.sentry.io/4506496721158144',
19-
),
20-
)
21-
..addCommand(InitCommand())
22-
..addCommand(StartCommand())
23-
..addCommand(BuildCommand())
24-
..addCommand(AnalysisServerCommand())
25-
..addCommand(UpgradeCommand())
26-
..addCommand(UninstallCommand())
27-
..addCommand(PrecacheCommand())
28-
..addCommand(DeployCommand())
29-
..addCommand(AuthCommand())
30-
..addCommand(StatusCommand());
12+
final cli =
13+
Cli(
14+
'celest',
15+
'A command-line interface for Celest, the Flutter cloud platform.',
16+
version: packageVersion,
17+
sentryConfig: SentryConfig(
18+
dsn:
19+
'https://aa63419b83419820da1454809c0025db@o4506345201532928.ingest.us.sentry.io/4506496721158144',
20+
),
21+
)
22+
..addCommand(InitCommand())
23+
..addCommand(StartCommand())
24+
..addCommand(BuildCommand())
25+
..addCommand(AnalysisServerCommand())
26+
..addCommand(UpgradeCommand())
27+
..addCommand(UninstallCommand())
28+
..addCommand(PrecacheCommand())
29+
..addCommand(DeployCommand())
30+
..addCommand(AuthCommand())
31+
..addCommand(StatusCommand());
3132

3233
// Cloud API commands
3334
cli

apps/cli/fixtures/standalone/api/client/lib/api_client.dart

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,12 @@ enum CelestEnvironment {
109109
production;
110110

111111
Uri get baseUri => switch (this) {
112-
local => _$celest.kIsWeb || !Platform.isAndroid
113-
? Uri.parse('http://localhost:7777')
114-
: Uri.parse('http://10.0.2.2:7777'),
115-
production => Uri.parse('https://example.celest.run'),
116-
};
112+
local =>
113+
_$celest.kIsWeb || !Platform.isAndroid
114+
? Uri.parse('http://localhost:7777')
115+
: Uri.parse('http://10.0.2.2:7777'),
116+
production => Uri.parse('https://example.celest.run'),
117+
};
117118
}
118119

119120
class Celest with _$celest.CelestBase {
@@ -125,8 +126,9 @@ class Celest with _$celest.CelestBase {
125126
_$native_storage_native_storage.NativeStorage(scope: 'celest');
126127

127128
@override
128-
late _$http_http.Client httpClient =
129-
_$celest.CelestHttpClient(secureStorage: nativeStorage.secure);
129+
late _$http_http.Client httpClient = _$celest.CelestHttpClient(
130+
secureStorage: nativeStorage.secure,
131+
);
130132

131133
late Uri _baseUri;
132134

@@ -135,7 +137,8 @@ class Celest with _$celest.CelestBase {
135137
T _checkInitialized<T>(T Function() value) {
136138
if (!_initialized) {
137139
throw StateError(
138-
'Celest has not been initialized. Make sure to call `celest.init()` at the start of your `main` method.');
140+
'Celest has not been initialized. Make sure to call `celest.init()` at the start of your `main` method.',
141+
);
139142
}
140143
return value();
141144
}

0 commit comments

Comments
 (0)