Skip to content

Commit 0cc62fe

Browse files
authored
Merge branch 'master' into Fix-arrays-being-set-as-empty-when-calling-clearUnsavedChanges()-1
2 parents 2e490c4 + c555bbe commit 0cc62fe

File tree

122 files changed

+13442
-3619
lines changed

Some content is hidden

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

122 files changed

+13442
-3619
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
name: "\U0001F4E6 Version Conflict"
3+
about: Report a version conflict with Parse SDK dependencies
4+
title: '[Version Conflict] '
5+
labels: 'dependencies, version-conflict'
6+
assignees: ''
7+
---
8+
9+
## Version Conflict Description
10+
11+
<!-- Describe the version conflict you're experiencing -->
12+
13+
## Environment
14+
15+
**Parse SDK Version:**
16+
- Dart SDK: [e.g., 8.0.2]
17+
- Flutter SDK (if applicable): [e.g., 9.0.0]
18+
19+
**Framework Version:**
20+
- Dart: [e.g., 3.2.6]
21+
- Flutter (if applicable): [e.g., 3.16.9]
22+
23+
**Platform:**
24+
- [ ] Dart
25+
- [ ] Flutter (Web)
26+
- [ ] Flutter (Mobile - iOS)
27+
- [ ] Flutter (Mobile - Android)
28+
- [ ] Flutter (Desktop - macOS)
29+
- [ ] Flutter (Desktop - Windows)
30+
- [ ] Flutter (Desktop - Linux)
31+
32+
## Conflict Details
33+
34+
**Conflicting Package:**
35+
[e.g., dio, http, sembast]
36+
37+
**Required Version:**
38+
[e.g., Package X requires dio ^6.0.0 but Parse SDK requires ^5.0.0]
39+
40+
**Error Message:**
41+
```
42+
Paste the full error message from `dart pub get` or `flutter pub get`
43+
```
44+
45+
## Your pubspec.yaml
46+
47+
```yaml
48+
# Paste relevant sections of your pubspec.yaml
49+
dependencies:
50+
parse_server_sdk: ^8.0.0
51+
# ... other dependencies
52+
```
53+
54+
## Dependency Tree
55+
56+
```bash
57+
# Run: dart pub deps or flutter pub deps
58+
# Paste the output here
59+
```
60+
61+
## Steps Tried
62+
63+
<!-- Check all that apply -->
64+
65+
- [ ] Updated to latest Parse SDK version
66+
- [ ] Ran `dart pub outdated` / `flutter pub outdated`
67+
- [ ] Checked [MIGRATION_GUIDES.md](https://github.com/parse-community/Parse-SDK-Flutter/blob/master/MIGRATION_GUIDES.md)
68+
- [ ] Tried `dependency_overrides` (temporary workaround)
69+
- [ ] Searched existing issues
70+
71+
## Workaround
72+
73+
<!-- If you found a workaround, share it here to help others -->
74+
75+
## Additional Context
76+
77+
<!-- Add any other context, screenshots, or information -->

.github/dependabot.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
updates:
3+
# Dart package dependencies
4+
- package-ecosystem: "pub"
5+
directory: "/packages/dart"
6+
schedule:
7+
interval: "daily"
8+
open-pull-requests-limit: 10
9+
commit-message:
10+
prefix: "feat"
11+
12+
# Flutter package dependencies
13+
- package-ecosystem: "pub"
14+
directory: "/packages/flutter"
15+
schedule:
16+
interval: "daily"
17+
open-pull-requests-limit: 10
18+
commit-message:
19+
prefix: "feat"
20+
21+
# GitHub Actions
22+
- package-ecosystem: "github-actions"
23+
directory: "/"
24+
schedule:
25+
interval: "weekly"
26+
open-pull-requests-limit: 5
27+
commit-message:
28+
prefix: "refactor"

.github/workflows/ci.yml

Lines changed: 57 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,35 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17+
# Version Support Policy: 6 months after next significant version release
18+
# See VERSIONING_POLICY.md for full details
19+
#
1720
# Dart framework may contain breaking changes in minor version releases, not following semver.
1821
# The latest Dart framework (below) is tested on all architectures (Ubuntu, macOS, Windows).
19-
- name: Dart 3.5, Ubuntu
22+
- name: Dart 3.10, Ubuntu
2023
os: ubuntu-latest
21-
sdk: 3.5.3
22-
- name: Dart 3.5, macOS
24+
sdk: 3.10.0
25+
- name: Dart 3.10, macOS
2326
os: macos-latest
24-
sdk: 3.5.3
25-
- name: Dart 3.5, Windows
27+
sdk: 3.10.0
28+
- name: Dart 3.10, Windows
2629
os: windows-latest
27-
sdk: 3.5.3
28-
# Older Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage.
29-
- name: Dart 3.4
30-
os: ubuntu-latest
31-
sdk: 3.4.4
32-
- name: Dart 3.3
33-
os: ubuntu-latest
34-
sdk: 3.3.4
35-
- name: Dart 3.2
36-
os: ubuntu-latest
37-
sdk: 3.2.6
30+
sdk: 3.10.0
31+
# Beta channel helps identify breaking changes early
3832
- name: Dart beta
3933
os: ubuntu-latest
4034
sdk: beta
4135
fail-fast: false
4236
name: Test ${{ matrix.name }}
4337
steps:
4438
- name: Checkout code
45-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
40+
- name: Configure git for line endings (Windows)
41+
if: matrix.os == 'windows-latest'
42+
run: |
43+
git config core.autocrlf false
44+
git rm --cached -r .
45+
git reset --hard
4646
- name: Setup dart
4747
uses: dart-lang/setup-dart@v1.5.0
4848
with:
@@ -67,59 +67,51 @@ jobs:
6767
dart pub global activate coverage
6868
dart pub global run coverage:format_coverage -i coverage/test -o coverage/lcov.info --lcov --packages=.dart_tool/package_config.json --report-on=lib
6969
- name: Upload code coverage
70-
uses: codecov/codecov-action@v4
70+
uses: codecov/codecov-action@v5
7171
# Needs to be adapted to collect the coverage at all platforms if platform specific code is added.
7272
if: ${{ always() && matrix.os == 'ubuntu-latest' }}
7373
with:
7474
files: packages/dart/coverage/lcov.info
75-
fail_ci_if_error: true
75+
fail_ci_if_error: false
7676
token: ${{ secrets.CODECOV_TOKEN }}
7777
check-flutter:
7878
runs-on: ${{ matrix.os }}
7979
strategy:
8080
matrix:
8181
include:
82+
# Version Support Policy: 6 months after next significant version release
83+
# See VERSIONING_POLICY.md for full details
84+
#
8285
# Flutter framework may contain breaking changes in minor version releases, not following semver.
8386
# The latest Flutter framework (below) is tested on all architectures (Ubuntu, macOS, Windows).
84-
- name: Flutter 3.24, Ubuntu
87+
- name: Flutter 3.38, Ubuntu
8588
os: ubuntu-latest
86-
sdk: 3.24.3
87-
- name: Flutter 3.24, macOS
89+
sdk: 3.38.1
90+
- name: Flutter 3.38, macOS
8891
os: macos-latest
89-
sdk: 3.24.3
90-
- name: Flutter 3.24, Windows
92+
sdk: 3.38.1
93+
- name: Flutter 3.38, Windows
9194
os: windows-latest
92-
sdk: 3.24.3
93-
# Older Flutter framework versions (below) are only tested with Ubuntu to reduce CI resource usage.
94-
- name: Flutter 3.22
95-
os: ubuntu-latest
96-
sdk: 3.22.3
97-
- name: Flutter 3.19
98-
os: ubuntu-latest
99-
sdk: 3.19.6
100-
- name: Flutter 3.16
101-
os: ubuntu-latest
102-
sdk: 3.16.9
95+
sdk: 3.38.1
96+
# Beta channel helps identify breaking changes early
10397
- name: Flutter beta
10498
os: ubuntu-latest
10599
sdk: beta
106100
fail-fast: false
107101
name: Test ${{ matrix.name }}
108102
steps:
109103
- name: Checkout code
110-
uses: actions/checkout@v4
104+
uses: actions/checkout@v6
111105
- name: Setup flutter (beta)
112106
if: ${{ matrix.sdk == 'beta' }}
113107
uses: subosito/flutter-action@v2
114108
with:
115109
channel: "beta"
116-
cache: true
117110
- name: Setup flutter
118111
if: ${{ matrix.sdk != 'beta' }}
119112
uses: subosito/flutter-action@v2
120113
with:
121114
flutter-version: ${{ matrix.sdk }}
122-
cache: true
123115
- name: Install dependencies on Ubuntu and MacOS
124116
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
125117
run: (cd packages/flutter && flutter pub get)
@@ -142,13 +134,38 @@ jobs:
142134
escapedPath="$(echo `pwd` | sed 's/\//\\\//g')"
143135
sed "s/^SF:lib/SF:$escapedPath\/lib/g" coverage/lcov.info > coverage/lcov-full.info
144136
- name: Upload code coverage
145-
uses: codecov/codecov-action@v4
137+
uses: codecov/codecov-action@v5
146138
# Needs to be adapted to collect the coverage at all platforms if platform specific code is added.
147139
if: ${{ always() && matrix.os == 'ubuntu-latest' }}
148140
with:
149141
files: packages/flutter/coverage/lcov-full.info
150-
fail_ci_if_error: true
142+
fail_ci_if_error: false
151143
token: ${{ secrets.CODECOV_TOKEN }}
144+
auto-release-dry-run:
145+
runs-on: ubuntu-latest
146+
timeout-minutes: 10
147+
name: Auto-Release Dry Run
148+
steps:
149+
- name: Checkout code
150+
uses: actions/checkout@v6
151+
with:
152+
fetch-depth: 0 # Required for semantic-release to analyze commit history
153+
- name: Setup Node.js
154+
uses: actions/setup-node@v6
155+
with:
156+
node-version: 24
157+
- name: Install dependencies
158+
run: npm ci
159+
- name: Dry run semantic-release for dart package
160+
env:
161+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
162+
PKG_NAME: dart
163+
run: npx semantic-release --dry-run
164+
- name: Dry run semantic-release for flutter package
165+
env:
166+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
167+
PKG_NAME: flutter
168+
run: npx semantic-release --dry-run
152169
concurrency:
153170
group: ${{ github.workflow }}-${{ github.ref }}
154171
cancel-in-progress: true

0 commit comments

Comments
 (0)