Skip to content

Commit 525c5ae

Browse files
committed
Bump version to 2.11.0 release and 2.11.1-SNAPSHOT after the release, update changelog.
1 parent c92415c commit 525c5ae

8 files changed

Lines changed: 31 additions & 18 deletions

File tree

README.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ You can link against this library in your program at the following coordinates:
7575
</tr>
7676
<tr>
7777
<td>
78-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.10.8</pre>
78+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.11<br>version: 2.11.0</pre>
7979
</td>
8080
<td>
81-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.10.8</pre>
81+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.12<br>version: 2.11.0</pre>
8282
</td>
8383
<td>
84-
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.10.8</pre>
84+
<pre>groupId: za.co.absa.cobrix<br>artifactId: spark-cobol_2.13<br>version: 2.11.0</pre>
8585
</td>
8686
</tr>
8787
</table>
@@ -92,17 +92,17 @@ This package can be added to Spark using the `--packages` command line option. F
9292

9393
### Spark compiled with Scala 2.11
9494
```
95-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.10.8
95+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.11.0
9696
```
9797

9898
### Spark compiled with Scala 2.12
9999
```
100-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.8
100+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.11.0
101101
```
102102

103103
### Spark compiled with Scala 2.13
104104
```
105-
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.10.8
105+
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.11.0
106106
```
107107

108108
## Usage
@@ -231,18 +231,18 @@ Cobrix's `spark-cobol` data source depends on the COBOL parser that is a part of
231231

232232
The jars that you need to get are:
233233

234-
* spark-cobol_2.12-2.10.8.jar
235-
* cobol-parser_2.12-2.10.8.jar
234+
* spark-cobol_2.12-2.11.0.jar
235+
* cobol-parser_2.12-2.11.0.jar
236236

237237
> Versions older than 2.8.0 also need `scodec-core_2.12-1.10.3.jar` and `scodec-bits_2.12-1.1.4.jar`.
238238
239239
> Versions older than 2.7.1 also need `antlr4-runtime-4.8.jar`.
240240
241241
After that you can specify these jars in `spark-shell` command line. Here is an example:
242242
```
243-
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.10.8
243+
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.11.0
244244
or
245-
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.10.8.jar,cobol-parser_2.12-2.10.8.jar
245+
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.11.0.jar,cobol-parser_2.12-2.11.0.jar
246246
247247
Setting default log level to "WARN".
248248
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
@@ -310,7 +310,7 @@ The fat jar will have '-bundle' suffix. You can also download pre-built bundles
310310

311311
Then, run `spark-shell` or `spark-submit` adding the fat jar as the option.
312312
```sh
313-
$ spark-shell --jars spark-cobol_2.12_3.3-2.10.9-SNAPSHOT-bundle.jar
313+
$ spark-shell --jars spark-cobol_2.12_3.3-2.11.1-SNAPSHOT-bundle.jar
314314
```
315315

316316
> <b>A note for building and running tests on Windows</b>
@@ -2160,6 +2160,19 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608)
21602160
A: Update hadoop dll to version 3.2.2 or newer.
21612161
21622162
## Changelog
2163+
- #### 2.11.0 released 8 August 2026.
2164+
- [#867](https://github.com/AbsaOSS/cobrix/pull/867) Added support for writing VB (variable block) COBOL files. Thanks @Il-Pela!
2165+
- [#869](https://github.com/AbsaOSS/cobrix/pull/869) Added support for REDEFINES when writing EBCDIC files from Spark DataFrames. Thanks @Il-Pela!
2166+
- [#757](https://github.com/AbsaOSS/cobrix/issues/757) Added support for GPG transparent decryption when reading data files
2167+
```scala
2168+
val df = spark.read
2169+
.format("cobol")
2170+
.option("copybook", copybookPath)
2171+
.option("gpg_private_key", gpgPrivateKey) // -----BEGIN PGP PRIVATE KEY BLOCK----- ...
2172+
.option("gpg_private_key", gpg_private_key_passphrase)
2173+
.load("/some/path")
2174+
```
2175+
21632176
- #### 2.10.8 released 3 August 2026.
21642177
- [#862](https://github.com/AbsaOSS/cobrix/pull/862) Custom options that start with `_custom` or just `_` are ignored in pedantic mode:
21652178
```scala

cobol-converters/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>za.co.absa.cobrix</groupId>
2424
<artifactId>cobrix_2.12</artifactId>
25-
<version>2.10.9-SNAPSHOT</version>
25+
<version>2.11.1-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

cobol-parser/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>za.co.absa.cobrix</groupId>
2424
<artifactId>cobrix_2.12</artifactId>
25-
<version>2.10.9-SNAPSHOT</version>
25+
<version>2.11.1-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

examples/examples-collection/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<scala.compat.version>2.12</scala.compat.version>
3232
<spark.version>3.5.7</spark.version>
3333
<specs.version>2.4.16</specs.version>
34-
<spark.cobol.version>2.10.8</spark.cobol.version>
34+
<spark.cobol.version>2.11.0</spark.cobol.version>
3535
<scodec_core.version>1.11.10</scodec_core.version>
3636
</properties>
3737

examples/spark-cobol-app/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ThisBuild / version := "0.1.0-SNAPSHOT"
2020
ThisBuild / scalaVersion := "2.12.20"
2121

2222
val sparkVersion = "3.5.7"
23-
val sparkCobolVersion = "2.10.8"
23+
val sparkCobolVersion = "2.11.0"
2424
val scalatestVersion = "3.2.19"
2525

2626
ThisBuild / libraryDependencies ++= Seq(

examples/spark-cobol-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<scala.compat.version>2.12</scala.compat.version>
3232
<scalatest.version>3.2.19</scalatest.version>
3333
<spark.version>3.5.7</spark.version>
34-
<spark.cobol.version>2.10.8</spark.cobol.version>
34+
<spark.cobol.version>2.11.0</spark.cobol.version>
3535
</properties>
3636

3737
<dependencies>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<groupId>za.co.absa.cobrix</groupId>
2323
<artifactId>cobrix_2.12</artifactId>
2424

25-
<version>2.10.9-SNAPSHOT</version>
25+
<version>2.11.1-SNAPSHOT</version>
2626

2727
<packaging>pom</packaging>
2828

spark-cobol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>za.co.absa.cobrix</groupId>
2424
<artifactId>cobrix_2.12</artifactId>
25-
<version>2.10.9-SNAPSHOT</version>
25+
<version>2.11.1-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

0 commit comments

Comments
 (0)