Skip to content

Commit

Permalink
Merge pull request #1659 from GetStream/release/6.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xsahil03x authored Jul 5, 2023
2 parents 7e45f3b + 4b2a7be commit bcf7f25
Show file tree
Hide file tree
Showing 65 changed files with 1,819 additions and 752 deletions.
29 changes: 22 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pub" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/packages/stream_chat"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/packages/stream_chat_flutter_core"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/packages/stream_chat_flutter"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/packages/stream_chat_persistence"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/packages/stream_chat_localizations"
schedule:
interval: "weekly"
74 changes: 0 additions & 74 deletions .github/workflows/dart_code_metrics.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/dispatch_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- uses: benc-uk/workflow-dispatch@v1
- uses: benc-uk/workflow-dispatch@v121
with:
workflow: build_nightly
repo: GetStream/flutter-samples
Expand All @@ -23,7 +23,7 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: benc-uk/workflow-dispatch@v1
- uses: benc-uk/workflow-dispatch@v121
with:
repo: GetStream/flutter-samples
workflow: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
conventional_pr_title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3.4.0
- uses: amannn/action-semantic-pull-request@v5.2.0
with:
scopes: |
llc
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/stream_flutter_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
paths:
- 'packages/**'
- '.github/workflows/stream_flutter_workflow.yml'
types:
- opened
- reopened
Expand Down Expand Up @@ -100,32 +101,32 @@ jobs:
- name: "Collect Coverage"
run: melos run coverage:ignore-file --no-select
- name: "Upload Coverage"
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
files: packages/*/coverage/lcov.info
- name: "Stream Chat Coverage Check"
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: packages/stream_chat/coverage/lcov.info
min_coverage: 79
- name: "Stream Chat Persistence Coverage Check"
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
- name: "Stream Chat Localizations Coverage Check"
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: packages/stream_chat_localizations/coverage/lcov.info
min_coverage: 88
min_coverage: 100
- name: "Stream Chat Persistence Coverage Check"
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: packages/stream_chat_persistence/coverage/lcov.info
min_coverage: 95
- name: "Stream Chat Flutter Core Coverage Check"
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: packages/stream_chat_flutter_core/coverage/lcov.info
min_coverage: 30
- name: "Stream Chat Flutter Coverage Check"
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
uses: VeryGoodOpenSource/very_good_coverage@v2.1.0
with:
path: packages/stream_chat_flutter/coverage/lcov.info
min_coverage: 44
Expand All @@ -137,4 +138,4 @@ jobs:

steps:
- name: Run a one-line script
run: echo Draft PR, you are good.
run: echo Draft PR, you are good.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ coverage
.pub/
.dart_tool/
pubspec.lock
pubspec_overrides.yaml
flutter_export_environment.sh

examples/all_plugins/pubspec.yaml
Expand Down
23 changes: 1 addition & 22 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
analyzer:
plugins:
- dart_code_metrics
exclude:
- packages/*/lib/**/*.g.dart
- packages/*/lib/scrollable_positioned_list/**
Expand Down Expand Up @@ -159,23 +157,4 @@ linter:
- unnecessary_overrides
- prefer_null_aware_method_calls
- use_named_constants
- use_raw_strings

# https://dartcodemetrics.dev/docs/getting-started/introduction
dart_code_metrics:
rules:
# Dart Specific
- binary-expression-operand-order
- double-literal-format
- no-boolean-literal-compare
- no-equal-then-else
- no-empty-block:
exclude:
- packages/*/test/**
- prefer-trailing-comma:
exclude:
- packages/*/test/**

# Flutter specific
- always-remove-listener
- avoid-unnecessary-setstate
- use_raw_strings
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ Push message delivery behaves according to these rules:
- The message doesn't contain the flag `skip_push` as true.
- `push_notifications` is enabled (default) on the channel type for message is sent.

:::info

If you would like get push notifications only when users are offline, please contact support.

:::

:::caution

Push notifications require membership. Watching a channel isn't enough.
Expand Down
6 changes: 3 additions & 3 deletions packages/stream_chat/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ publish_to: "none"
version: 1.0.0+1

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=2.17.0 <4.0.0'
flutter: ">=1.17.0"

dependencies:
cupertino_icons: ^1.0.0
cupertino_icons: ^1.0.5
flutter:
sdk: flutter
stream_chat: ^6.0.0
stream_chat: ^6.4.0

dev_dependencies:
flutter_test:
Expand Down
1 change: 0 additions & 1 deletion packages/stream_chat/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.3.3
dart_code_metrics: ^5.7.2
freezed: ^2.3.2
json_serializable: ^6.6.1
mocktail: ^0.3.0
Expand Down
Loading

0 comments on commit bcf7f25

Please sign in to comment.