Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1.0
->1.19.0
1.1.0
->1.18.0
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
.js
files to.zipline
files.v1.17.0
Compare Source
globalThis.gc()
function into the guest code.v1.16.0
Compare Source
UnsatisfiedLinkError
crash on Android 15 / API level 35.v1.15.0
Compare Source
thread-confined, but they don't need to be confined to the same thread. With this release we've
added a new
CoroutineDispatcher
parameter toZiplineLoader.withCache()
. It is used whenreading and writing the cache. The existing
CoroutineDispatcher
used to create theZiplineLoader
is used to access QuickJS.EventListener.cacheHit()
is called on each cache hit.v1.14.0
Compare Source
ZiplineLoader.load()
andloadOnce()
now accept a suspending function.ZiplineLoader
when writing to the disk cache fails. Use the newLoaderEventListener
type to observe such failures.AutoCloseable
inZipline
,ZiplineService
andZiplineScope
.amd64/oraclelinux:8
on Docker).v1.13.0
Compare Source
Zipline's outputs are now emitted to directories named like
build/zipline/Development
, andbuild/zipline/ProductionWebpack
. This avoids aPropertyQueryException
crash in Gradle.v1.12.0
Compare Source
applications create many instances of
CancellationException
, such as when canceling a flowin 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.
by reading another task's property before that task had completed.
ZiplineFunction.asDynamicFunction()
short-circuits Kotlin Serialization in Kotlin/JS. Thisnew mechanism allows performance-sensitive code to reduce the amount of work required to call
bridged functions.
v1.11.0
Compare Source
apiTracking
property on thezipline { }
Gradle extension allows disabling API generation.Zipline.close()
will now callZiplineService.close()
on all bound services. Strongreferences to the services will also be cleared to prevent reference cycles on native.
v1.10.1
Compare Source
native dependencies.
v1.10.0
Compare Source
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
ZiplineLoader
soFileSystem
always precedesPath
.Zipline.close()
. This was a memory leak.ziplineApiDump
task.ZiplineCryptography
adds aSecureRandom
API for guest code.Zipline.getOrPutAttachment()
lets you attach application data to a Zipline instance.v1.8.0
Compare Source
available until API 26+.
FreshnessChecker
decides whether to load cached code. If it returns false,EventListener.applicationLoadSkippedNotFresh()
will be called.EventListener.manifestReady()
is called when the manifest is fetched and verified, butbefore any code is downloaded.
v1.7.0
Compare Source
experience. Call the appropriate functions in the
zipline {}
block of your build file:zipline { ... optimizeForSmallArtifactSize() }
Long
values are sent over a bridged API. Zipline uses JSON toencode values shared between host and guest, and that converts all primitive numeric types to
Double
. It is necessary to add@Contextual
to all serializedLong
values to get this fix.v1.6.0
Compare Source
v1.5.1
Compare Source
klib
metadata in thezipline-cinterop-quickjs
artifact. This restores the behavior from 1.4.0 to work around [KT-62515].
v1.5.0
Compare Source
Zipline.eventListener
can be used to get theEventListener
from aZipline
instance.v1.4.0
Compare Source
New:
EventListener.Factory
can be used to scope events to a particularZipline
instance.New: Support arbitrary metadata in the
ZiplineManifest
. This newMap<String, String>
can beproduced in your
build.gradle.kts
file, and consumed from theZiplineManifest
instance.Upgrade: OkHttp 4.12.0
Upgrade: Okio 3.6.0
v1.3.0
Compare Source
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!
NSData.dataWithBytesNoCopy
. We had a bug where we weredouble-freeing memory in the Kotlin/Native
EcdsaP256
signature verifier.v1.2.0
Compare Source
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.
This PR was generated by Mend Renovate. View the repository job log.