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

Update ziplineVersion - autoclosed #1455

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
app.cash.zipline:zipline-profiler 1.1.0 -> 1.19.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.19.0

Compare Source

v1.18.0

Compare Source

  • 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

Compare Source

  • New: Expose globalThis.gc() function into the guest code.
  • Upgrade: Kotlin 2.0.20

v1.16.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • Fix: Build the released artifact on macOS instead of Linux to work around an issue packaging
    native dependencies.

v1.10.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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:
    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

Compare Source

  • Upgrade: [SQLDelight 2.0.0][sqldelight_2_0_0]

v1.5.1

Compare Source

  • 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

Compare Source

  • New: Zipline.eventListener can be used to get the EventListener from a Zipline instance.
  • Upgrade: Kotlin 1.9.20

v1.4.0

Compare Source

  • New: EventListener.Factory can be used to scope events to a particular Zipline instance.

  • New: Support arbitrary metadata in the ZiplineManifest. This new Map<String, String> can be
    produced in your build.gradle.kts file, and consumed from the ZiplineManifest instance.

    zipline {
      ...
      metadata.put("build_timestamp", "2023-10-25T12:00:00T")
    }
  • Upgrade: OkHttp 4.12.0

  • Upgrade: Okio 3.6.0

v1.3.0

Compare Source

  • 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

Compare Source

  • Upgrade: Kotlin 1.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.

👻 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.

Copy link

github-actions bot commented Dec 4, 2024

Job Summary for Gradle

Minimal Android CI Workflow :: novelworld
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld novelworld:assembleRelease 8.11.1 Build Scan not published

Copy link

github-actions bot commented Dec 4, 2024

Job Summary for Gradle

Minimal Android CI Workflow :: animeworld
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld animeworld:assembleRelease 8.11.1 Build Scan not published

Copy link

github-actions bot commented Dec 4, 2024

Job Summary for Gradle

Minimal Android CI Workflow :: animeworldtv
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld animeworldtv:assembleRelease 8.11.1 Build Scan not published

Copy link

github-actions bot commented Dec 4, 2024

Job Summary for Gradle

Minimal Android CI Workflow :: mangaworld
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
OtakuWorld mangaworld:assembleRelease 8.11.1 Build Scan not published

@renovate renovate bot changed the title Update ziplineVersion Update ziplineVersion - autoclosed Dec 4, 2024
@renovate renovate bot deleted the renovate/ziplineversion branch December 4, 2024 13:47
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.

1 participant