Skip to content

Update Android #56

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 2 commits into from
Jun 19, 2025
Merged

Update Android #56

merged 2 commits into from
Jun 19, 2025

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 24, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
app.cash.turbine:turbine 1.2.0 -> 1.2.1 age adoption passing confidence
org.jsoup:jsoup (source) 1.19.1 -> 1.20.1 age adoption passing confidence
org.jetbrains.kotlin:kotlin-bom (source) 2.1.20 -> 2.1.21 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-collections-immutable 0.3.8 -> 0.4.0 age adoption passing confidence
org.sonarqube 6.0.1.5171 -> 6.2.0.5505 age adoption passing confidence
app.cash.molecule:molecule-runtime 2.0.0 -> 2.1.0 age adoption passing confidence
org.jetbrains.kotlin.plugin.compose (source) 2.1.20 -> 2.1.21 age adoption passing confidence
org.jetbrains.kotlin.android (source) 2.1.20 -> 2.1.21 age adoption passing confidence
com.android.library (source) 8.9.0 -> 8.10.1 age adoption passing confidence
com.android.application (source) 8.9.0 -> 8.10.1 age adoption passing confidence
io.mockk:mockk-android (source) 1.13.17 -> 1.14.2 age adoption passing confidence
io.mockk:mockk (source) 1.13.17 -> 1.14.2 age adoption passing confidence
androidx.lifecycle:lifecycle-viewmodel (source) 2.8.7 -> 2.9.1 age adoption passing confidence
androidx.appcompat:appcompat (source) 1.7.0 -> 1.7.1 age adoption passing confidence
androidx.core:core-ktx (source) 1.15.0 -> 1.16.0 age adoption passing confidence
androidx.lifecycle:lifecycle-runtime-ktx (source) 2.8.7 -> 2.9.1 age adoption passing confidence
androidx.compose:compose-bom 2025.03.00 -> 2025.06.00 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-test 1.10.1 -> 1.10.2 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.10.1 -> 1.10.2 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.10.1 -> 1.10.2 age adoption passing confidence

Release Notes

cashapp/turbine (app.cash.turbine:turbine)

v1.2.1

Compare Source

Changed
Fixed
  • Calling testIn with a CoroutineScope that does not contain a Job no longer throws IllegalStateException.
jhy/jsoup (org.jsoup:jsoup)

v1.20.1

Changes
  • To better follow the HTML5 spec and current browsers, the HTML parser no longer allows self-closing tags (<foo />)
    to close HTML elements by default. Foreign content (SVG, MathML), and content parsed with the XML parser, still
    supports self-closing tags. If you need specific HTML tags to support self-closing, you can register a custom tag via
    the TagSet configured in Parser.tagSet(), using Tag#set(Tag.SelfClose). Standard void tags (such as <img>,
    <br>, etc.) continue to behave as usual and are not affected by this
    change. #​2300.
  • The following internal components have been deprecated. If you do happen to be using any of these, please take the opportunity now to migrate away from them, as they will be removed in jsoup 1.21.1.
    • ChangeNotifyingArrayList, Document.updateMetaCharsetElement(), Document.updateMetaCharsetElement(boolean), HtmlTreeBuilder.isContentForTagData(String), Parser.isContentForTagData(String), Parser.setTreeBuilder(TreeBuilder), Tag.formatAsBlock(), Tag.isFormListed(), TokenQueue.addFirst(String), TokenQueue.chompTo(String), TokenQueue.chompToIgnoreCase(String), TokenQueue.consumeToIgnoreCase(String), TokenQueue.consumeWord(), TokenQueue.matchesAny(String...)
Functional Improvements
  • Rebuilt the HTML pretty-printer, to simplify and consolidate the implementation, improve consistency, support custom
    Tags, and provide a cleaner path for ongoing improvements. The specific HTML produced by the pretty-printer may be
    different from previous versions. #​2286.
  • Added the ability to define custom tags, and to modify properties of known tags, via the TagSet tag collection.
    Their properties can impact both the parse and how content is
    serialized (output as HTML or XML). #​2285.
  • Element.cssSelector() will prefer to return shorter selectors by using ancestor IDs when available and unique. E.g.
    #id > div > p instead of html > body > div > div > p #​2283.
  • Added Elements.deselect(int index), Elements.deselect(Object o), and Elements.deselectAll() methods to remove
    elements from the Elements list without removing them from the underlying DOM. Also added Elements.asList() method
    to get a modifiable list of elements without affecting the DOM. (Individual Elements remain linked to the
    DOM.) #​2100.
  • Added support for sending a request body from an InputStream with
    Connection.requestBodyStream(InputStream stream). #​1122.
  • The XML parser now supports scoped xmlns: prefix namespace declarations, and applies the correct namespace to Tags and
    Attributes. Also, added Tag#prefix(), Tag#localName(), Attribute#prefix(), Attribute#localName(), and
    Attribute#namespace() to retrieve these. #​2299.
  • CSS identifiers are now escaped and unescaped correctly to the CSS spec. Element#cssSelector() will emit
    appropriately escaped selectors, and the QueryParser supports those. Added Selector.escapeCssIdentifier() and
    Selector.unescapeCssIdentifier(). #​2297, #​2305
