Skip to content

Releases: Winterreisender/webviewko

v0.6.0

24 Feb 07:15
Compare
Choose a tag to compare
  • Update webview to webview/webview@7b40e46 v0.10.0-build.230210
  • use static links for Windows and macOS in Kotlin/Native, no longer need copy dll files #7
  • Removed deprecated freeze in Kotlin/Native
  • Remove GitHub Packages and UberJars
  • Drop Kotlin/JS support, you can still use v0.5.0
  • Other improvements

Full Changelog: 0.5.0...0.6.0

v0.5.0

15 Sep 11:11
Compare
Choose a tag to compare

Common

  • add: libPath
  • add: start
  • add: destroy

Native

  • remove cDispatch and cBind

JVM

  • add: Apple M1 support from webview_deno

JS

  • initial Kotlin/JS support
  • fix: wrong usage of isError

v0.4.0

22 Aug 01:32
Compare
Choose a tag to compare

v0.4.0 [ Radio Waves ]

GitHub release (by tag)

Highlights

Common

  • add json parameter for JSRejectException

JVM

  • add support for Windows ARM64, Windows x86 (Only x64 are tested)

Native

  • add support for concurrent mutability. Now you can use bind,dispatch freely in multi thread applications
  • mark cBind and cDispatch as Deprecated since concurrent mutability is supported

Download

v0.3.0

27 Jul 02:47
4e61c26
Compare
Choose a tag to compare

v0.3.0「Flying Circus」

GitHub release (by tag)

Highlights

Common

  • Update Kotlin to 1.7.10
  • Update webview to commit2022.7.26-8409184
  • Use -static-libgcc and -static-libstdc++ during compilation so that it doesn't rely on libgcc_s_seh.dll and libstdc++-6.dll on Windows anymore
  • Throw Exception when failed to create webview instead of NullPointerException
  • Add JSRejectException which will be caught by bind and thrown to JS (reject the Promise)
  • Migrate to GitLab Packages so that users won't need authentication anymore.

JVM

  • Remove deprecated getInstance
  • Fix invalid memory access when failed to create webview. webview/webview#799

Native

  • Add cBind and cDispatch providing a C API for Kotlin/Native
  • Fix crash when failed to create webview. webview/webview#799
  • Prevent memory leak by adding disposeList for bind and dispose directly for dispatch
  • call initRuntimeIfNeeded() in bind and dispatch for better C-interop

Known Issues

-

Download

dll/so/dylib: https://github.com/Winterreisender/webviewko/tree/4e61c26d8d978daa69a5a2ebb406004aa512ab84/src/nativeMain/nativeInterop/cinterop/webview

GitLab Packages: https://gitlab.com/Winterreisender/webviewko/-/packages/

v0.2.0

07 Jul 13:25
Compare
Choose a tag to compare

v0.2.0 「WhiteBox」

GitHub release (by tag)

Highlights

  • Update webview
  • Add Kotlin/Native support for Windows and Linux

Full Changelog: 0.1.1...0.2.0

Known Issues

  • When failed to create webview,for example the webview2 runtime is not installed, it won't throw an exception in Kotlin/Native and throw invalid memory access in Kotlin/JVM. We have feedback this issue to webview with a solution webview/webview#799. Update: This is fixed in 3aa6fef
  • Need libgcc_s_seh-1.dll and libstdc++-6.dll to works on Windows. These dependencies will be removed in the next version

Upstream

v0.2.0-dev.2

03 Jul 08:00
Compare
Choose a tag to compare
v0.2.0-dev.2 Pre-release
Pre-release
  • add Kotlin/Native/Linux support

For JVM and Kotlin/Native/Linux, see JitPack.io for build systems instructions.
Since JitPack.io dose not support Windows, You need compiled yourself by cloning and gradle publishToMavenLocal

An example for Gradle (Kotlin DSL):

repositories {
    maven {
        url = uri("https://jitpack.io")
        content {
            includeGroup("com.github.Winterreisender.webviewko")
        }
    }
}
dependencies {
    implementation("com.github.Winterreisender.webviewko:webviewko:0.2.0-dev.2")          //For Kotlin Multiplatform
    implementation("com.github.Winterreisender.webviewko:webviewko-jvm:0.2.0-dev.2")      //For Kotlin/JVM and Java
    implementation("com.github.Winterreisender.webviewko:webviewko-linuxX64:0.2.0-dev.2") //For Kotlin/Native/Linux
    //implementation("com.github.Winterreisender.webviewko:webviewko-mingwX64:0.2.0-dev.2") //For Kotlin/Native/Windows
}

You also need to copy the libwebview.dll or libwebview.so to the same folder as you program.

v0.2.0-dev.1

02 Jul 02:55
08a557d
Compare
Choose a tag to compare
v0.2.0-dev.1 Pre-release
Pre-release

Because JitPack.io does not support Winodws for building Kotlin/Native Mingw and GitHub Maven service doesn’t allow for unauthorized access (see How to allow unauthorised read access to GitHub packages maven repository? ), you can either import jars and klibs manually or
authorise with GitHub

  • Add Kotlin/Native MingwX64 support
  • Move to GitHub Packages
  • remove: initJS, replaced with init

Full Changelog: 0.1.0-dev.2...v0.2.0-dev.1

v0.1.1

29 Jun 09:45
Compare
Choose a tag to compare

If you're using Gradle or Maven, see https://jitpack.io/#Winterreisender/webviewko/0.1.1

NOTICE: This version supports Java 11+ on Windows x64, Linux x64 and macOS x64.

Full Changelog: 0.1.0-dev.1...0.1.1

Upstream

webview: commit2022.6.13-1df2191
Webview2: 1.0.1245.22
JNA: 5.12.0

v0.0.1-v0.1.0

29 Jun 10:01
Compare
Choose a tag to compare
v0.0.1-v0.1.0 Pre-release
Pre-release

All release files during v0.0.1-v0.1.0