Skip to content

Commit 8a0ab78

Browse files
Update v2.5.4
1 parent 52cfea2 commit 8a0ab78

File tree

5 files changed

+58
-32
lines changed

5 files changed

+58
-32
lines changed

Changelog.md

Lines changed: 53 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# Change Log
22

3+
## v2.5.4
4+
5+
---
6+
Release Date: **13.09.2025**
7+
8+
- Added import option to ignore invalid column widths or row heights. Concept provided by pokorny for NaoXLSX (.Net)
9+
- Added test case
10+
311
## v2.5.3
412

513
---
614
Release Date: **19.07.2025**
715

8-
- Added support for in-line string values (non-formatted). Change provided by Misir for
9-
NanoXLSX (.NET)
16+
- Added support for in-line string values (non-formatted). Change provided by Misir for NanoXLSX (.NET)
1017
- Added test case
1118

1219
## v2.5.2
@@ -24,7 +31,6 @@ Release Date: **01.02.2025**
2431
- Fixed a bug in the handling of reading workbooks, when docProps are missing
2532
- Added test case
2633

27-
2834
## v2.5.0
2935

3036
---
@@ -57,7 +63,8 @@ Release Date: **24.11.2024**
5763
---
5864
Release Date: **26.10.2024**
5965

60-
- Fixed a bug regarding the determination of the first data cell in an empty worksheet. Bug fix provided by Martin Stránský for NanoXLSX (.NET)
66+
- Fixed a bug regarding the determination of the first data cell in an empty worksheet. Bug fix provided by Martin
67+
Stránský for NanoXLSX (.NET)
6168
- Updated Javadoc
6269

6370
## v2.4.1
@@ -87,20 +94,21 @@ Release Date: **21.07.2024**
8794
---
8895
Release Date: **24.02.2024**
8996

90-
- Fixed a bug when reading min and max values in the GetLastDataColumnNumber function. Bug fix provided by pokorny for NanoXLSX (.NET) and ported to Java
97+
- Fixed a bug when reading min and max values in the GetLastDataColumnNumber function. Bug fix provided by pokorny for
98+
NanoXLSX (.NET) and ported to Java
9199
- Fixed a bug in the GetFirstDataCellAddress function
92100
- Fixed test cases
93101
- Code maintenance
94102

95-
96103
## v2.3.1 & v2.3.2
97104

98105
---
99106
Release Date: ---
100-
- Code maintenance and bug fixing
101107

102-
Note: These versions were not released as artifacts since they were ported form NanoXLSX for .NET at the same date. All relevant changes will be published in a later version
108+
- Code maintenance and bug fixing
103109

110+
Note: These versions were not released as artifacts since they were ported form NanoXLSX for .NET at the same date. All
111+
relevant changes will be published in a later version
104112

105113
## v2.3.0
106114

@@ -116,22 +124,22 @@ Release Date: **10.09.2023**
116124
- Code maintenance
117125
- Code formatting
118126

119-
120127
## v2.2.0
121128

122129
---
123130
Release Date: **09.08.2023**
124131

125132
- Adapted hex color validation (clarified number of necessary characters)
126-
- Adaption of version handling. The constant VERSION in Version.java was replaced by the static method getVersion()
133+
- Adaption of version handling. The constant VERSION in Version.java was replaced by the static method getVersion()
127134
- Internal changes of build processes (Documentation generation is performed now by a GitHub Action)
128135

129136
## v2.1.1
130137

131138
---
132139
Release Date: **18.03.2023**
133140

134-
- Fixed a bug when a workbook contains charts instead of worksheets. Bug fix provided by Iivari Mokelainen for NanoXLSX (.NET) and ported to Java
141+
- Fixed a bug when a workbook contains charts instead of worksheets. Bug fix provided by Iivari Mokelainen for
142+
NanoXLSX (.NET) and ported to Java
135143
- Minor code maintenance
136144

137145
## v2.1.0
@@ -147,11 +155,13 @@ Release Date: **12.11.2022**
147155
- Updated example in demo
148156
- Code maintenance
149157

150-
Note: It seems that newer versions of Excel may store boolean attributes internally now as texts (true/false) and not anymore as numbers (1/0).
151-
This release adds compatibility to read this newer format but will currently store files still in the old format
158+
Note: It seems that newer versions of Excel may store boolean attributes internally now as texts (true/false) and not
159+
anymore as numbers (1/0).
160+
This release adds compatibility to read this newer format but will currently store files still in the old format
152161

153162
Note 2: The incomplete internal escaping of custom number format codes was removed due to the potential high complexity.
154-
Escaping must be performed currently by hand, according to OOXML specs: Part 1 - Fundamentals And Markup Language Reference, Chapter 18.8.31
163+
Escaping must be performed currently by hand, according to OOXML specs: Part 1 - Fundamentals And Markup Language
164+
Reference, Chapter 18.8.31
155165

156166
## v2.0.1
157167

@@ -160,7 +170,7 @@ Release Date: **04.10.2022**
160170