Structure and Performance Improvements
  • Refactored the CSS QueryParser into a clearer recursive descent
    parser. #​2310.
  • CSS selectors with consecutive combinators (e.g. div >> p) will throw an explicit parse
    exception. #​2311.
  • Performance: reduced the shallow size of an Element from 40 to 32 bytes, and the NodeList from 32 to 24.
    #​2307.
  • Performance: reduced GC load of new StringBuilders when tokenizing input
    HTML. #​2304.
  • Made Parser instances threadsafe, so that inadvertent use of the same instance across threads will not lead to
    errors. For actual concurrency, use Parser#newInstance() per
    thread. #​2314.
Bug Fixes
  • Element names containing characters invalid in XML are now normalized to valid XML names when
    serializing. #​1496.
  • When serializing to XML, characters that are invalid in XML 1.0 should be removed (not
    encoded). #​1743.
  • When converting a Document to the W3C DOM in W3CDom, elements with an attribute in an undeclared namespace now
    get a declaration of xmlns:prefix="undefined". This allows subsequent serialization to XML via W3CDom.asString()
    to succeed. #​2087.
  • The StreamParser could emit the final elements of a document twice, due to how onNodeCompleted was fired when closing out the stack. #​2295.
  • When parsing with the XML parser and error tracking enabled, the trailing ? in <?xml version="1.0"?> would
    incorrectly emit an error. #​2298.
  • Calling Element#cssSelector() on an element with combining characters in the class or ID now produces the correct output. #​1984.
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-bom)

v2.1.21

Backend. Native. Debug
  • KT-75991 Xcode 16.3: Fix lldb stepping test over an inline function
Compiler
  • KT-75992 Xcode 16.3: stacktraces on simulators are not symbolicated
  • KT-76663 KJS: KotlinNothingValueException caused by expression return since 2.1.20
  • KT-75756 Backend Internal error: Exception during IR lowering when trying to access variable from providedProperties in class within kotlin custom script
  • KT-76209 CONFLICTING_UPPER_BOUNDS on Nothing bound
  • KT-70352 K2: False-negative CONFLICTING_UPPER_BOUNDS on Nothing bound
  • KT-74739 Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-71425 IR Inliner: investigate return type of an inlined block
Native
  • KT-76252 Native: executable crash with generic value classes with 2.1.20
Native. C and ObjC Import
  • KT-75781 Xcode 16.3: Fix cinterop tests failing with fatal error: could not build module '_stdint'
Native. Runtime. Memory
  • KT-74280 Native: GC.collect crashes with -Xallocator=std
Tools. CLI
  • KT-75588 [2.1.20-RC] "was compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler" warnings despite using the same compiler version
  • KT-74663 kotlinc-js CLI: not providing -ir-output-dir results in NullPointerException
Tools. Compiler Plugins
  • KT-76162 "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" after updating to 2.1.20
Tools. Gradle
  • KT-73682 Compatibility with Gradle 8.12 release
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder
  • KT-36004 Update 'org.gradle.usage' attribute rules to support the 'JAVA_API' and 'JAVA_RUNTIME' value
  • KT-73968 KotlinDependencyManagement tries to mutate configuration after it was resolved
  • KT-73684 Run integration tests against Gradle 8.12
  • KT-72694 Accessing Task.project during execution is being deprecated in Gradle 8.12
  • KT-73683 Compile against Gradle API 8.12
Tools. Gradle. JS
  • KT-77119 KJS: Gradle: Setting custom environment variables in KotlinJsTest tasks no longer works
  • KT-74735 KGP uses Gradle internal CompositeProjectComponentArtifactMetadata
  • KT-71879 Notice of upcoming deprecation for Boolean 'is-' properties in Gradle Groovy scripts
Tools. Gradle. Multiplatform
  • KT-75808 KGP: MPP with jvm target and Gradle java-test-fixtures is broken
  • KT-75605 Dependency resolution fails in commonTest/nativeTest source sets for KMP module when depending on another project due to missing PSM
  • KT-75512 Maven-publish: ArtifactId is not correct inpom file with customized withXml
Tools. Incremental Compile
  • KT-62555 Wrong ABI fingerprint for inline function containing a lambda
  • KT-75883 Follow-up: switch from INSTANCE heuristic to outerClass chain
Tools. Kapt
  • KT-75936 K2 KAPT: unsupported FIR element kinds in constant evaluation
  • KT-75942 K2 KAPT: underscore not allowed here
Tools. Scripts
  • KT-76424 Dependencies in main.kts not working with 2.1.20
  • KT-76296 Kotlin script compiler crashes when secondary constructor calls a function
  • KT-75589 Scripts: "IndexOutOfBoundsException in jdk.internal.util.Preconditions.outOfBounds" when trying to extend a class which uses global variable
Tools. Wasm
  • KT-76161 Wasm: "export startUnitTests was not found" after updating to Kotlin 2.1.20
