Skip to content

Releases: korlibs/korge

v5.0.2

02 Oct 11:15
Compare
Choose a tag to compare

What's Changed

  • add SolidTriangle by @rafi0 in #1894
  • WASM: Reduce Android API level from 26 to 21 by using WebView instead of JavaScriptEngine by @soywiz in #1903
  • Use Java 11 by default on JVM and Android by @soywiz in #1902

Documentation:

Full Changelog: v5.0.0...v5.0.2

v5.0.0

29 Sep 19:41
Compare
Choose a tag to compare

Major changes in 5.0.0

  • KProject integrated into KorGE. Gradle template will be updated.
  • Removed K/N desktop targets.
  • Now is is possible to run WASM modules on all the targets, allowing non system-dependant libraries: image formats, physics and other libraries available to the KorGE ecosystem.
  • TimeSpan is now a typealias of kotlin.time.Duration
  • Now there is FFI (Foreign Function Interface) available in common code usable in JVM (JNA) and JS (Deno). Experimental Deno support. Enabling support for new integrations. For example Steam in the future (not available yet).
  • Integrated WEBP decoding.
  • Kotlin 1.9.20-Beta2, will bump to the final version once available.
  • Some API unification: some package renames, and some namings for Buffer and other clases.
  • 2D geometry now uses Double again instead of Float. 3D geometry classes are still using floats.
  • Artifacts restructured. Now we have korge-foundation, korge-core and korge. Korlibs libraries not exported individually anymore. For 4.0.x compatibility and bugfixes: https://github.com/korlibs/korlibs4 documentation for korlibs4 here: https://korlibs4.soywiz.com/

Full Changelog: v4.0.10...v5.0.0

v5.0.0-RC

28 Sep 22:36
761b305
Compare
Choose a tag to compare
v5.0.0-RC Pre-release
Pre-release

What's Changed

  • Update TEST.yml restoring GRADLE_OPTS for windows by @soywiz in #1878
  • Moved KStructure and KArena to FFI, removed old KPointer & some simplifications by @soywiz in #1882
  • New improved Buffer implementation and remove TypedArrays by @soywiz in #1881
  • Simplified directory structure by @soywiz in #1883
  • Major restructuring of the documentation by @soywiz in #1885
  • Fixes audio playback on JVM windows by @soywiz in #1886
  • Fix sound in linux by @soywiz in #1887
  • Fix serialization by @soywiz in #1888
  • Fix JvmReferenceTest test on non-english locales by @soywiz in #1891
  • Make libs.asm.util be available only on tests by @soywiz in #1890
  • Some more float -> double changes by @soywiz in #1889

Full Changelog: v5.0.0-alpha...v5.0.0-RC

v5.0.0-alpha

26 Sep 13:56
8e4d379
Compare
Choose a tag to compare
v5.0.0-alpha Pre-release
Pre-release

