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

Version 1.4.3 #2559

Merged
merged 44 commits into from
Mar 3, 2021
Merged

Version 1.4.3 #2559

merged 44 commits into from
Mar 3, 2021

Conversation

qwwdfsad
Copy link
Collaborator

@qwwdfsad qwwdfsad commented Mar 2, 2021

No description provided.

ndkoval and others added 30 commits November 28, 2020 15:02
* Add the model checking mode to Lincheck tests and use a newer and faster version of it

Co-authored-by: Roman Elizarov <[email protected]>
These examples are way outdated, unmaintained and cannot be built as is in the most recent Android Studio. There is plenty of high-quality examples in the Web right now, no need to keep (and update Kotlin version) these two
* Rework publish-mpp-root-module-in-platform.gradle
* Update stackwalking tests

Co-authored-by: anastasiia.spaseeva <[email protected]>
#2427)

Remove the requirement that the job of the pre-created JobCancelNode have to be equal to the outer job

Job is supposed to be "sealed" interface, but we also have non-sealed Deferred that can be successfully implemented via delegation and such delegation may break code (if assertions are enabled!) in very subtle ways.

This assertion is our internal invariant that we're preserving anyway, so it's worth to lift it to simplify the life of our users in the future

Fixes #2423

Co-authored-by: Roman Elizarov <[email protected]>
* Remove explicit API mode suppressions
    * Use list build in ReceiveChannel.toList to prevent casting to mutable list
    * Migrate to maxByOrNull
    * Remove redundant nullabilities
…2453)

* Fix incorrect ProGuard rules that allowed shrinking volatile felds

Fixes #1564

* Modify ProGuard rules to only affect `kotlinx.coroutines.**`

Before, some rules were applied to a wide range of libraries for no good reason.
Now, they are limited to this library.
* Remove conditional publication that is compatible with Kotlin 1.3.70 plugin
* Get rid of workaround in old MPP plugin with dependency renaming
Kotlin DSL - Kotlin conventions (JVM & JS)

This is an adapter version of PR sent by Victor Turansky

Co-authored-by: Victor Turansky <[email protected]>
)

* Fix LinkedListChannel.onUndeliveredElement call on channel cancel

Fixes #2435

Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
… in order to get prettier stacktraces without "$kotlinx_coroutines_core" in function names (#2487)
* update: update cancellation-and-timeouts.md
* update: update channels.md
* update: update composing-suspending-functions.md
* update: update coroutine-context-and-dispatchers.md
* update: update coroutines-guide.md
* update: update exception-handling.md
* update: update select-expression.md
* update: update shared-mutable-state-and-concurrency.md
* update: update basics.md
* update: update flow.md
* update: update flow.md
* update: update _nav.yml
* update: add _nav.tree
* update: update links
* update: fixes after review
* update: get rid of divs
* update: add new lines for WebHelp parser
* update: add new lines for WebHelp parser
* fix: fix knit errors
* removed _nav.yml;
* renamed _nav.tree to kc.tree.
*  removed coroutines overview from the list; a title for a hands-on tutorial
* update: Made kc.tree as valid XML
* update: added a configuration file project.ihp
* update: added a configuration file buildprofiles.xml
* update: moved coroutines overview from the main repository
* update: update cancellation-and-timeouts.md
* update: update channels.md
* update: update composing-suspending-functions.md
* update: update coroutine-context-and-dispatchers.md
* update: update coroutines-guide.md
* update: update exception-handling.md
* update: update select-expression.md
* update: update shared-mutable-state-and-concurrency.md
* update: update basics.md
* update: update flow.md
* update: update flow.md
* update: update _nav.yml
* update: add _nav.tree
* update: update links
* update: fixes after review
* update: get rid of divs
* removed _nav.yml;
* renamed _nav.tree to kc.tree.
* removed coroutines overview from the list; a title for a hands-on tutorial
* update: Made kc.tree as valid XML
* update: added a configuration file project.ihp
* update: added a configuration file buildprofiles.xml
* update: moved coroutines overview from the main repository
* update: move debug tutorials to coroutines repository
* update: update after knit
* update: move all docs files to topics/
* update: corrected the xml version of project.ihp
* update: move old jvm tutorial coroutines-basic-jvm.md
* update: moved knit.properties to resolve relative path correctly
* update: add stubs for moved pages
* update: update README.md

Co-authored-by: Ekaterina.Volodko <[email protected]>
* Fix toString representation of JobListenableFuture
* Do not throw from JobListenableFuture.isCancelled. This properly handles ExecutionException that can be thrown from getUninterruptibly.

Fixes #2421

Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
elizarov and others added 14 commits February 1, 2021 18:18
This fix solves the problem of restoring thread-context when
returning to another context in an undispatched way.

It impacts suspend/resume performance of coroutines that use ThreadContextElement and undispatched coroutines.

The kotlinx.coroutines code poisons the context with special 'UndispatchedMarker' element and linear lookup is performed only when the marker is present. The code also contains a description of an alternative approach in order to save a linear lookup in complex coroutines hierarchies.

Fast-path of coroutine resumption is slowed down by a single context lookup.

Fixes #985

Co-authored-by: Roman Elizarov <[email protected]>
Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
* Restore the context in the reverse order of update, so they are properly nested into each other

Fixes #2195
* Also, update Gradle, because previous versions cannot follow redirects, effectively failing builds
* Leave kotlin-dep repo for our hacked Dokka version and JB's fork of trove4j
* Kotlin DSL - rename "example-frontend-js" build script
* Kotlin DSL - 'example-frontend-js'
* Kotlin DSL - rename "play-services" build script
* Kotlin DSL - 'play-services'

Co-authored-by: Victor Turansky <[email protected]>
# Conflicts:
#	README.md
#	coroutines-guide.md
#	docs/basics.md
#	docs/cfg/buildprofiles.xml
#	docs/kc.tree
#	docs/topics/coroutines-basic-jvm.md
#	docs/topics/coroutines-guide.md
#	docs/topics/debugging.md
#	docs/topics/knit.properties
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.

Looks good!

@qwwdfsad qwwdfsad merged commit 1efc9f1 into master Mar 3, 2021
@qwwdfsad qwwdfsad deleted the version-1.4.3 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.

None yet