Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-firebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:
cancel-in-progress: true

env:
FLUTTER_VERSION: "3.44.4"
FLUTTER_VERSION: "3.47.4"

jobs:
quality:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:
cancel-in-progress: true

env:
FLUTTER_VERSION: "3.44.4"
FLUTTER_VERSION: "3.47.4"

jobs:
quality:
Expand Down
11 changes: 10 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Conduct](CODE_OF_CONDUCT.md) (report unacceptable behavior to
### Prerequisites

- Basic Dart and Flutter knowledge
- A working Flutter SDK installation (stable channel, matching CI — currently Flutter **3.44.4** in workflows)
- A working Flutter SDK installation (stable channel, matching CI — currently Flutter **3.47.4** in workflows)
- Comfort with filesystem / HTTP caching concepts helps, but is not required to start
- For running or building the example on iOS/macOS, access to a Mac is required
- Android example builds require JDK 17
Expand Down Expand Up @@ -175,6 +175,15 @@ This repo uses the **forking workflow**: contributors work on their own fork and

Keep public API changes additive and non-breaking where possible; breaking changes need a clear major-version plan and README/CHANGELOG callouts.

### PR description style

Fill out the [PR template](.github/PULL_REQUEST_TEMPLATE.md), but keep each section tight:

- State what changed and why. Don't narrate your own editing process or explain why one obvious, in-scope edit was made alongside another (e.g. "also updated X because it references Y") — that's a given fact of the PR, not something a reviewer needs spelled out.
- Don't repeat file paths in prose; the diff already shows them.
- Answer yes/no questions with a plain yes/no; add a sentence only when the answer is non-obvious. "Does this introduce a breaking change?" is the exception: answer "No" alone when it's not, but when it is, give a short explanation of what breaks and for whom.
- Keep "Recommendations for testing" to what a reviewer needs to act on: what ran, what didn't and why, and what to check on CI — one or two sentences, not a full incident writeup.

### PR checklist

- [ ] Project builds for the changed package(s)
Expand Down
3 changes: 2 additions & 1 deletion flutter_cache_manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## [Unreleased]

* Fixes `JsonCacheInfoRepository` losing metadata when the app exits within 3 seconds of a cache change by writing through promptly with serialized, atomic file writes ([#491](https://github.com/Baseflow/flutter_cache_manager/issues/491))
* Modernizes GitHub Actions CI (combined quality job, pinned Flutter 3.44.4, Dependabot for actions)
* Modernizes GitHub Actions CI (combined quality job, pinned Flutter 3.47.4, Dependabot for actions)
* Adopts super parameters in `HttpExceptionWithStatus` to satisfy the stricter `use_super_parameters` lint in Dart 3.13 (no API or behavior change)
* Updates example Android project to AGP 9.0.1 / Gradle 9.1 / Kotlin 2.3.20
* Migrates example Android app to built-in Kotlin
* Pins example `path_provider_android` to 2.2.22 to avoid transitive `jni` / `jni_flutter` AGP 9 issues
Expand Down
3 changes: 1 addition & 2 deletions flutter_cache_manager/lib/src/web/web_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ class WebHelper {
}

class HttpExceptionWithStatus extends HttpException {
const HttpExceptionWithStatus(this.statusCode, String message, {Uri? uri})
: super(message, uri: uri);
const HttpExceptionWithStatus(this.statusCode, super.message, {super.uri});

final int statusCode;
}
9 changes: 2 additions & 7 deletions flutter_cache_manager/test/cache_manager_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:clock/clock.dart';
import 'package:file/memory.dart';
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'package:flutter_cache_manager/src/cache_store.dart';
import 'package:flutter_cache_manager/src/web/web_helper.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/mockito.dart';

Expand Down Expand Up @@ -623,10 +622,6 @@ void main() {
}

class TestCacheManager extends CacheManager with ImageCacheManager {
TestCacheManager(Config? config, {CacheStore? store, WebHelper? webHelper})
: super.custom(
config ?? createTestConfig(),
cacheStore: store,
webHelper: webHelper,
);
TestCacheManager(Config? config, {CacheStore? store, super.webHelper})
: super.custom(config ?? createTestConfig(), cacheStore: store);
}
2 changes: 1 addition & 1 deletion flutter_cache_manager_firebase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## [Unreleased]

* Modernizes GitHub Actions CI (combined quality job, pinned Flutter 3.44.4, Dependabot for actions)
* Modernizes GitHub Actions CI (combined quality job, pinned Flutter 3.47.4, Dependabot for actions)
* Adds a smoke unit test so CI `flutter test` no longer exits with “No tests were found”

## [2.1.3] - 2026-07-21
Expand Down