Skip to content

Commit d667761

Browse files
Release 1.1.12 (#701)
* chore: update the version number * doc: update CHANGELOG.md ChangeLog NEWS ReleaseNote.md * doc: update requirements-all.md * doc: update manual of cobj-idx * doc: update docker image tags in documents
1 parent b7a33f2 commit d667761

File tree

15 files changed

+113
-48
lines changed

15 files changed

+113
-48
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
8+
## [1.1.12] - 2025-08-28
9+
10+
### Add
11+
12+
* Implemented new file locking and record locking for INDEXED files.
13+
* Add a new sub command `migrate` for `cobj-idx`.
14+
* With this command, you can convert an old version of an INDEXED file to a new version compatible with the latest opensource COBOL 4J.
15+
* Add a new sub command `unlock` for `cobj-idx`.
16+
* With this command, you can unlock all record locks and file locks on an INDEXED file.
17+
* Add documentation of locking for INDEXED files.
18+
719
## [1.1.11] - 2025-07-25
820

921
### Fix

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-08-28 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
2+
3+
* opensource COBOL 4J v1.1.12 released.
4+
15
2025-07-25 OSS Consortium <ws-opensource-cobol-contact@osscons.jp>
26

37
* opensource COBOL 4J v1.1.11 released.

NEWS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,30 @@
11
NEWS - user visible changes -*- outline -*-
22

3+
* opensource COBOL 4J 1.1.12
4+
5+
** New Features
6+
7+
(1) Implemented new file locking and record locking for INDEXED files.
8+
(2) Add a new sub command `migrate` for `cobj-idx`.
9+
* With this command, you can convert an old version of an INDEXED file to a new version compatible with the latest opensource COBOL 4J.
10+
(3) Add a new sub command `unlock` for `cobj-idx`.
11+
* With this command, you can unlock all record locks and file locks on an INDEXED file.
12+
(4) Add documentation of locking for INDEXED files.
13+
14+
315
-----------------------------------------------------------------------
416

17+
* opensource COBOL 4J 1.1.11
18+
519
** Bug Fixes
620

721
(1) Fix OPEN operation for indexed files. (#676)
822
* The runtime library now correctly sets the file status to 30 when attempting to open indexed files with invalid or corrupted file formats.
923

1024
-----------------------------------------------------------------------
1125

26+
* opensource COBOL 4J 1.1.10
27+
1228
** New Features
1329

1430
(1) Add a manual for the compiler configuration file (#665)
@@ -21,6 +37,8 @@ NEWS - user visible changes -*- outline -*-
2137

2238
-----------------------------------------------------------------------
2339

40+
* opensource COBOL 4J 1.1.9
41+
2442
** New Features
2543

2644
(1) Add a sub command create for cobj-idx.

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco
5252

5353
### Install opensource COBOL 4J
5454
```
55-
curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz
56-
tar zxvf opensourcecobol4j-v1.1.11.tar.gz
57-
cd opensourcecobol4j-1.1.11
55+
curl -L -o opensourcecobol4j-v1.1.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz
56+
tar zxvf opensourcecobol4j-v1.1.12.tar.gz
57+
cd opensourcecobol4j-1.1.12
5858
./configure --prefix=/usr/
5959
make
6060
sudo make install
@@ -63,9 +63,9 @@ sudo make install
6363
In order to install a compiler for UTF-8 encoded COBOL source code, run the following commands.
6464

6565
```
66-
curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz
67-
tar zxvf opensourcecobol4j-v1.1.11.tar.gz
68-
cd opensourcecobol4j-1.1.11
66+
curl -L -o opensourcecobol4j-v1.1.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz
67+
tar zxvf opensourcecobol4j-v1.1.12.tar.gz
68+
cd opensourcecobol4j-1.1.12
6969
./configure --prefix=/usr/ --enable-utf8
7070
touch cobj/*.m4
7171
make
@@ -137,7 +137,7 @@ https://www.oracle.com/java/technologies/downloads/?er=221886#java8-windows
137137
The docker container for opensource COBOL 4J is available.
138138
139139
```bash
140-
docker pull opensourcecobol/opensourcecobol4j:20250725
140+
docker pull opensourcecobol/opensourcecobol4j:20250828
141141
```
142142

143143
Execute the following commands in order to run the "Hello World" COBOL program.
@@ -233,11 +233,22 @@ cobj-idx - A utility tool to handle an indexed file of opensource COBOL 4J
233233
Usage:
234234
cobj-idx <sub command> [options] <indexed file>
235235
236-
Sub commands:
237236
238237
cobj-idx info <indexed-file>
239238
Show information of the indexed file.
240239
240+
cobj-idx create <indexed file> --size=<record size> --key=<key information>
241+
Create a new indexed file.
242+
The record size and key information are specified by the options.
243+
By default, this command does not overwrite the indexed file.
244+
To overwrite the indexed file, use the --new option.
245+
Example) cobj-idx create test.idx --size=100 --key=2,2:5,4:d15,5
246+
File name: test.idx
247+
Record size: 100
248+
Primary key: 2-3
249+
Alternate key (No Duplicates):5-8
250+
Alternate key (Duplicates): 15-19
251+
241252
cobj-idx load <indexed file>
242253
Load the data from stdin into the indexed file.
243254
The default format of the input data is SEQUENTIAL of COBOL.
@@ -271,6 +282,7 @@ Options:
271282
272283
-v, --version
273284
Print the version of cobj-idx.
285+
274286
```
275287

276288
## cobj-api

README_JP.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoco
4646

4747
### opensource COBOL 4Jのインストール
4848
```
49-
curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz
50-
tar zxvf opensourcecobol4j-v1.1.11.tar.gz
51-
cd opensourcecobol4j-1.1.11
49+
curl -L -o opensourcecobol4j-v1.1.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz
50+
tar zxvf opensourcecobol4j-v1.1.12.tar.gz
51+
cd opensourcecobol4j-1.1.12
5252
./configure --prefix=/usr/
5353
make
5454
sudo make install
@@ -57,9 +57,9 @@ sudo make install
5757
UTF-8のCOBOLソースコード対応版コンパイラをインストールする場合は、下記のコマンドを実行する。
5858

5959
```
60-
curl -L -o opensourcecobol4j-v1.1.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.11.tar.gz
61-
tar zxvf opensourcecobol4j-v1.1.11.tar.gz
62-
cd opensourcecobol4j-1.1.11
60+
curl -L -o opensourcecobol4j-v1.1.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.1.12.tar.gz
61+
tar zxvf opensourcecobol4j-v1.1.12.tar.gz
62+
cd opensourcecobol4j-1.1.12
6363
./configure --prefix=/usr/ --enable-utf8
6464
touch cobj/*.m4
6565
make
@@ -126,7 +126,7 @@ Windows版のopensource COBOL 4JはVisual Studioに含まれるCLコンパイラ
126126
opensource COBOL 4JのDockerコンテナを利用できます。
127127
128128
```bash
129-
docker pull opensourcecobol/opensourcecobol4j:20250725
129+
docker pull opensourcecobol/opensourcecobol4j:20250828
130130
```
131131

132132
以下のコマンドを実行して、"Hello World"のCOBOLプログラムを実行します。
@@ -218,11 +218,22 @@ cobj-idx - A utility tool to handle an indexed file of opensource COBOL 4J
218218
Usage:
219219
cobj-idx <sub command> [options] <indexed file>
220220
221-
Sub commands:
222221
223222
cobj-idx info <indexed-file>
224223
Show information of the indexed file.
225224
225+
cobj-idx create <indexed file> --size=<record size> --key=<key information>
226+
Create a new indexed file.
227+
The record size and key information are specified by the options.
228+
By default, this command does not overwrite the indexed file.
229+
To overwrite the indexed file, use the --new option.
230+
Example) cobj-idx create test.idx --size=100 --key=2,2:5,4:d15,5
231+
File name: test.idx
232+
Record size: 100
233+
Primary key: 2-3
234+
Alternate key (No Duplicates):5-8
235+
Alternate key (Duplicates): 15-19
236+
226237
cobj-idx load <indexed file>
227238
Load the data from stdin into the indexed file.
228239
The default format of the input data is SEQUENTIAL of COBOL.
@@ -256,6 +267,7 @@ Options:
256267
257268
-v, --version
258269
Print the version of cobj-idx.
270+
259271
```
260272

261273
## cobj-api

ReleaseNote.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
### Fix
2-
3-
* Fix OPEN operation for indexed files. (#676)
4-
* The runtime library now correctly sets the file status to 30 when attempting to open indexed files with invalid or corrupted file formats.
1+
### Add
52

3+
* Implemented new file locking and record locking for INDEXED files.
4+
* Add a new sub command `migrate` for `cobj-idx`.
5+
* With this command, you can convert an old version of an INDEXED file to a new version compatible with the latest opensource COBOL 4J.
6+
* Add a new sub command `unlock` for `cobj-idx`.
7+
* With this command, you can unlock all record locks and file locks on an INDEXED file.
8+
* Add documentation of locking for INDEXED files.

configure

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.11.
3+
# Generated by GNU Autoconf 2.69 for opensource COBOL 4J 1.1.12.
44
#
55
# Report bugs to <ws-opensource-cobol-contact@osscons.jp>.
66
#
@@ -589,9 +589,9 @@ MAKEFLAGS=
589589

590590
# Identity of this package.
591591
PACKAGE_NAME='opensource COBOL 4J'
592-
PACKAGE_TARNAME='opensource-cobol-4j-1.1.11'
593-
PACKAGE_VERSION='1.1.11'
594-
PACKAGE_STRING='opensource COBOL 4J 1.1.11'
592+
PACKAGE_TARNAME='opensource-cobol-4j-1.1.12'
593+
PACKAGE_VERSION='1.1.12'
594+
PACKAGE_STRING='opensource COBOL 4J 1.1.12'
595595
PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp'
596596
PACKAGE_URL=''
597597

@@ -1382,7 +1382,7 @@ if test "$ac_init_help" = "long"; then
13821382
# Omit some internal or obsolete options to make the list less imposing.
13831383
# This message is too long to be a string in the A/UX 3.1 sh.
13841384
cat <<_ACEOF
1385-
\`configure' configures opensource COBOL 4J 1.1.11 to adapt to many kinds of systems.
1385+
\`configure' configures opensource COBOL 4J 1.1.12 to adapt to many kinds of systems.
13861386

13871387
Usage: $0 [OPTION]... [VAR=VALUE]...
13881388

@@ -1432,7 +1432,7 @@ Fine tuning of the installation directories:
14321432
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
14331433
--mandir=DIR man documentation [DATAROOTDIR/man]
14341434
--docdir=DIR documentation root
1435-
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.11]
1435+
[DATAROOTDIR/doc/opensource-cobol-4j-1.1.12]
14361436
--htmldir=DIR html documentation [DOCDIR]
14371437
--dvidir=DIR dvi documentation [DOCDIR]
14381438
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1454,7 +1454,7 @@ fi
14541454

14551455
if test -n "$ac_init_help"; then
14561456
case $ac_init_help in
1457-
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.11:";;
1457+
short | recursive ) echo "Configuration of opensource COBOL 4J 1.1.12:";;
14581458
esac
14591459
cat <<\_ACEOF
14601460

@@ -1581,7 +1581,7 @@ fi
15811581
test -n "$ac_init_help" && exit $ac_status
15821582
if $ac_init_version; then
15831583
cat <<\_ACEOF
1584-
opensource COBOL 4J configure 1.1.11
1584+
opensource COBOL 4J configure 1.1.12
15851585
generated by GNU Autoconf 2.69
15861586

15871587
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2133,7 +2133,7 @@ cat >config.log <<_ACEOF
21332133
This file contains any messages produced by compilers while
21342134
running configure, to aid debugging if configure makes a mistake.
21352135

2136-
It was created by opensource COBOL 4J $as_me 1.1.11, which was
2136+
It was created by opensource COBOL 4J $as_me 1.1.12, which was
21372137
generated by GNU Autoconf 2.69. Invocation command line was
21382138

21392139
$ $0 $@
@@ -3024,8 +3024,8 @@ fi
30243024

30253025

30263026
# Define the identity of the package.
3027-
PACKAGE='opensource-cobol-4j-1.1.11'
3028-
VERSION='1.1.11'
3027+
PACKAGE='opensource-cobol-4j-1.1.12'
3028+
VERSION='1.1.12'
30293029

30303030

30313031
cat >>confdefs.h <<_ACEOF
@@ -23446,7 +23446,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2344623446
# report actual input values of CONFIG_FILES etc. instead of their
2344723447
# values after options handling.
2344823448
ac_log="
23449-
This file was extended by opensource COBOL 4J $as_me 1.1.11, which was
23449+
This file was extended by opensource COBOL 4J $as_me 1.1.12, which was
2345023450
generated by GNU Autoconf 2.69. Invocation command line was
2345123451

2345223452
CONFIG_FILES = $CONFIG_FILES
@@ -23512,7 +23512,7 @@ _ACEOF
2351223512
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2351323513
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2351423514
ac_cs_version="\\
23515-
opensource COBOL 4J config.status 1.1.11
23515+
opensource COBOL 4J config.status 1.1.12
2351623516
configured by $0, generated by GNU Autoconf 2.69,
2351723517
with options \\"\$ac_cs_config\\"
2351823518

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
AC_PREREQ(2.59)
2121

22-
AC_INIT([opensource COBOL 4J],[1.1.11],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.11])
22+
AC_INIT([opensource COBOL 4J],[1.1.12],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.1.12])
2323
AC_CONFIG_SRCDIR([libcobj.h])
2424
AC_CONFIG_HEADERS([config.h])
2525
AC_CONFIG_TESTDIR([tests])

doc/requirements-all.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
| version (opensource COBOL 4J) | OS | version (JDK) |
22
| -- | -- | -- |
3+
| 1.1.12 | Windows | 21 |
4+
| 1.1.12 | Ubuntu 24.04 | 21 |
5+
| 1.1.12 | AlmaLinux 9 | 11 |
6+
| 1.1.12 | Amazon Linux 2023 | 21 |
37
| 1.1.11 | Windows | 21 |
48
| 1.1.11 | Ubuntu 24.04 | 21 |
59
| 1.1.11 | AlmaLinux 9 | 11 |

libcobj/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ publishing {
8080
register<MavenPublication>("gpr") {
8181
groupId = "jp.osscons.opensourcecobol"
8282
artifactId = "libcobj"
83-
version = "1.1.11"
83+
version = "1.1.12"
8484
from(components["java"])
8585
}
8686
}

0 commit comments

Comments
 (0)