diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d2c17f7509..7858c07580 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,8 +1,10 @@
name: Build docs
on:
+ # Specify to run a workflow manually from the Actions tab on GitHub.
workflow_dispatch:
+# Gives the workflow permissions to clone the repo and create a page deployment
permissions:
id-token: write
pages: write
@@ -20,15 +22,31 @@ env:
jobs:
build-job:
runs-on: ubuntu-latest
+ container: registry.jetbrains.team/p/writerside/builder/writerside-builder:2.1.1481-p3872-df
+ outputs:
+ artifact: ${{ steps.generate-artifact.outputs.artifact }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- - name: Build Writerside docs using Docker
- uses: ./.github/writerside-build
- - name: Upload artifact
+ - name: Prepare for build
+ run: |
+ apt-get update
+ apt-get install -y zip
+ mkdir -p artifacts
+ - name: Build docs and include sitemap.xml
+ run: |
+ export DISPLAY=:99
+ Xvfb :99 &
+ /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product $PRODUCT --runner github -output-dir artifacts/ || true
+ test -e artifacts/$ARTIFACT && echo $ARTIFACT exists
+ cp docs/StardustDocs/sitemap.xml artifacts/sitemap.xml
+ cd artifacts
+ zip -r $ARTIFACT sitemap.xml
+ working-directory: ${{ github.workspace }}
+ - name: Upload modified documentation artifact
uses: actions/upload-artifact@v3
with:
- name: artifact
+ name: help
path: artifacts/${{ env.ARTIFACT }}
retention-days: 7
- name: Upload algolia-indexes
@@ -42,13 +60,14 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
+ # Requires the build-job results
needs: build-job
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
- name: artifact
+ name: help
- name: Unzip artifact
uses: montudor/action-zip@v1
with:
diff --git a/.github/writerside-build/Dockerfile b/.github/writerside-build/Dockerfile
deleted file mode 100644
index d48e3f09b9..0000000000
--- a/.github/writerside-build/Dockerfile
+++ /dev/null
@@ -1,10 +0,0 @@
-# Container image that runs your code
-FROM registry.jetbrains.team/p/writerside/builder/writerside-builder:2.1.1256-p3333
-
-# Copies your code file from your action repository to the filesystem path `/` of the container
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-# Code file to execute when the docker container starts up (`entrypoint.sh`)
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/.github/writerside-build/action.yml b/.github/writerside-build/action.yml
deleted file mode 100644
index 80367d1b13..0000000000
--- a/.github/writerside-build/action.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-name: Build Writerside docs using Docker
-description: Build Writerside documentation artifacts
-
-runs:
- using: 'docker'
- image: 'Dockerfile'
diff --git a/.github/writerside-build/entrypoint.sh b/.github/writerside-build/entrypoint.sh
deleted file mode 100644
index 33eb48a7f8..0000000000
--- a/.github/writerside-build/entrypoint.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-set -e
-/opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product $PRODUCT --runner github -output-dir artifacts/ || true
-echo "Test existing of $ARTIFACT artifact"
-test -e artifacts/$ARTIFACT
diff --git a/README.md b/README.md
index e53d03e95b..c47fef495b 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.20-blue.svg?logo=kotlin)](http://kotlinlang.org)
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/dataframe?color=blue&label=Maven%20Central)](https://search.maven.org/artifact/org.jetbrains.kotlinx/dataframe)
[![GitHub License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
+[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Kotlin/dataframe/HEAD)
Kotlin Dataframe aims to reconcile Kotlin's static typing with the dynamic nature of data by utilizing both the full power of the Kotlin language and the opportunities provided by intermittent code execution in Jupyter notebooks and REPL.
@@ -30,7 +31,7 @@ Explore [**documentation**](https://kotlin.github.io/dataframe/overview.html) fo
plugins {
// Optional Gradle plugin for enhanced type safety and schema generation
// https://kotlin.github.io/dataframe/gradle.html
- id 'org.jetbrains.kotlinx.dataframe' version '0.11.0'
+ id 'org.jetbrains.kotlinx.dataframe' version '0.11.1'
}
repositories {
@@ -38,7 +39,7 @@ repositories {
}
dependencies {
- implementation 'org.jetbrains.kotlinx:dataframe:0.11.0'
+ implementation 'org.jetbrains.kotlinx:dataframe:0.11.1'
}
```
@@ -48,7 +49,7 @@ dependencies {
plugins {
// Optional Gradle plugin for enhanced type safety and schema generation
// https://kotlin.github.io/dataframe/gradle.html
- id("org.jetbrains.kotlinx.dataframe") version "0.11.0"
+ id("org.jetbrains.kotlinx.dataframe") version "0.11.1"
}
repositories {
@@ -56,7 +57,7 @@ repositories {
}
dependencies {
- implementation("org.jetbrains.kotlinx:dataframe:0.11.0")
+ implementation("org.jetbrains.kotlinx:dataframe:0.11.1")
}
```
@@ -67,11 +68,11 @@ dependencies {
plugins {
// Optional Gradle plugin for enhanced type safety and schema generation
// https://kotlin.github.io/dataframe/gradle.html
- id 'org.jetbrains.kotlinx.dataframe' version '0.11.0'
+ id 'org.jetbrains.kotlinx.dataframe' version '0.11.1'
}
dependencies {
- implementation 'org.jetbrains.kotlinx:dataframe:0.11.0'
+ implementation 'org.jetbrains.kotlinx:dataframe:0.11.1'
}
android {
@@ -115,11 +116,11 @@ tasks.withType(KotlinCompile).configureEach {
plugins {
// Optional Gradle plugin for enhanced type safety and schema generation
// https://kotlin.github.io/dataframe/gradle.html
- id("org.jetbrains.kotlinx.dataframe") version "0.11.0"
+ id("org.jetbrains.kotlinx.dataframe") version "0.11.1"
}
dependencies {
- implementation("org.jetbrains.kotlinx:dataframe:0.11.0")
+ implementation("org.jetbrains.kotlinx:dataframe:0.11.1")
}
android {
@@ -189,6 +190,7 @@ This table shows the mapping between main library component versions and minimum
| 0.10.0 | 8 | 1.8.20 | 0.11.0-358 | 3.0.0 | 11.0.0 |
| 0.10.1 | 8 | 1.8.20 | 0.11.0-358 | 3.0.0 | 11.0.0 |
| 0.11.0 | 8 | 1.8.20 | 0.11.0-358 | 3.0.0 | 11.0.0 |
+| 0.11.1 | 8 | 1.8.20 | 0.11.0-358 | 3.0.0 | 11.0.0 |
## Usage example
**Create:**
diff --git a/RELEASE_CHECK_LIST.md b/RELEASE_CHECK_LIST.md
index 0665b64cb1..2b3c8e1e24 100644
--- a/RELEASE_CHECK_LIST.md
+++ b/RELEASE_CHECK_LIST.md
@@ -29,3 +29,8 @@
17. Create Release from the release tag on GitHub
18. Update a KDF version in the [Kotlin Jupyter Descriptor](https://github.com/Kotlin/kotlin-jupyter-libraries/blob/master/dataframe.json). Now the Renovate bot doing this
19. Update DataFrame version in gradle.properties file for next release cycle (i.e. 0.10.0 -> 0.11.0)
+20. Update deprecated functions in [deprecationMessages.kt](/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt)
+ such that
+ - `Level.WARNING` messages are changed to `Level.ERROR`
+ - `Level.ERROR` messages and their functions are removed.
+ - Update regions in the file accordingly.
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
index 5b3a57cfb7..8d3d548133 100644
--- a/core/build.gradle.kts
+++ b/core/build.gradle.kts
@@ -154,6 +154,28 @@ tasks.withType "
- if (limit < nrow) {
+ val bodyFooter = footer?.let {
+ buildString {
+ val openPTag = " "
+ if (limit < nrow) {
+ append(openPTag)
+ append("... showing only top $limit of $nrow rows, Set