Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Commit 49418b2

Browse files
committed
v0.18.2 release
1 parent 59efc00 commit 49418b2

File tree

5 files changed

+23
-20
lines changed

5 files changed

+23
-20
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# krangl
22

3-
[ ![Download](https://img.shields.io/badge/Maven%20Central-0.18.1-orange) ](https://mvnrepository.com/artifact/com.github.holgerbrandl/krangl) [![Build Status](https://github.com/holgerbrandl/krangl/workflows/build/badge.svg)](https://github.com/holgerbrandl/krangl/actions?query=workflow%3Abuild) [![Gitter](https://badges.gitter.im/holgerbrandl/krangl.svg)](https://gitter.im/holgerbrandl/krangl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
3+
[ ![Download](https://img.shields.io/badge/Maven%20Central-0.18.2-orange) ](https://mvnrepository.com/artifact/com.github.holgerbrandl/krangl) [![Build Status](https://github.com/holgerbrandl/krangl/workflows/build/badge.svg)](https://github.com/holgerbrandl/krangl/actions?query=workflow%3Abuild) [![Gitter](https://badges.gitter.im/holgerbrandl/krangl.svg)](https://gitter.im/holgerbrandl/krangl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
44

55
`krangl` is a {K}otlin library for data w{rangl}ing. By implementing a grammar of data manipulation using a modern functional-style API, it allows to filter, transform, aggregate and reshape tabular data.
66

@@ -32,7 +32,7 @@ repositories {
3232
}
3333
3434
dependencies {
35-
implementation "com.github.holgerbrandl:krangl:0.18.1"
35+
implementation "com.github.holgerbrandl:krangl:0.18.2"
3636
}
3737
```
3838
Declaring the repository is purely optional as it is the default already.

build.gradle

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
plugins {
3-
id "org.jetbrains.kotlin.jvm" version "1.7.0"
3+
id "org.jetbrains.kotlin.jvm" version "1.7.10"
44
id "java"
55
id "maven-publish"
66
id "signing"
77
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
8-
id "org.jetbrains.kotlin.jupyter.api" version "0.10.0-131-1"
8+
id "org.jetbrains.kotlin.jupyter.api" version "0.11.0-87"
99
}
1010

1111
repositories {
@@ -15,30 +15,30 @@ repositories {
1515

1616

1717
dependencies {
18-
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.20'
19-
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.6.20'
18+
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.7.10'
19+
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.7.10'
2020
// compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
2121

2222
// needed to work around https://youtrack.jetbrains.com/issue/KT-15064
23-
compileOnly 'org.jetbrains.kotlin:kotlin-script-runtime:1.6.20'
23+
compileOnly 'org.jetbrains.kotlin:kotlin-script-runtime:1.7.10'
2424

25-
api "org.apache.commons:commons-csv:1.6" // cant upgrade to 1.8 because of https://issues.apache.org/jira/browse/CSV-257
25+
api 'org.apache.commons:commons-csv:1.6' // cant upgrade to 1.8 because of https://issues.apache.org/jira/browse/CSV-257
2626
api 'org.apache.arrow:arrow-vector:8.0.0'
2727
implementation 'org.apache.arrow:arrow-memory-netty:8.0.0'
2828
api 'org.apache.poi:poi-ooxml:5.2.2'
2929

3030
api 'com.beust:klaxon:5.6'// compile 'me.tongfei:progressbar:0.5.5'
3131

32-
api('org.jetbrains.lets-plot:lets-plot-kotlin-jvm:3.2.0')
32+
api 'org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.0.0'
3333
// implementation("org.jetbrains.lets-plot:lets-plot-batik:2.0.4")
3434

3535
// implementation 'org.jetbrains.kotlinx:dataframe:0.8.0-rc-7'
3636
// testImplementation 'org.jetbrains.kotlinx:dataframe:0.8.0-rc-7'
3737

3838
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
39-
testImplementation('io.kotest:kotest-assertions-core:5.2.2')
40-
testImplementation 'com.h2database:h2:2.1.212'
41-
testImplementation 'org.jetbrains.kotlin:kotlin-script-runtime:1.6.10'
39+
testImplementation 'io.kotest:kotest-assertions-core:5.4.2'
40+
testImplementation 'com.h2database:h2:2.1.214'
41+
testImplementation 'org.jetbrains.kotlin:kotlin-script-runtime:1.7.10'
4242
}
4343

4444

@@ -100,9 +100,11 @@ test {
100100
//http://stackoverflow.com/questions/34377367/why-is-gradle-install-replacing-my-version-with-unspecified
101101
group 'com.github.holgerbrandl'
102102
//version '0.16.95'
103-
version '0.18.1'
104-
103+
version '0.18.2'
105104

105+
processJupyterApiResources {
106+
libraryProducers = ["krangl.integration.Integration"]
107+
}
106108

107109
java {
108110
withJavadocJar()

docs/userguide/docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[ ![Download](https://img.shields.io/badge/Maven%20Central-0.18.1-orange) ](https://mvnrepository.com/artifact/com.github.holgerbrandl.krangl/krangl) [![Build Status](https://github.com/holgerbrandl/krangl/workflows/build/badge.svg)](https://github.com/holgerbrandl/krangl/actions?query=workflow%3Abuild) [![Gitter](https://badges.gitter.im/holgerbrandl/krangl.svg)](https://gitter.im/holgerbrandl/krangl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
1+
[ ![Download](https://img.shields.io/badge/Maven%20Central-0.18.2-orange) ](https://mvnrepository.com/artifact/com.github.holgerbrandl.krangl/krangl) [![Build Status](https://github.com/holgerbrandl/krangl/workflows/build/badge.svg)](https://github.com/holgerbrandl/krangl/actions?query=workflow%3Abuild) [![Gitter](https://badges.gitter.im/holgerbrandl/krangl.svg)](https://gitter.im/holgerbrandl/krangl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
22

33
This is the manual of [krangl](https://github.com/holgerbrandl/krangl).
44

@@ -40,7 +40,7 @@ repositories {
4040
}
4141
4242
dependencies {
43-
implementation "com.github.holgerbrandl:krangl:0.18.1"
43+
implementation "com.github.holgerbrandl:krangl:0.18.2"
4444
}
4545
```
4646
Declaring the repository is purely optional as it is the default already.

src/main/kotlin/krangl/LetsPlot.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package krangl
22

3-
import jetbrains.letsPlot.intern.GenericAesMapping
3+
import org.jetbrains.letsPlot.intern.GenericAesMapping
44

55
/** Plot a data-frame with let-plot. To use this mapping add `implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:3.0.1")` or via `%use lets-plot` when using jupyter. */
6-
fun DataFrame.letsPlot(mapping: GenericAesMapping.() -> Unit = {}) = jetbrains.letsPlot.letsPlot(toMap(), mapping)
6+
fun DataFrame.letsPlot(mapping: GenericAesMapping.() -> Unit = {}) = org.jetbrains.letsPlot.letsPlot(toMap(), mapping)
77

88

99
//fun main() {

src/main/kotlin/krangl/integration/Integration.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import krangl.KranglConfig.JUPYTER_DISPLAY_MAX_ROWS
77
import krangl.KranglConfig.JUPYTER_DISPLAY_WIDTH
88
import krangl.SimpleDataFrame
99
import org.jetbrains.kotlinx.jupyter.api.HTML
10-
import org.jetbrains.kotlinx.jupyter.api.annotations.JupyterLibrary
1110
import org.jetbrains.kotlinx.jupyter.api.libraries.JupyterIntegration
1211

1312
// main docs
@@ -16,8 +15,10 @@ import org.jetbrains.kotlinx.jupyter.api.libraries.JupyterIntegration
1615
//https://github.com/Kotlin/kotlin-jupyter/blob/master/libraries/krangl.json
1716

1817

19-
@JupyterLibrary
18+
//@JupyterLibrary
19+
@Suppress("unused")
2020
internal class Integration : JupyterIntegration() {
21+
2122
override fun Builder.onLoaded() {
2223
import("krangl.*")
2324
render<SimpleDataFrame> { HTML(it.toHTML()) }

0 commit comments

Comments
 (0)