What's Changed

  • fix base16 xml entity by @lmvortex4k in #1838
  • Add TOML parser by @soywiz in #1840
  • Unify modules and folders by @soywiz in #1841
  • Remove Watchos & Arm32 targets and unify Number.toCgFloat by @soywiz in #1843
  • WASM Executor by @soywiz in #1844
  • Disable coverage, and K/N macos, linux and mingw targets keeping tvOS and iOS K/N targets by @soywiz in #1845
  • Bump to Kotlin 1.9.20-Beta by @soywiz in #1846
  • Enables wasmJs target by @soywiz in #1847
  • Some cleanups by @soywiz in #1848
  • Try to reduce CI time by @soywiz in #1849
  • Use gradle/gradle-build-action instead of actions/cache by @soywiz in #1851
  • Convert some build.gradle into build.gradle.kts by @soywiz in #1852
  • Remove remaining packs by @soywiz in #1853
  • Try to unify JS and WASM workflows by @soywiz in #1854
  • Moved some classes to korlibs.platform package by @soywiz in #1855
  • Moved classes from korlibs.memory to korlibs.number package by @soywiz in #1856
  • Cleanup korlibs.memory package by @soywiz in #1857
  • Unify Number.niceStr implementations and move to korlibs.number by @soywiz in #1858
  • Simplify korlibs.datastructure by @soywiz in #1859
  • Bump to Kotlin 1.9.20-Beta2 by @soywiz in #1860
  • Move korlibs.io.serialization to korlibs.serialization by @soywiz in #1862
  • FFI on Common usable on JVM and JS/Deno by @soywiz in #1863
  • Cleanup math package by @soywiz in #1864
  • Fixes flaky tests due to mocha timeout not being set by @soywiz in #1865
  • Add common implementation of workers for JVM/JS/Native by @soywiz in #1861
  • Replace TimeSpan with Duration by @soywiz in #1866
  • Fix warning for empty android test and wasm source sets by @soywiz in #1867
  • Update gradle version and testc to use gradle -bin instead of -all by @soywiz in #1869
  • Make 2D geometry to use Double again, while keeping Float geometry for 3D by @soywiz in #1868
  • Some number constructors by @soywiz in #1870
  • Add WEBP decoding support via WASM by @soywiz in #1872
  • Added TypedArrays implementations mimicking JS and type-aliasing in that target by @soywiz in #1873
  • Some extra TypedArrays additions by @soywiz in #1874
  • Prepare deploy for new artifacts by @soywiz in #1876
  • Add Spacing, Vector2F, Vector3F and Vector4F to debugger by @soywiz in #1877
  • Handle new artifact groups by @soywiz in #1875

Full Changelog: v4.0.10...v5.0.0-alpha

v4.0.10

23 Aug 22:22
2d6152c
Compare
Choose a tag to compare

What's Changed

  • Fix blurry DefaultTtfFontAsBitmap text in CachedContainer when virtual size < window size by @eaboll in #1760
  • Add Scale intrinsic and extrinsic operations + conversions + tests by @soywiz in #1802
  • Improves CachedContainer with renderQuality and provides korim.Quality by @soywiz in #1803
  • Refactor sandbox code so that a JVM entrypoint can be made. by @Kietyo in #1810
  • fix typo "thighly" -> "tightly" by @iiiii7d in #1808
  • Convert to .kts gradle script for intellisense. by @Kietyo in #1813
  • Fix prerelease errors that appear if you use Korge in a multi-project with diff Kotlin versions and upgrade to Kotlin 1.9.0 by @Kietyo in #1814
  • Add docs for docker image creation by @Maddin-M in #1816
  • Revive Korge screenshot tester with Korge UI. by @Kietyo in #1817
  • Refactor screenshot tester to use offscreen rendering utils. by @Kietyo in #1819
  • Migrate to .kts for autocomplete. by @Kietyo in #1822
  • Fix generated main for desktop. by @Kietyo in #1827
  • remove unused code by @ygdrasil-io in #1825
  • Convert buildSrc to using kts by @Kietyo in #1830
  • Delete build.gradle.old by @ygdrasil-io in #1831
  • enable tests on release branches by @ygdrasil-io in #1833
  • Fix grayscale jpeg rendering colors. by @Kietyo in #1829

New Contributors

Full Changelog: v4.0.9...v4.0.10

v4.0.9

14 Jul 10:22
0289a03
Compare
Choose a tag to compare