161171
- Code maintenance
162172
- Documentation update
163-
- Updated code formatter (reverted unreadable parametrized unit tests)
173+
- Updated code formatter (reverted unreadable parametrized unit tests)
164174

165175
## v2.0.1
166176

@@ -175,7 +185,9 @@ Release Date: **03.10.2022**
175185
- Added some internal notes to prepare the development of the next mayor version
176186

177187
Note:
178-
- When defining a custom number format, now the CustomFormatCode property must always be defined as well, since an empty value leads to an invalid Workbook
188+
189+
- When defining a custom number format, now the CustomFormatCode property must always be defined as well, since an empty
190+
value leads to an invalid Workbook
179191
- When a cell is now created (by constructor) with the type EMPTY, any passed value will be discarded in this cell
180192

181193
## v2.0.0
@@ -201,24 +213,29 @@ Release Date: **03.09.2022 - Major Release**
201213
### Worksheet
202214

203215
- Added a getter for the worksheet protection password hash (will be filled when loading a workbook)
204-
- Added the methods getFirstDataColumnNumber, getFirstDataColumnNumber, getFirstDataRowNumber, getFirstRowNumber, getLastDataColumnNumber, getFirstCellAddress, getFirstDataCellAddress, getLastDataColumnNumber, getLastDataRowNumber, getLastRowNumber, getLastCellAddress, getLastCellAddress and getLastDataCellAddress
216+
- Added the methods getFirstDataColumnNumber, getFirstDataColumnNumber, getFirstDataRowNumber, getFirstRowNumber,
217+
getLastDataColumnNumber, getFirstCellAddress, getFirstDataCellAddress, getLastDataColumnNumber, getLastDataRowNumber,
218+
getLastRowNumber, getLastCellAddress, getLastCellAddress and getLastDataCellAddress
205219
- Added the methods getRow and getColumns by address string or index
206220
- Added the method copy to copy a worksheet (deep copy)
207221
- Added a constructor with only the worksheet name as parameter
208222
- Added and option in goToNextColumn and goToNextRow to either keep the current row or column
209223
- Added the methods removeRowHeight and removeAllowedActionOnSheetProtection
210-
- Renamed columnAddress and rowAddress to columnNumber and rowNumber in the addNextCell, addCellFormula and removeCell methods
224+
- Renamed columnAddress and rowAddress to columnNumber and rowNumber in the addNextCell, addCellFormula and removeCell
225+
methods
211226
- Added several validations for worksheet data
212227

213228
### Cells, Rows and Columns
214229

215230
- In Cell, the address can now have reference modifiers ($)
216-
- The worksheet reference in the Cell constructor was removed. Assigning to a worksheet is now managed automatically by the worksheet when adding a cell
231+
- The worksheet reference in the Cell constructor was removed. Assigning to a worksheet is now managed automatically by
232+
the worksheet when adding a cell
217233
- Added a field cellAddressType in Cell
218234
- Cells can now have null as value, interpreted as empty
219235
- Added a new overloaded function resolveCellCoordinate to resolve the address type as well
220236
- Added validateColumnNumber and validateRowNumber in Cell
221-
- In Address, the constructor with string and address type now only needs a string, since reference modifiers ($) are resolved automatically
237+
- In Address, the constructor with string and address type now only needs a string, since reference modifiers ($) are
238+
resolved automatically
222239
- Address objects are now comparable
223240
- Implemented better address validation
224241
- Range start and end addresses are swapped automatically, if reversed
@@ -245,16 +262,20 @@ Release Date: **03.09.2022 - Major Release**
245262
- Added default values for dates and times in the import options
246263
- Added global casting import options: AllNumbersToDouble, AllNumbersToBigDecimal, AllNumbersToInt, EverythingToString
247264
- Added column casting import options: Numeric, Double, BigDecimal
248-
- Added global import options: EnforcePhoneticCharacterImport, EnforceEmptyValuesAsString, DateTimeFormat, TemporalCultureInfo
265+
- Added global import options: EnforcePhoneticCharacterImport, EnforceEmptyValuesAsString, DateTimeFormat,
266+
TemporalCultureInfo
249267
- Added a meta data reader
250268
- All style elements that can be written can also be read
251269
- All workbook elements that can be written can also be read (exception: passwords cannot be recovered)
252270
- All worksheet elements that can be written can also be read (exception: passwords cannot be recovered)
253271
- Better handling of dates and times, especially with invalid (too low and too high numbers) values
254272

255-
Note: Phonetic characters (like Ruby Characters / Furigana / Zhuyin / Pinyin) are discarded by default. If the import option "EnforcePhoneticCharacterImport" is set to true, the phonetic transcription will be displayed in brackets, right after the characters to be transcribed
273+
Note: Phonetic characters (like Ruby Characters / Furigana / Zhuyin / Pinyin) are discarded by default. If the import
274+
option "EnforcePhoneticCharacterImport" is set to true, the phonetic transcription will be displayed in brackets, right
275+
after the characters to be transcribed
256276

