Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from rrousselGit:master #29

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
495a4ca
Format
rrousselGit Dec 14, 2022
63cf7a3
Update CI (#793)
rrousselGit Dec 14, 2022
f248555
docs: #788 Bangle translation not found on pub.dev (#791)
LucasXu0 Dec 14, 2022
cd5977d
6.0.5
rrousselGit Dec 14, 2022
46a2799
Revert 3.0.0 constraint change
rrousselGit Dec 14, 2022
ade6982
Use strict analysis modes instead of deprecated 'strong-mode' options…
srawlins Dec 15, 2022
ec73120
Explicitly provide type parameters. (#805)
eyebrowsoffire Feb 19, 2023
a60a35c
Fix CI (#810)
rrousselGit Mar 13, 2023
6fcb5f5
Update templates
rrousselGit May 10, 2023
710021c
Merge branch 'master' of https://github.com/rrousselGit/provider
rrousselGit May 10, 2023
38d966e
Remove mixed mode tests (#816)
rrousselGit May 11, 2023
61bc1df
Typo
rrousselGit May 12, 2023
e7b95b1
Add add-to-project workflow
rrousselGit May 24, 2023
54af320
Turkish README.md Add (#822)
selimkosgen Jun 27, 2023
6ca32e2
[RE] - TR Language fixes (#824)
selimkosgen Jul 6, 2023
9f66261
Fix typos (#827)
HACCP92 Jul 12, 2023
50e0158
Update zh-CN/README.md (#836)
Guo8a Sep 12, 2023
a689f40
Create DevTools extension for `package:provider` (#832)
kenzieschmoll Sep 24, 2023
352c65e
6.1.0-dev.0
rrousselGit Sep 24, 2023
25a7e18
6.1.0-dev.1
rrousselGit Sep 24, 2023
e46753e
Enable devtool
rrousselGit Sep 24, 2023
7200ac7
Move .pubignore inside the extension folder
rrousselGit Sep 27, 2023
6ccb173
Fix broken link in README (#845)
incendial Nov 5, 2023
a6e7890
Release devtool
rrousselGit Nov 8, 2023
269c35d
Merge branch 'master' of https://github.com/rrousselGit/provider
rrousselGit Nov 8, 2023
837aeeb
Fix missing devtool assets
rrousselGit Nov 10, 2023
409c460
6.1.1
rrousselGit Nov 10, 2023
ad975c0
Cannot -> Should not
rrousselGit Nov 26, 2023
d696f6e
docs: change selector example from tuple to records (#855)
GameOnAnil Jan 13, 2024
229124a
Enable leak tracking (#856)
rrousselGit Jan 16, 2024
c4b6c2b
Skip flutter leaks
rrousselGit Feb 28, 2024
650e6a5
Fix no rebuild when listening to context of Selector.builder (#863)
spkersten Feb 28, 2024
06865ec
provider : 6.1.1 -> 6.1.2
rrousselGit Feb 28, 2024
c20fb6f
Lints
rrousselGit Feb 28, 2024
9403cf6
Deprecated notice
rrousselGit Feb 28, 2024
6474578
Fix typos in [watch] method (#874)
choi88andys Apr 22, 2024
3a81a91
Added translated README files in Italian to enhance accessibility for…
ilCatta Oct 2, 2024
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: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Bug report
about: There is a problem in how provider behaves
title: ""
labels: bug, needs triage
assignees:
- rrousselGit
---

**Describe the bug**
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: I have a problem and I need help
url: https://stackoverflow.com/questions/tagged/flutter
about: Please ask and answer questions here.
url: https://github.com/rrousselGit/provider/discussions
about: Please ask and answer questions here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/example_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Documentation improvement request
about: >-
Suggest a new example/documentation or ask for clarification about an
existing one.
title: ""
labels: documentation, needs triage
assignees:
- rrousselGit
---

**Describe what scenario you think is uncovered by the existing examples/articles**
A clear and concise description of the problem that you want explained.

**Describe why existing examples/articles do not cover this case**
Explain which examples/articles you have seen before making this request, and
why they did not help you with your problem.

**Additional context**
Add any other context or screenshots about the documentation request here.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement, needs triage
assignees:
- rrousselGit
---

**Is your feature request related to a problem? Please describe.**
Expand Down
38 changes: 31 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,49 @@
name: Build

on:
push:
pull_request:
paths-ignore:
- "**.md"
push:
branches:
- master
paths-ignore:
- "**.md"
schedule:
# runs the CI everyday at 10AM
- cron: "0 10 * * *"

jobs:
flutter:
runs-on: ubuntu-latest
container: cirrusci/flutter:${{matrix.channel}}

defaults:
run:
working-directory: packages/provider

strategy:
matrix:
channel:
- dev
- beta
- master

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0

- uses: subosito/flutter-action@v2.7.1
with:
channel: ${{ matrix.channel }}

- name: Add pub cache bin to PATH
run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
- name: Add pub cache to PATH
run: echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV

- name: Install dependencies
run: flutter pub get

- run: dart format lib test --set-exit-if-changed
if: matrix.channel == 'master'

- run: flutter analyze --no-current-package

- name: Execute test script
run: curl -s https://raw.githubusercontent.com/rrousselGit/ci/master/scripts/ci.sh | bash -s nnbd
- run: flutter test --no-pub --coverage test/null_safe
21 changes: 21 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Add new issues to project

on:
issues:
types:
- opened
- reopened
pull_request:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/users/rrousselGit/projects/8
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ android/
ios/
macos/
.packages
build

# Remove the following pattern if you wish to check in your lock file
pubspec.lock

# Conventional directory for build outputs
build/
/build/
coverage/

# Directory created by dartdoc
Expand Down
74 changes: 74 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "provider",
"request": "launch",
"type": "dart"
},
{
"name": "provider (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "provider (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "provider_devtools_extension",
"cwd": "packages/provider_devtools_extension",
"request": "launch",
"type": "dart"
},
{
"name": "provider_devtools_extension + simulated environment",
"program": "packages/provider_devtools_extension/lib/main.dart",
"request": "launch",
"type": "dart",
"args": [
"--dart-define=use_simulated_environment=true"
],
},
{
"name": "provider_devtools_extension (profile mode)",
"cwd": "packages/provider_devtools_extension",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "provider_devtools_extension (release mode)",
"cwd": "packages/provider_devtools_extension",
"request": "launch",
"type": "dart",
"flutterMode": "release"
}
]
}
7 changes: 4 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ include: all_lint_rules.yaml
analyzer:
exclude:
- "**/*.g.dart"
strong-mode:
implicit-casts: false
implicit-dynamic: false
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# Otherwise cause the import of all_lint_rules to warn because of some rules conflicts.
# We explicitly enabled even conflicting rules and are fixing the conflict
Expand Down
15 changes: 15 additions & 0 deletions build_devtool.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pushd packages/provider

rm -rf extension/devtools/build
mkdir extension/devtools/build

popd

pushd packages/provider_devtools_extension

flutter pub get &&
dart run devtools_extensions build_and_copy \
--source=. \
--dest=../provider/extension/devtools

popd
10 changes: 0 additions & 10 deletions example/.metadata

This file was deleted.

1 change: 1 addition & 0 deletions packages/provider/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extension/devtools/build
Loading