What's Changed

  • Docs: UI Components by @soywiz in #1774
  • Fixes and tests BlendMode.INVERT by @soywiz in #1775
  • Fixes UIWindow scale handlers + improve close button icon by @soywiz in #1776
  • Properly detects a wrong zip file instead of failing with an IndexOutOfBoundsException by @soywiz in #1780
  • Added UIDirection.*_REVERSE variants, added UIGridFill padding and direction parametes + be reactive with property changes + expose to debugger thru @ViewProperty by @soywiz in #1781
  • Fixes PolylineShape built from a buildShape { } and/or graphics { } not displaying line dashes by @soywiz in #1782
  • Supports integrating into SwiftUI apps (and likely old iOS views) by @soywiz in #1786
  • Fixes .ase slice name generation, to not repeat names that are already used, also cover the case where a nameToVariable generated the same name by @soywiz in #1787
  • Support providing a set of possible keys for key events by @soywiz in #1789
  • Support providing a list of Closeable to CancellableGroup construction by @soywiz in #1790
  • Inverts preventDefault <-> stopPropagation behaviour to match JS. Supports dispatching events down and up or both. This will allow to fix the keyboard, touch and mouse events to go from down to up (bubbling) by @soywiz in #1792
  • Update index.md - typo mascots by @rafi0 in #1794
  • Simplify and fix ALSA implementation using DequeBasedPlatformAudioOutput by @soywiz in #1793
  • Added mermaid.js by @soywiz in #1797
  • Fixes Sandbox samples key input interfering with the main dropdown by making the scene container focusable by @soywiz in #1795
  • Sound: Improve JvmWaveOut implementation by doing a much more accurate waiting, and fixes closing not happening by @soywiz in #1796
  • Android: Fixes crash with vfsInitWithAndroidContextOnce by @soywiz in #1798

New Contributors

Full Changelog: v4.0.8...v4.0.9

v4.0.8

06 Jul 07:25
47ad4b9
Compare
Choose a tag to compare

What's Changed

  • Update README.md by @soywiz in #1732
  • Fixes korio: "Flow invariant is violated" in Vfs.listFlow() by @soywiz in #1734
  • Try to bump gradle to 8.1.1 by @soywiz in #1737
  • Bump kotlinx.coroutines to 1.7.2 by @soywiz in #1736
  • Fixes KR generation for files and folders starting with a number by @soywiz in #1738
  • Supports generating code for .TTF files and .ASE files (with tags/animations and slices information) by @soywiz in #1741
  • Improves UIVertical/HorizontalStack behaviour, to compute its size based on their childrens by default by @soywiz in #1739
  • Fixes MP3 identifying non-mp3 files as such by @soywiz in #1742
  • Docs: Adds Hot Reloading page by @soywiz in #1746
  • Fix some gradle issues by @soywiz in #1745
  • fix: korge crashing after too many sounds are played on linux by @cmhulbert in #1747
  • Adds Angle.clamp by @soywiz in #1749
  • Fix issue 1679, adding HMAC.hmacSHA512 by @eaboll in #1750
  • Fixes base volume in a music Sound not being used when playing it by @soywiz in #1751
  • Docs: Explain how to use Korinject basic API by @soywiz in #1753
  • Docs: Explain how to sort views by using zIndex by @soywiz in #1754
  • Docs: Document GameWindow.DialogInterface by @soywiz in #1756
  • Docs: NativeStorage & applicationDataVfs by @soywiz in #1755
  • Docs: Fixes relative images provided in search by @soywiz in #1757
  • Docs: Documents how to make View draggable by @soywiz in #1758
  • Docs: Add file drag & drop screenshot by @soywiz in #1759
  • Explains how to render custom stuff with different techniques by @soywiz in #1761
  • Propagates GameWindow.Quality to RenderContext by @soywiz in #1762
  • Adds Number.squared() and Number.signM1 and Number.signP1 by @soywiz in #1764
  • Fixes Vector2.reflected by @soywiz in #1763
  • Simplify IntNPack and do not use inline class for geometry types, but full data class until MFVC is ready by @soywiz in #1765
  • Add FixedLong by @soywiz in #1766
  • Improve RenderContext2D with Float and other Vector types by @soywiz in #1767
  • Added Array*.lastIndexOf variant for sub-arrays by @soywiz in #1769
  • Added mapWhileNotNull & mapWhileCheck by @soywiz in #1768
  • Fix/alsa wait by @cmhulbert in #1770
  • Prevents a stackoverflow when creating a view graph cycle by @soywiz in #1771

