Skip to content

Version 1.4.0 #2337

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

Merged
merged 19 commits into from
Oct 26, 2020
Merged

Version 1.4.0 #2337

merged 19 commits into from
Oct 26, 2020

Conversation

qwwdfsad
Copy link
Collaborator

No description provided.

elizarov and others added 18 commits October 13, 2020 18:46
Otherwise, we have to keep our coroutine debugger disabled all the time: it attempts to read system property and fails on start
#2315)

Cleanup lazy coroutines that have been cancelled but not yet garbage collected

Fixes #2294
…and access properties in a safe manner from agent premain instead (#2311)
* Rework Flow.zip operator: improve its performance by 40%, collect one of the upstreams in the same coroutine as emitter

* Rework Flow.combine
    * Get rid of two code paths
    * Get rid of accidental O(N^2) where N is the number of flows that caused #2296
    * Get rid of select that hits performance hard, improving performance by 50% in the pessimistic case
    * Get rid of crossinlines in API and implementation to fix Android issues
    * Make combine fairer and its results less surprising in sequential scenarios

* Improve stacktrace recovery and stackwalking for SafeCollector, flowOn and zip operators
* Update JMH

Fixes #1743
Fixes #1683
Fixes #2296
)

* Do not use invokeSafely in onCompletion

Co-authored-by: Roman Elizarov <[email protected]>
…#2325)

Problematic scenario:
* Emitter suspends because there is a slow subscriber
* Fast subscriber collects all the values and suspend
* Slow subscriber resumes, collects value, causes emitter to be resume
* Fast subscribers must be resumed in this case, too

Fixes #2320
Co-authored-by: Miguel Kano <[email protected]>
Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
* Gracefully increase deprecation level on Channel operators instead of removing them, a warning was not strict enough
* Remove hidden onCompletion from -M release
* Promote StateFlow and SharedFlow to stable API
* Lift out experimentality where it is applicable

    * CoroutineDispatcher.invoke
    * ReceiveChannel.consume and ReceiveChannel.consumeEach
    * Flow core operators: onStart, onCompletion, onEmpty
    * CompletableDeferred.completeWith
    * awaitCancellation
    * Add experimentality notes where applicable
@qwwdfsad qwwdfsad requested a review from elizarov October 26, 2020 14:26
Copy link
Contributor

@elizarov elizarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 Woot! Great release.

@qwwdfsad qwwdfsad merged commit 4ea4078 into master Oct 26, 2020
@qwwdfsad qwwdfsad deleted the version-1.4.0 branch September 24, 2021 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants