Tags: kscripting/kscript
Tags
Kscript 4.2.2 (#400) == [4.2.2] - 2023-04-29 === Added * Updated Gradle to version 8.0.2 === Fixed * Fixed handling path with spaces on Windows https://github.com/kscripting/kscript/issues/397[#397] (thanks to https://github.com/ckaag[ckaag]) * Fixed build script (dependencies between tasks) * Fixed reading Unicode characters from executed scriptlets * Fixed Windows integration tests --------- Signed-off-by: Marcin Kuszczak <1508798+aartiPl@users.noreply.github.com> Co-authored-by: Christopher Kaag <58083827+ckaag@users.noreply.github.com>
Kscript 4.2 (#381) *Breaking changes* * Renamed environment variable from 'KSCRIPT_DIR' to 'KSCRIPT_DIRECTORY' *Enhancements* * New GitHub organization: http://github.com/kscripting[kscripting] * More work on Windows shell compatibility; most functionality works on Windows as on systems with bash * Change the name of the kscript package to io.github.kscripting:kscript * Final execution of the script is handled by kscript, not by bash (reduces dependency on bash) * Separate library for shell execution kscripting/shell * Ability to provide local artifacts path through *KSCRIPT_DIRECTORY_ARTIFACTS* or configuration file property: *scripting.directory.artifacts* (thanks to https://github.com/vsajip[Vsajip] for initial implementation) * kscript jar is released to Maven Central: *io.github.kscripting:kscript:4.2.0* * Change the way of checking the latest kscript version (simplifies releases) * Deprecate old annotations in the kscript-annotations library * Improved implementation: VersionChecker, ConfigBuilder etc. * Updated Gradle and dependencies * Deprecated @file:Include in favour of @file:Import as a preparation of switch to Kotlin Scripting * Replaced DocOpt with Apache CLI * Changed the way of creating distribution package - now it is handled by Gradle * Version of kscript is set by Gradle (generated BuildConfig class) * Improved DependencyResolver: aar archives are also included in the classpath * When creating an IntelliJ project, Gradle and Idea is no more required *Bugfixes* * Fixed exit code on Windows *Other* * Deprecation of "Include" in favor of "Import" * Infrastructure for publishing kscript * Updated kscript-annotations * Changed a way of building distribution of kscript * KScript version is derived from Gradle build file (BuildConfig) * Handle snapshot versions in VersionChecker * Updated Github actions * Updated start-up scripts * Additional tests, which now work on Windows. * Updated Kotlin version * Fixed REPL * Better handling of different command line options * Build target is now JVM 11 * Documentation converted to .adoc * Fixed Dockerfile * Updated docs * Updated dependencies
Kscript 4.1 (#354) * Cleanup of env variables * Fixed indentation and generation of Gradle files for IntelliJ * Re-enabled idea tests * Improved runConfiguration * Support for idea project creation: correct handling for duplicated file names. * IntelliJ support fixed * Formatting of wrapper for scripts. * Fix for OsType comparison logic (#357) * build: installation tester * build: update installer.yml * build: added ability to start GitHub action build manually. * bugfix: fix for OSTYPE linux-musl which is reported on Alpine Linux. * make KOTLIN_HOME required * feature: osHandler for operations outside of Java ecosystem * feature: added nicer debug information * refactor: split of config to smaller pieces * test: split building and cleaning (faster builds for most cases) * cleanup: overall cleanups * feature: Migrated kscript to os independent paths (OsPath) * feature: KScript seems to work on a plain Windows console. * Fix #335: Get --package working with Gradle 7 by replacing the capsule plugin (#370) * Fix #335: Remove the need for the Gradle capsule plugin. * Additional fixes for packaging (better cache support) * Improved Templates.kt * Added Kotlin integration tests for packaging and simple tests * Added suites for different OSes * Renamed MAC to MACOS constant. * Fixed error in StreamGobbler in ProcessRunner * Added empty source case handling * Better implementation of OsPath.leaf and OsPath.root * Added integration tests * Improved testing tools (matchers) * Cleanup, bug fixes and small improvements. * Removed old test suite in bash * Updated TestsReadme.md * Replace .kscript dir with OS-specific dirs (#323) (#374) * Refactoring to allow deprecation. * Deprecation of old features (annotations based on comments) * Deprecation report * Updated doc. Co-authored-by: holgerbrandl@gmail.com <holgerbrandl@users.noreply.github.com> Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> Co-authored-by: meztihn <6940823+meztihn@users.noreply.github.com
PreviousNext