From 8b70a939831479c1c40c7b6b1aedac6b1929d4a9 Mon Sep 17 00:00:00 2001 From: zoobestik Date: Mon, 9 Oct 2023 12:21:25 +0200 Subject: [PATCH 1/2] fix; KTL-1180: Exclude hidden pages from search --- src/dist.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dist.py b/src/dist.py index 7ebddf5061f..4a0f0e0bcbe 100644 --- a/src/dist.py +++ b/src/dist.py @@ -52,6 +52,9 @@ def get_dist_page_type(url): if parsed.find("meta", {"http-equiv": "refresh"}): page_type = 'Redirect' + if parsed.find("meta", {"name": "robots", "content": "noindex"}): + page_type = 'Hidden' + if url.endswith('pdf'): page_type = 'File_Pdf' From 73e4ece24d13919f0252260649d3a8ed369c8f45 Mon Sep 17 00:00:00 2001 From: Andrey Polyakov Date: Thu, 12 Oct 2023 09:59:27 +0200 Subject: [PATCH 2/2] feat: update 1.9.20-RC EAP details (#3827) * update: update 1.9.20-RC EAP details * update: update 1.9.20-RC EAP details --- docs/kr.tree | 2 +- docs/topics/eap.md | 23 ++++++++++++++---- docs/topics/whatsnew-eap.md | 47 +++++++++++++++++++++++++++++++++---- docs/v.list | 4 ++-- 4 files changed, 64 insertions(+), 12 deletions(-) diff --git a/docs/kr.tree b/docs/kr.tree index 4cc3570265d..d7d746d17ce 100644 --- a/docs/kr.tree +++ b/docs/kr.tree @@ -34,7 +34,7 @@ - + diff --git a/docs/topics/eap.md b/docs/topics/eap.md index 3df4338e4e7..8f4b44a312e 100644 --- a/docs/topics/eap.md +++ b/docs/topics/eap.md @@ -41,6 +41,25 @@ check [our instructions on how to configure your build to support this version]( Build info Build highlights + + 1.9.20-RC +

Released: October 12, 2023

+

Release on GitHub

+ + +
    +
  • K2: support for Kotlin/Wasm, preview kapt compiler plugin
  • +
  • Kotlin/JVM: support for Java 21 bytecode
  • +
  • Kotlin/Native: custom allocator enabled by default, full parallel mark available in the GC, deprecated targets disabled, obligatory opt-in for all cinterop declarations (except for platform libraries), the GC scheduler tracking objects in big chunks, legacy memory manager disabled, support for Xcode 15
  • +
  • Kotlin Multiplatform: hierarchy template available by default, full support for Gradle Configuration cache, the default support for third-party cinterop libraries, reworked configuration of compiler settings in multiplatform projects
  • +
  • Kotlin/Wasm: support for WASI, new wasm-wasi target and rename wasm target to wasm-js, compatible with recent updates in Wasm GC
  • +
  • Kotlin/JS: using open-addressing hash map in the JS stdlib, ability to generate one JS file for each Kotlin source file
  • +
  • Libraries: experimental support for enumEntries() function, further stabilization of Kotlin/Native standard library
  • +
  • Gradle: support for Gradle versions 8.0 and 8.1, new build metrics for Kotlin/Native tasks, support for test fixtures to access internal declarations, new property to configure custom path to Konan and its dependencies
  • +
+

For more details, please refer to the changelog or What's new in Kotlin 1.9.20-RC.

+ + 1.9.20-Beta2

Released: September 21, 2023

@@ -59,10 +78,6 @@ check [our instructions on how to configure your build to support this version](

For more details, please refer to the changelog or What's new in Kotlin 1.9.20-Beta2.

- - Build info - Build highlights - 1.9.20-Beta

Released: September 11, 2023

diff --git a/docs/topics/whatsnew-eap.md b/docs/topics/whatsnew-eap.md index 42deb9d320c..5ec3dd55468 100644 --- a/docs/topics/whatsnew-eap.md +++ b/docs/topics/whatsnew-eap.md @@ -11,10 +11,12 @@ _[Released: %kotlinEapReleaseDate%](eap.md#build-details)_ The Kotlin %kotlinEapVersion% release is out! Here are some highlights from this preview version: +* [Preview kapt compiler plugin with K2](#preview-kapt-compiler-plugin-with-k2) * [New default hierarchy template for setting up multiplatform projects](#template-for-configuring-multiplatform-projects) * [Full support for the Gradle Configuration cache in Kotlin Multiplatform](#full-support-for-the-gradle-configuration-cache-in-kotlin-multiplatform) * [Custom memory allocator enabled by default in Kotlin/Native](#custom-memory-allocator-enabled-by-default) * [Performance improvements for the garbage collector in Kotlin/Native](#performance-improvements-for-the-garbage-collector) +* [Support for Xcode 15 in Kotlin/Native](#support-for-xcode-15) * [New and renamed targets in Kotlin/Wasm](#new-wasm-wasi-target-and-the-renaming-of-the-wasm-target-to-wasm-js) * [Support for the WASI API in the standard library for Kotlin/Wasm](#support-for-the-wasi-api-in-the-standard-library) @@ -27,6 +29,35 @@ The Kotlin plugins that support %kotlinEapVersion% are available for: | IntelliJ IDEA | 2023.1.x, 2023.2.x | | Android Studio | Hedgehog (2023.1.1 Beta 3), Iguana (2023.2.1 Canary 2) | +## New Kotlin K2 compiler updates + +### Support for Kotlin/Wasm + +Since this release, the Kotlin/Wasm supports the new K2 compiler. +[Learn how to enable it in your project](#preview-kapt-compiler-plugin-with-k2). + +### Preview kapt compiler plugin with K2 + +> Support for K2 in the kapt compiler plugin is [Experimental](components-stability.md). +> Opt-in is required (see details below), and you should use it only for evaluation purposes. +> +{type="warning"} + +In 1.9.20-RC, you can try using the [kapt compiler plugin](kapt.md) with the K2 compiler. +To use the K2 compiler in your project, add the following options to your `gradle.properties` file: + +```text +kotlin.experimental.tryK2=true +kapt.use.k2=true +``` + +Alternatively, you can enable K2 for kapt by completing the following steps: +1. In your `build.gradle.kts` file, [set the language version](gradle-compiler-options.md#example-of-setting-a-languageversion) to `2.0`. +2. In your `gradle.properties` file, add `kapt.use.k2=true`. + +If you encounter any issues when using kapt with the K2 compiler, please report them to our +[issue tracker](http://kotl.in/issue). + ## Kotlin Multiplatform * [Template for configuring multiplatform projects](#template-for-configuring-multiplatform-projects) @@ -318,6 +349,12 @@ kotlin.incremental.native=true If you face any issues, report such cases to [YouTrack](https://kotl.in/issue). +### Support for Xcode 15 + +Kotlin/Native %kotlinEapVersion% supports Xcode 15.0 – the latest version of Xcode. +As part of this, platform libraries have been updated to reflect the changes to Objective-C frameworks for Apple targets. +Feel free to update your Xcode and continue working on your Kotlin projects for Apple operating systems. + ## Kotlin/Wasm * [New `wasm-wasi` target, and the renaming of the `wasm` target to `wasm-js`](#new-wasm-wasi-target-and-the-renaming-of-the-wasm-target-to-wasm-js) @@ -333,7 +370,7 @@ If you face any issues, report such cases to [YouTrack](https://kotl.in/issue). ### New `wasm-wasi` target, and the renaming of the `wasm` target to `wasm-js` In this release, we're introducing a new target for Kotlin/Wasm – `wasm-wasi`. We're also renaming the `wasm` target to `wasm-js`. -In the Gradle DSL, these targets are available as `wasmWasi` and `wasmJs`, respectively. +In the Gradle DSL, these targets are available as `wasmWasi {}` and `wasmJs {}`, respectively. To use these targets in your project, update the `build.gradle.kts` file: @@ -348,11 +385,11 @@ kotlin { } ``` -The previously introduced `wasm` block has been deprecated in favor of `wasmJs`. +The previously introduced `wasm {}` block has been deprecated in favor of `wasmJs {}`. To migrate your existing Kotlin/Wasm project, do the following: -* In the `build.gradle.kts` file, rename the `wasm` block to `wasmJs`. -* In your project structure, rename the `wasmMain` folder to `wasmJsMain`. +* In the `build.gradle.kts` file, rename the `wasm {}` block to `wasmJs {}`. +* In your project structure, rename the `wasmMain` directory to `wasmJsMain`. ### Support for the WASI API in the standard library @@ -361,7 +398,7 @@ WASI support makes it easier for you to use Kotlin/Wasm outside of browsers, for a standardized set of APIs for accessing system resources. In addition, WASI provides capability-based security – another layer of security when accessing external resources. -To run Kotlin/Wasm applications, you need a VM that supports Wasm Garbage Collection (GC), for example Node.js or Deno. +To run Kotlin/Wasm applications, you need a VM that supports Wasm Garbage Collection (GC), for example, Node.js or Deno. Wasmtime, WasmEdge, and others are still working towards full Wasm GC support. To import a WASI function, use the `@WasmImport` annotation: diff --git a/docs/v.list b/docs/v.list index 9c833b80c06..ca933eb7941 100644 --- a/docs/v.list +++ b/docs/v.list @@ -6,13 +6,13 @@ - + - +