Skip to content

Commit

Permalink
Prepare for v0.27.3 (#651)
Browse files Browse the repository at this point in the history
* update web example null-safety

* change

* remove pedantic import

* remove pedantic imports

* fix tests

* draft

* wip

* wip

* update

* change date
  • Loading branch information
hoc081098 authored Nov 21, 2021
1 parent e681be5 commit b8076e6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## 0.27.3 (2021-11-21)

### Bug fixes

* `flatMap` now creates inner `Stream`s lazily.
* `combineLatest`, `concat`, `concatEager`, `forkJoin`, `merge`, `race`, `zip` iterate over `Iterable<Stream>`s only once
when the stream is listened to.
* Disallow mixing `autoConnect`, `connect` and `refCount` together, only one of them should be used.

### Features

* Introduce `AbstractConnectableStream`, base class for the `ConnectableStream` implementations.
* Improve `CompositeSubscription` (thanks to [@BreX900](https://github.com/BreX900))
* CompositeSubscription's `dispose`, `clear`, and `remove` methods now return a completion future.
* Fixed an issue where a stream not present in CompositeSubscription was canceled.
* Added the ability not to cancel the stream when it is removed from CompositeSubscription.
* CompositeSubscription implements `StreamSubscription`.
* `CompositeSubscription.add` will throw a `StateError` instead of a `String` if this composite was disposed.

### Documentation

* Fix `Connectable` examples.
* Update Web example to null safety.
* Fix `Flutter` example: `SearchResultItem.fromJson` type error (thanks to [@WenYeh](https://github.com/wayne900204))

### Code refactoring

* Simplify `takeLast` implementation.
* Migrate from `pedantic` to `lints` and `flutter_lints`.
* Refactor `BehaviorSubject`, `ReplaySubject` implementations by using "`Sentinel object`"s instead of `ValueWrapper`s.

## 0.27.2 (2021-09-03)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rxdart
version: 0.27.2
version: 0.27.3
description: >
RxDart is an implementation of the popular reactiveX api for asynchronous
programming, leveraging the native Dart Streams api.
Expand Down

0 comments on commit b8076e6

Please sign in to comment.