jakepurple13 / OtakuWorld

Anime Watcher, Manga Reader, and Novel Reader as three separate apps, same UI
Apache License 2.0
448 stars 22 forks source link

Update ziplineVersion to v1.18.0 #1438

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
app.cash.zipline:zipline-profiler 1.1.0 -> 1.18.0 age adoption passing confidence
app.cash.zipline:zipline-loader 1.1.0 -> 1.18.0 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

cashapp/zipline (app.cash.zipline:zipline-profiler) ### [`v1.18.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1180---2024-11-14) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.17.0...1.18.0) [1.18.0]: https://redirect.github.com/cashapp/zipline/releases/tag/1.18.0 - Fix: Prevent clients from caching the dev server's responses. - New: "compile" subcommand in 'zipline-cli' compiles `.js` files to `.zipline` files. - Upgrade: \[Kotlin Serialization 1.7.3]\[kotlin_serialization\_1\_7\_3]. - Upgrade: \[kotlinx.coroutines 1.9.0]\[kotlinx_coroutines\_1\_9\_0]. - Upgrade: \[Okio 3.9.1]\[okio\_3\_9\_1]. ### [`v1.17.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1170---2024-08-28) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.16.0...1.17.0) [1.17.0]: https://redirect.github.com/cashapp/zipline/releases/tag/1.17.0 - New: Expose `globalThis.gc()` function into the guest code. - Upgrade: [Kotlin 2.0.20](https://redirect.github.com/JetBrains/kotlin/releases/tag/v2.0.20) ### [`v1.16.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1160---2024-07-17) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.15.0...1.16.0) - Fix: Support 16KB page sizes in our Android native library. This is necessary to prevent an `UnsatisfiedLinkError` crash on Android 15 / API level 35. ### [`v1.15.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1150---2024-07-16) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.14.0...1.15.0) - New: Use different dispatchers for cache vs code execution. Both the cache and QuickJS need to be thread-confined, but they don't need to be confined to the same thread. With this release we've added a new `CoroutineDispatcher` parameter to `ZiplineLoader.withCache()`. It is used when reading and writing the cache. The existing `CoroutineDispatcher` used to create the `ZiplineLoader` is used to access QuickJS. - New: `EventListener.cacheHit()` is called on each cache hit. ### [`v1.14.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1140---2024-07-09) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.13.0...1.14.0) - New: `ZiplineLoader.load()` and `loadOnce()` now accept a suspending function. - New: Don't crash in `ZiplineLoader` when writing to the disk cache fails. Use the new `LoaderEventListener` type to observe such failures. - Fix: Don't crash in Gradle if the Zipline runtime library is absent. - New: Extend Kotlin's `AutoCloseable` in `Zipline`, `ZiplineService` and `ZiplineScope`. - Upgrade: \[Oracle Linux 8]\[oracle_linux\_8] for x86\_64 Linux (`amd64/oraclelinux:8` on Docker). - Upgrade: \[Kotlin Serialization 1.7.1]\[kotlin_serialization\_1\_7\_1]. ### [`v1.13.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1130---2024-06-14) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.12.0...1.13.0) - Fix: Don't derive the Zipline compiler's output directory from the Kotlin/JS output directory. Zipline's outputs are now emitted to directories named like `build/zipline/Development`, and `build/zipline/ProductionWebpack`. This avoids a `PropertyQueryException` crash in Gradle. ### [`v1.12.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1120---2024-06-13) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.11.0...1.12.0) - Fix: Don't allocate a stack trace when canceling a coroutine or a job. We've observed that applications create many instances of `CancellationException`, such as when canceling a flow in routine business logic. Unfortunately, we've also seen that creating the stack traces for these exceptions is slow on Kotlin/Native. With this update Zipline reuses a single instance of CancellationException everywhere. We believe that losing the diagnostic information is worth the performance benefit. - Fix: Don't break the configuration cache. Zipline's compile task violated a Gradle requirement by reading another task's property before that task had completed. - New: `ZiplineFunction.asDynamicFunction()` short-circuits Kotlin Serialization in Kotlin/JS. This new mechanism allows performance-sensitive code to reduce the amount of work required to call bridged functions. - Upgrade: \[Kotlin Serialization 1.7.0]\[kotlin_serialization\_1\_7\_0]. ### [`v1.11.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1110---2024-06-05) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.10.1...1.11.0) - New: `apiTracking` property on the `zipline { }` Gradle extension allows disabling API generation. - Fix: Calling `Zipline.close()` will now call `ZiplineService.close()` on all bound services. Strong references to the services will also be cleared to prevent reference cycles on native. - Upgrade: \[Kotlin 2.0.0]\[kotlin\_2\_0\_0] ### [`v1.10.1`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1101---2024-05-13) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.10.0...1.10.1) - Fix: Build the released artifact on macOS instead of Linux to work around an issue packaging native dependencies. ### [`v1.10.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#1100---2024-05-01) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.9.0...1.10.0) - Fix: Clean source paths that show up in stack traces. - Fix: Don't leak Zipline instances. We had a bug where our memory-leak detection itself introduced a memory leak. We held a reference to a Zipline instance that was intended to be used to report services that were garbage collected but not closed. ### [`v1.9.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#190---2024-04-11) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.8.0...1.9.0) - Breaking: Reorder the parameters in `ZiplineLoader` so `FileSystem` always precedes `Path`. - Fix: Release unused services in `Zipline.close()`. This was a memory leak. - Fix: Don't break Gradle's configuration cache in the `ziplineApiDump` task. - New: `ZiplineCryptography` adds a `SecureRandom` API for guest code. - New: `Zipline.getOrPutAttachment()` lets you attach application data to a Zipline instance. - New: Support building Zipline with the new Kotlin K2 compiler. - Upgrade: \[Kotlin 1.9.23]\[kotlin\_1\_9\_23] - Upgrade: \[kotlinx.coroutines 1.8.0]\[kotlinx_coroutines\_1\_8\_0] - Upgrade: \[Okio 3.9.0]\[okio\_3\_9\_0] - Upgrade: \[SQLDelight 2.0.2]\[sqldelight\_2\_0\_2] ### [`v1.8.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#180---2024-01-11) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.7.0...1.8.0) - Fix: Don't crash validating signatures on Android 7.x. We incorrectly used an API that wasn't available until API 26+. - New: `FreshnessChecker` decides whether to load cached code. If it returns false, `EventListener.applicationLoadSkippedNotFresh()` will be called. - New: `EventListener.manifestReady()` is called when the manifest is fetched and verified, but before any code is downloaded. - Upgrade: \[Okio 3.7.0]\[okio\_3\_7\_0] ### [`v1.7.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#170---2023-11-30) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.6.0...1.7.0) - New: Gradle APIs to optimize production builds for either small artifact size or developer experience. Call the appropriate functions in the `zipline {}` block of your build file: ```kotlin zipline { ... optimizeForSmallArtifactSize() } ``` - Fix: Don't crash when very large `Long` values are sent over a bridged API. Zipline uses JSON to encode values shared between host and guest, and that converts all primitive numeric types to `Double`. It is necessary to add `@Contextual` to all serialized `Long` values to get this fix. ### [`v1.6.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#160---2023-11-20) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.5.1...1.6.0) - Upgrade: \[SQLDelight 2.0.0]\[sqldelight\_2\_0\_0] ### [`v1.5.1`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#151---2023-11-14) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.5.0...1.5.1) - Fix: remove the Zipline version from the `klib` metadata in the `zipline-cinterop-quickjs` artifact. This restores the behavior from 1.4.0 to work around \[KT-62515]. ### [`v1.5.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#150---2023-11-02) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.4.0...1.5.0) - New: `Zipline.eventListener` can be used to get the `EventListener` from a `Zipline` instance. - Upgrade: [Kotlin 1.9.20](https://square.github.io/okio/changelog/#version-360) ### [`v1.4.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#140---2023-10-31) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.3.0...1.4.0) - New: `EventListener.Factory` can be used to scope events to a particular `Zipline` instance. - New: Support arbitrary metadata in the `ZiplineManifest`. This new `Map` can be produced in your `build.gradle.kts` file, and consumed from the `ZiplineManifest` instance. ```kotlin zipline { ... metadata.put("build_timestamp", "2023-10-25T12:00:00T") } ``` - Upgrade: [OkHttp 4.12.0](https://square.github.io/okhttp/changelogs/changelog\_4x/#version-4120) - Upgrade: [Okio 3.6.0](https://square.github.io/okio/changelog/#version-360) ### [`v1.3.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#130---2023-09-20) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.2.0...1.3.0) - Fix: Configure a 6 MiB stack size by default. Previously Zipline didn't enforce any stack size limit, which resulted in difficult-to-diagnose crashes when the stack size was exceeded. Callers must manually ensure their calling stack sizes are larger than 6 MiB! - Fix: Always include type parameters for nested parameterized types. - Fix: Don't double-free when calling `NSData.dataWithBytesNoCopy`. We had a bug where we were double-freeing memory in the Kotlin/Native `EcdsaP256` signature verifier. - Upgrade: \[Kotlin Serialization 1.6.0]\[kotlin_serialization\_1\_6\_0]. ### [`v1.2.0`](https://redirect.github.com/cashapp/zipline/blob/HEAD/CHANGELOG.md#120---2023-08-09) [Compare Source](https://redirect.github.com/cashapp/zipline/compare/1.1.0...1.2.0) - Upgrade: [Kotlin 1.9.0](https://redirect.github.com/JetBrains/kotlin/releases/tag/v1.9.0) - Upgrade: \[kotlinx.coroutines 1.7.3]\[kotlinx_coroutines\_1\_7\_3]

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



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

github-actions[bot] commented 2 weeks ago

Job Summary for Gradle

Minimal Android CI Workflow :: novelworld

Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld novelworld:assembleRelease 8.10 :white_check_mark: Build Scan not published
github-actions[bot] commented 2 weeks ago

Job Summary for Gradle

Minimal Android CI Workflow :: animeworld

Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld animeworld:assembleRelease 8.10 :white_check_mark: Build Scan not published
github-actions[bot] commented 2 weeks ago

Job Summary for Gradle

Minimal Android CI Workflow :: animeworldtv

Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld animeworldtv:assembleRelease 8.10 :white_check_mark: Build Scan not published
github-actions[bot] commented 2 weeks ago

Job Summary for Gradle

Minimal Android CI Workflow :: mangaworld

Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld mangaworld:assembleRelease 8.10 :white_check_mark: Build Scan not published
renovate[bot] commented 2 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.18.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.