257277
### Misc
278+
258279
- Added a unit test project with several thousand, partially parametrized test cases
259280
- Added several constants for boundary dates in the Helper class
260281
- Added several functions for pane splitting in the Helper class
@@ -314,7 +335,8 @@ Release Date: **04.11.2018**
314335
---
315336
Release Date: **24.08.2018**
316337

317-
**Note**: Due to some refactoring (see below) in this version, changes of existing code may be necessary. However, most introduced changes are on a rather low level or can be fixed by search&replace
338+
**Note**: Due to some refactoring (see below) in this version, changes of existing code may be necessary. However, most
339+
introduced changes are on a rather low level or can be fixed by search&replace
318340

319341
- Fixed a bug in the calculation of OA Dates (internal format)
320342
- Fixed a bug regarding formulas in the reader
@@ -349,7 +371,8 @@ Release Date: **03.07.2018**
349371
Release Date: **03.07.2018**
350372

351373
- Added address types (no fixed rows and columns, fixed rows, fixed columns, fixed rows and columns)
352-
- Added new CellDirection Disabled, if the addresses of the cells are defined manually (addNextCell will override the current cell in this case)
374+
- Added new CellDirection Disabled, if the addresses of the cells are defined manually (addNextCell will override the
375+
current cell in this case)
353376
- Altered Demo 3 to to demonstrate disabling of automatic cell addressing
354377
- Extended Demo 1 to demonstrate the new address types
355378
- Minor, internal changes
@@ -363,7 +386,8 @@ Release Date: **08.06.2018**
363386
- Added new basic styles colorizedText, colorizedBackground and font as functions
364387
- Added a new constructor for Workbooks without file name to handle stream-only workbooks more logical
365388
- Added the functions hasCell, getLastColumnNumber and getLastRowNumber in the Worksheet class
366-
- Renamed the function SetColor in the class Fill (Style) to setColor, to follow conventions. Minor refactoring in existing projects may be possible
389+
- Renamed the function SetColor in the class Fill (Style) to setColor, to follow conventions. Minor refactoring in
390+
existing projects may be possible
367391
- Fixed a bug when overriding a worksheet name with sanitizing
368392
- Added new demo for the introduced style features
369393
- Internal optimizations and fixes
@@ -375,9 +399,11 @@ Release Date: **08.06.2018**
375399
Release Date: **31.05.2018**
376400

377401
- Fixed versioning issue
378-
- Fixed a bug in the processing of column widths. Bug fix provided by Johan Lindvall for PicoXLSX, adapted for PicoXLSX4j and NanoXLSX4j
402+
- Fixed a bug in the processing of column widths. Bug fix provided by Johan Lindvall for PicoXLSX, adapted for
403+
PicoXLSX4j and NanoXLSX4j
379404
- Added numeric data types Byte, BigDecimal, and Short (proposal by Johan Lindvall for PicoXLSX)
380-
- Changed the behavior of cell type casting. User defined cell types will now only be overwritten if the type is DEFAULT (proposal by Johan Lindvall for PicoXLSX)
405+
- Changed the behavior of cell type casting. User defined cell types will now only be overwritten if the type is
406+
DEFAULT (proposal by Johan Lindvall for PicoXLSX)
381407

382408
## v1.0.0
383409

NanoXLSX4j.Demo/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>nanoxlsx4j-root</artifactId>
77
<groupId>ch.rabanti</groupId>
8-
<version>2.5.3</version> <!-- Maintained in lib -->
8+
<version>2.5.4</version> <!-- Maintained in lib -->
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

@@ -21,7 +21,7 @@
2121
<dependency>
2222
<groupId>ch.rabanti</groupId>
2323
<artifactId>nanoxlsx4j</artifactId>
24-
<version>2.4.3</version> <!-- Maintained in lib -->
24+
<version>2.5.4</version> <!-- Maintained in lib -->
2525
</dependency>
2626
<!-- BENCHMARK -->
2727
<dependency>

NanoXLSX4j.Lib/pom.xml

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

77
<groupId>ch.rabanti</groupId>
88
<artifactId>nanoxlsx4j</artifactId>
9-
<version>2.5.3</version> <!-- Maintain also in demo and root project -->
9+
<version>2.5.4</version> <!-- Maintain also in demo and root project -->
1010
<packaging>jar</packaging>
1111

1212
<properties>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Add the following information to your POM file within the ```<dependencies>``` t
6868
<dependency>
6969
<groupId>ch.rabanti</groupId>
7070
<artifactId>nanoxlsx4j</artifactId>
71-
<version>2.5.3</version>
71+
<version>2.5.4</version>
7272
</dependency>
7373
```
7474

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>ch.rabanti</groupId>
88
<artifactId>nanoxlsx4j-root</artifactId>
99
<packaging>pom</packaging>
10-
<version>2.5.3</version>
10+
<version>2.5.4</version>
1111
<modules>
1212
<module>NanoXLSX4j.Lib</module>
1313
<!-- Do not add this to build -->

0 commit comments

Comments
 (0)