Skip to content

Commit 14482b9

Browse files
committed
Bump project version to 5.10.0 and update docs
1 parent f0f9685 commit 14482b9

File tree

4 files changed

+32
-18
lines changed

4 files changed

+32
-18
lines changed

docs/src/site/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
theme: unidata-jekyll-theme
33

44
# this will appear in an HTML meta tag, sidebar, and perhaps elsewhere
5-
docset_version: 5.9
5+
docset_version: 5.10
66

77
# this appears on the top navigation bar next to the home button
88
topnav_title: netCDF-Java

docs/src/site/pages/netcdfJava/Upgrade.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
---
22
title: Upgrading to netCDF-Java version 5.x
3-
last_updated: 2025-08-08
3+
last_updated: 2025-10-30
44
sidebar: netcdfJavaTutorial_sidebar
55
toc: false
66
permalink: upgrade.html
77
---
88

99
## Requirements
1010

11-
* Java 8 or later is required
12-
13-
## Overview
14-
15-
A number of API enhancements have been made to take advantage of evolution in the Java language, for example _try-with-resource_ and _foreach_ constructs.
16-
The use of these make code simpler and more reliable.
17-
18-
Deprecated classes and methods have been removed, and the module structure and third-party jar use has been improved.
19-
20-
Java WebStart has been deprecated as of [Java 9](https://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html#JDK-8184998){:target="_blank"}.
21-
As such, we no longer utilize WebStart.
11+
* Java 8 or later is required to use the library.
12+
* Starting with version 5.10.0, Java 17 is required to build the library.
2213

2314
## Quick Navigation
15+
* [Summary of changes for v5.10.x](#netcdf-java-api-changes-510x)
2416
* [Summary of changes for v5.9.x](#netcdf-java-api-changes-59x)
2517
* [Summary of changes for v5.8.x](#netcdf-java-api-changes-58x)
2618
* [Summary of changes for v5.7.x](#netcdf-java-api-changes-57x)
@@ -32,13 +24,22 @@ As such, we no longer utilize WebStart.
3224
* [Summary of changes for v5.1.x](#netcdf-java-api-changes-51x)
3325
* [Summary of changes for v5.0.x](#netcdf-java-api-changes-50x)
3426

27+
## netCDF-Java API Changes (5.10.x)
28+
29+
Point release notes:
30+
* [5.10.0](https://github.com/Unidata/netcdf-java/releases/tag/v5.10.0){:target="_blank"} (_yyyy-mm-dd, unreleased_)
31+
32+
Starting with 5.10.x, the netCDF-Java library requires Java 17 to build (although the build will produce Java 8 bytecode, so the minimum supported version is still Java 8).
33+
Note: we are looking to update the minimum version of the JVM we support for the project.
34+
Please consider taking a moment to participate in the [poll on GitHub](https://github.com/Unidata/netcdf-java/discussions/1468){:target="_blank"}.
35+
3536
## netCDF-Java API Changes (5.9.x)
3637

3738
Point release notes:
3839
* [5.9.0](https://github.com/Unidata/netcdf-java/releases/tag/v5.9.0){:target="_blank"} (_2025-08-08_)
3940
* [5.9.1](https://github.com/Unidata/netcdf-java/releases/tag/v5.9.1){:target="_blank"} (_2025-09-09_)
4041

41-
The 5.9.x includes bug fixes around zarr support, scaling of projection parameters, and setting of the library path for the netCDF-C library.
42+
The 5.9.x release includes bug fixes around zarr support, scaling of projection parameters, and setting of the library path for the netCDF-C library.
4243
Additionally, udunits grammar code is now generated at build time, HTTP errors when disambiguating http/https locations has been improved, and scanning for filter providers is done once during initialization.
4344
EnhancementProviders are now loaded upon VariableDS instantiation, fixing a critical multithreaded environment related bug.
4445
Several ToolsUI improvements have been made as well.
@@ -184,6 +185,16 @@ Remove usages of `org.joda.time` outside of `ucar.nc2.time`.
184185

185186
## netCDF-Java API Changes (5.0.x)
186187

188+
### Overview
189+
190+
A number of API enhancements have been made to take advantage of evolution in the Java language, for example _try-with-resource_ and _foreach_ constructs.
191+
The use of these make code simpler and more reliable.
192+
193+
Deprecated classes and methods have been removed, and the module structure and third-party jar use has been improved.
194+
195+
Java WebStart has been deprecated as of [Java 9](https://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html#JDK-8184998){:target="_blank"}.
196+
As such, we no longer utilize WebStart.
197+
187198
Point release notes:
188199
* [5.0.0](https://github.com/Unidata/netcdf-java/releases/tag/v5.0.0){:target="_blank"} (_2019-07-29_)
189200

docs/src/site/pages/netcdfJava_tutorial/overview/BuildingFromSource.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Building From Source
3-
last_updated: 2025-08-08
3+
last_updated: 2025-10-30
44
sidebar: netcdfJavaTutorial_sidebar
55
permalink: building_from_source.html
66
toc: false
@@ -10,9 +10,12 @@ toc: false
1010

1111
The netCDF-Java source code is hosted on GitHub, and — as of v4.6.1 — we use Gradle to build it.
1212
Ant and Maven builds are no longer supported.
13-
To build, you need Git and JDK 8, JDK 11, or JDK 14 installed.
13+
To build, you need Git and, as of v5.9.2, Java 17 or higher (required for Gradle 9.0.0 or higher).
14+
Note that the bytecode produced by the Gradle build will be compatible with Java 8, and the test task will run using JDK 8 (thanks to the Gradle Toolchain feature).
15+
If the build cannot find a suitable JDK for testing, you will need to specify one in your `gradle.properties` file (see the [Gradle toolchain documentation](https://docs.gradle.org/current/userguide/toolchains.html#sec:custom_loc){:target="_blank"} for more details).
16+
The tests can be run using other JDK versions using `testX`, where `X` is the version number of one of the LTS releases of Java (currently `11`, `17`, `21`, or `25`).
1417

15-
First, clone the netCDF-Java repository from Github:
18+
First, clone the netCDF-Java repository from GitHub:
1619

1720
~~~bash
1821
git clone -o unidata https://github.com/Unidata/netcdf-java.git netcdf-java

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
netcdf-java = "5.9.2-SNAPSHOT"
2+
netcdf-java = "5.10.0-SNAPSHOT"
33

44
unidata-doc-theme = "0.0.6"
55

0 commit comments

Comments
 (0)