Skip to content

Commit c04905b

Browse files
author
GitLab CI
committed
chore: Release v0.7.2
Fix type cast errors in get_errors and get_network_requests
1 parent 0d10d17 commit c04905b

9 files changed

Lines changed: 34 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.7.2
2+
3+
**Fix type cast errors in get_errors and get_network_requests**
4+
5+
### Changes
6+
- TODO: Add your changes here
7+
8+
---
9+
10+
## 0.7.2
11+
12+
**Fix type cast errors in get_errors and get_network_requests**
13+
14+
### Bug Fixes
15+
- Fixed `get_errors` crashing with `type 'String' is not a subtype of type 'int?'` when passing limit/offset parameters
16+
- Fixed `get_network_requests` with same type cast issue for limit parameter
17+
- Used safe `int.tryParse` pattern instead of direct `as int?` cast for JSON-RPC params
18+
19+
---
20+
121
## 0.7.1
222

323
**Bug fixes, screenshot reliability, and new features**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Any MCP-compatible agent uses the same config format.
115115
```yaml
116116
# pubspec.yaml
117117
dependencies:
118-
flutter_skill: ^0.7.1
118+
flutter_skill: ^0.7.2
119119
```
120120
121121
```dart

homebrew/flutter-skill.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
class FlutterSkill < Formula
22
desc "MCP Server for Flutter app automation - AI Agent control for Flutter apps"
33
homepage "https://github.com/ai-dashboad/flutter-skill"
4-
version "0.7.1"
4+
version "0.7.2"
55
license "MIT"
66

77
# Platform-specific native binaries
88
on_macos do
99
on_arm do
10-
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.1/flutter-skill-macos-arm64"
10+
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.2/flutter-skill-macos-arm64"
1111
sha256 "PLACEHOLDER_ARM64_SHA256"
1212
end
1313
on_intel do
14-
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.1/flutter-skill-macos-x64"
14+
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.2/flutter-skill-macos-x64"
1515
sha256 "PLACEHOLDER_X64_SHA256"
1616
end
1717
end
1818

1919
on_linux do
20-
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.1/flutter-skill-linux-x64"
20+
url "https://github.com/ai-dashboad/flutter-skill/releases/download/v0.7.2/flutter-skill-linux-x64"
2121
sha256 "PLACEHOLDER_LINUX_SHA256"
2222
end
2323

@@ -48,7 +48,7 @@ def caveats
4848
Note: Your Flutter app needs to include the flutter_skill package.
4949
Add to pubspec.yaml:
5050
dependencies:
51-
flutter_skill: ^0.7.1
51+
flutter_skill: ^0.7.2
5252
EOS
5353
end
5454

intellij-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = "com.aidashboad"
8-
version = "0.7.1"
8+
version = "0.7.2"
99

1010
repositories {
1111
mavenCentral()

intellij-plugin/src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<idea-plugin>
22
<id>com.aidashboad.flutterskill</id>
33
<name>Flutter Skill - AI App Automation</name>
4-
<version>0.7.1</version>
4+
<version>0.7.2</version>
55
<vendor email="support@ai-dashboad.com" url="https://github.com/ai-dashboad/flutter-skill">ai-dashboad</vendor>
66

77
<description><![CDATA[

lib/src/cli/server.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2695,8 +2695,8 @@ Detailed diagnostic report with:
26952695
};
26962696
case 'get_errors':
26972697
final allErrors = await client!.getErrors();
2698-
final limit = args['limit'] as int? ?? 50;
2699-
final offset = args['offset'] as int? ?? 0;
2698+
final limit = int.tryParse('${args['limit'] ?? ''}') ?? 50;
2699+
final offset = int.tryParse('${args['offset'] ?? ''}') ?? 0;
27002700
final pagedErrors = allErrors.skip(offset).take(limit).toList();
27012701
return {
27022702
"errors": pagedErrors,
@@ -2737,7 +2737,7 @@ Detailed diagnostic report with:
27372737
};
27382738

27392739
case 'get_network_requests':
2740-
final limit = args['limit'] as int? ?? 20;
2740+
final limit = int.tryParse('${args['limit'] ?? ''}') ?? 20;
27412741
// Try VM Service HTTP profile first (captures all dart:io HTTP)
27422742
final profile = await client!.getHttpProfile();
27432743
if (profile.containsKey('requests') && !profile.containsKey('error')) {

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flutter-skill-mcp",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "MCP Server for Flutter app automation - Give your AI Agent eyes and hands inside your Flutter app",
55
"main": "index.js",
66
"bin": {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_skill
22
description: Give your AI Agent eyes and hands inside your Flutter app.
3-
version: 0.7.1
3+
version: 0.7.2
44
homepage: https://github.com/ai-dashboad/flutter-skill
55
repository: https://github.com/ai-dashboad/flutter-skill
66
# publish_to: 'none' # Remove this when ready to publish to pub.dev

vscode-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "flutter-skill",
33
"displayName": "Flutter Skill - AI App Automation",
44
"description": "Give your AI Agent eyes and hands inside your Flutter app. Bridge between AI coding assistants (Claude Code, Cursor, Windsurf) and running Flutter applications with 25+ MCP tools for UI inspection, gestures, screenshots, and more.",
5-
"version": "0.7.1",
5+
"version": "0.7.2",
66
"publisher": "ai-dashboad",
77
"icon": "images/icon.png",
88
"repository": {

0 commit comments

Comments
 (0)