New Contributors

Full Changelog: v4.0.7...v4.0.8

v4.0.7

28 Jun 18:43
9b0a3f4
Compare
Choose a tag to compare

What's Changed

  • Improve SceneContainer.changeTo, added SceneContainer.navigationEntries and document navigation API by @soywiz in #1705
  • Fixes View.onDropFile and documents it by @soywiz in #1708
  • Optimize image decoding on MacOS JVM by using CoreGraphics decoder by @soywiz in #1709
  • Implement Drag & Drop on MacOS by @soywiz in #1711
  • Document kproject by @soywiz in #1712
  • Document keys.downFrame/justDown/downRepeating by @soywiz in #1714
  • Added Vector3 & Vector4 abs, min, max & clamp + tests by @soywiz in #1713
  • Remove it.ignoreFailures & fixes tests on CI by @soywiz in #1718
  • Support drawing arrows in VectorBuilder & Context2d by @soywiz in #1719
  • Supports Orientation, Point.orientation, Point.polar & Angle with Y going down (inverted up vector) by @soywiz in #1717
  • Fix link to krypto lib by @Foso in #1720
  • Some 3D additions: Matrix3+Quaternion compatibility, some missing methods in Vector3 and Matrix4. Support EulerAngles in arbitrary rotation orders. by @soywiz in #1725
  • De ordinals by @Bantolomeus in #1724
  • Support drawing polylines and polyArrows using the VectorBuilder by @soywiz in #1723
  • Fixes and tests managedTextureMemory going crazy in some cases and optimizes FastSmallSet by @soywiz in #1729
  • Optimize BaseGraphics when removed from stage. And adds View.onAncestorChanged by @soywiz in #1731
  • Adds overridable Bitmap.contentEquals and Bitmap.contentHashCode to all Bitmap implementations by @soywiz in #1730

New Contributors

Full Changelog: v4.0.6...v4.0.7

v4.0.6

15 Jun 14:20
311f93c
Compare
Choose a tag to compare

New target! 🆕

  • Apple TV! (tvOS) 🥳

What's Changed

Full Changelog: v4.0.5...v4.0.6

v4.0.5

12 Jun 03:41
31e2313
Compare
Choose a tag to compare

What's Changed

  • Documents the RLE class by @soywiz in #1642
  • Copied documentation from docs.korge.org to the korge repository to be able to write documentation, code and tests in a single PR by @soywiz in #1643
  • Improve, test and document Historiogram by @soywiz in #1670
  • Fixes Android alert/confirm/prompt and makes the root element of KorgwActivity to be a RelativeLayout by @soywiz in #1671
  • Improves Ray.direction to be normalized. Adds Ray.fromTwoPoints. Adds tests. Code + Website documentation for Ray by @soywiz in #1672
  • KR resources documentation + Chess tutorial link by @soywiz in #1675
  • Improve AnsiEscape with 256 colors + code documentation + website documentation by @soywiz in #1674
  • WASM Browser support for all the libraries including korgw and korge (retake) by @soywiz in #1628
  • Revert "Remove experimental wrapped klock variants (#1508)" by @soywiz in #1604
  • Improve ViewPropertyProvider, and support ImageDataView.animation selection by @soywiz in #1680
  • Some Quaternion improvement backports from korge-k3d by @soywiz in #1681
  • Initial metal rendering on JVM with JNA by @soywiz in #1682
  • Add reflected methods to Vector & Vector3 + some extensions + Vector2.rem by @soywiz in #1684
  • Fixes and improvements for BVH. Added BVH1D for finding segments in ranges by @soywiz in #1685
  • Make ImageAnimationView & ImageDataView Anchorable. Adds PixelAnchorable by @soywiz in #1683
  • korlibs.math.geom improvements by @soywiz in #1686
  • Final WASM retake by @soywiz in #1677

Full Changelog: v4.0.3...v4.0.5