Kotlin/kotlinx.collections.immutable (org.jetbrains.kotlinx:kotlinx-collections-immutable)

v0.4.0

  • Fixed the equality bug in PersistentMap — Added proper node promotion during mutable operations to ensure a consistent internal tree structure #​217
  • Fixed the bug in PersistentMap equals implementation — Ensured proper node promotion during mutable key removal even when nodes share the same owner #​218
  • Fixed the ghost element issue in PersistentHashSet — Corrected condition check order to ensure proper recursive element promotion after collision removal #​219
  • Updated Kotlin to version 2.1.20 and core dependencies #​213
  • Enabled '-Xjvm-default=disable' explicitly to prevent API dump changes #​210
cashapp/molecule (app.cash.molecule:molecule-runtime)

v2.1.0

Compare Source

New:

  • Add SnapshotNotifier enum to control whether Molecule automatically sends snapshot apply notifications.
    If you are using Molecule with another Compose-based library in a single application, you may want to disable our snapshot notification.
    See the enum for details on when that is appropriate.
    Additionally, the app.cash.molecule.snapshotNotifier system property can be set to one of the enum entry names to control the default process-wide.

Changed:

  • Any specified additional coroutine context elements will now be honored in the coroutine used internally with RecompositionMode.Immediate to send frames and cause recomposition to occur. This is observable, most notably, when a CoroutineDispatcher is included, as now recompositions which occur after the first, synchronous one will occur on that dispatcher.

Fixed:

  • Correct calculation of frame nano time for native Windows and native Linux targets.
mockk/mockk (io.mockk:mockk-android)

v1.14.2

Compare Source

What's Changed

Full Changelog: mockk/mockk@1.14.0...1.14.2

v1.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: mockk/mockk@1.13.17...1.14.0

Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)

v1.10.2

Compare Source

  • Fixed the kotlinx-coroutines-debug JAR file including the module-info.class file twice, resulting in failures in various tooling (#​4314). Thanks, @​RyuNen344!
  • Fixed Flow.stateIn hanging when the scope is cancelled in advance or the flow is empty (#​4322). Thanks, @​francescotescari!
  • Improved handling of dispatcher failures in .limitedParallelism (#​4330) and during flow collection (#​4272).
  • Fixed runBlocking failing to run its coroutine to completion in some cases if its JVM thread got interrupted (#​4399).
  • Small tweaks, fixes, and documentation improvements.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the Android label Mar 24, 2025
@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.65%. Comparing base (db78f78) to head (473d593).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
- Coverage   89.67%   88.65%   -1.03%     
==========================================
  Files         170       95      -75     
  Lines       20825    16593    -4232     
  Branches      291      291              
==========================================
- Hits        18675    14710    -3965     
+ Misses       2147     1880     -267     
  Partials        3        3              
Flag Coverage Δ
uitests ?
uitests-ios ?
unittests 88.65% <ø> (+0.18%) ⬆️
unittests-ios ?
unittests-react 83.09% <ø> (ø)
unittests-rust 89.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title Update Android to v8.9.1 Update Android Mar 25, 2025
@renovate renovate bot force-pushed the renovate/android branch 2 times, most recently from ab7919a to 11eade4 Compare March 26, 2025 19:05
@renovate renovate bot force-pushed the renovate/android branch 4 times, most recently from 77f37cb to 9117757 Compare April 12, 2025 06:34
@renovate renovate bot force-pushed the renovate/android branch 2 times, most recently from 633d5c7 to 94cd233 Compare April 23, 2025 22:34
@renovate renovate bot force-pushed the renovate/android branch from 94cd233 to 87f3ca5 Compare April 29, 2025 17:55
@renovate renovate bot force-pushed the renovate/android branch 3 times, most recently from de2f4fe to 4457191 Compare May 13, 2025 12:41
@renovate renovate bot force-pushed the renovate/android branch 3 times, most recently from ebdd73e to d492d59 Compare May 20, 2025 20:35
@renovate renovate bot force-pushed the renovate/android branch 2 times, most recently from 84ae2e0 to b1a2f14 Compare June 4, 2025 18:16
@renovate renovate bot force-pushed the renovate/android branch from b1a2f14 to 6af63b7 Compare June 6, 2025 15:39
@renovate renovate bot force-pushed the renovate/android branch from 6af63b7 to 019b5d8 Compare June 11, 2025 20:45
Copy link
Author

renovate bot commented Jun 19, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@bmarty bmarty force-pushed the renovate/android branch from 0d62a73 to 473d593 Compare June 19, 2025 11:01
Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

Thanks for fixing the JSoup upgrade breaks!

Comment on lines +302 to +304
private fun isLineBreak(node: Node?): Boolean {
return node is Element && node.tagName() == "br"
}
Copy link
Member

Choose a reason for hiding this comment

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

I would have gone for a private fun Element.isLineBreak(): Boolean extension function, but this works too.

Copy link

@bmarty bmarty merged commit c580002 into main Jun 19, 2025
9 checks passed
@bmarty bmarty deleted the renovate/android branch June 19, 2025 11:44
@bmarty bmarty mentioned this pull request Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants