This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
The following commit(s) were added to refs/heads/master by this push: new 82691958 Prepare for a milestone release candidate 82691958 is described below commit 82691958e46ce9bc8eb36c3accb53a1953e3267c Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Feb 18 08:27:18 2024 -0500 Prepare for a milestone release candidate --- pom.xml | 6 +-- src/changes/release-notes.vm | 125 +++++++++++++++++++++++++++++++++++++------ 2 files changed, 113 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 05c53b95..81018d03 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ <artifactId>commons-imaging</artifactId> <name>Apache Commons Imaging</name> - <version>1.0-SNAPSHOT</version> + <version>1.0-M1-SNAPSHOT</version> <!-- Keep the description on a single line. Otherwise Maven might generate @@ -55,9 +55,9 @@ <commons.conf.dir>src/conf</commons.conf.dir> <!-- Commons Release Plugin --> - <commons.release.version>1.0-alpha3</commons.release.version> + <commons.release.version>1.0-M1</commons.release.version> <commons.bc.version>1.0-alpha2</commons.bc.version> - <commons.rc.version>RC2</commons.rc.version> + <commons.rc.version>RC1</commons.rc.version> <commons.release.isDistModule>true</commons.release.isDistModule> <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/imaging</commons.distSvnStagingUrl> <project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp> diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm index 9ec13c60..883439a7 100644 --- a/src/changes/release-notes.vm +++ b/src/changes/release-notes.vm @@ -15,8 +15,8 @@ ## specific language governing permissions and limitations ## under the License. ## - ${project.name} ${version} - RELEASE NOTES +${project.name} ${version} RELEASE NOTES +---------------------------------------- The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}. @@ -69,7 +69,7 @@ $action #else #set($dueto="") #end -o $issue ${action}$dueto +* $issue ${action}$dueto #end #set($action="") #set($issue="") @@ -82,7 +82,8 @@ No changes defined in this version. Changes in this version include: #if ($release.getActions('add').size() !=0) -New features: +New features +------------ #foreach($actionItem in $release.getActions('add')) #processaction() #end @@ -90,7 +91,8 @@ New features: #end ## #if ($release.getActions('fix').size() !=0) -Fixed Bugs: +Fixed Bugs +---------- #foreach($actionItem in $release.getActions('fix')) #processaction() #end @@ -98,7 +100,9 @@ Fixed Bugs: #end ## #if ($release.getActions('update').size() !=0) -Changes: +Changes +------- + #foreach($actionItem in $release.getActions('update')) #processaction() #end @@ -106,7 +110,9 @@ Changes: #end ## #if ($release.getActions('remove').size() !=0) -Removed: +Removed +------- + #foreach($actionItem in $release.getActions('remove')) #processaction() #end @@ -114,15 +120,105 @@ Removed: ## End of main loop #end -Historical list of changes: ${project.url}changes-report.html +Historical list of changes: ${project.url}/changes-report.html For complete information on ${project.name}, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the ${project.name} website: ${project.url} -The following changes are here only for history, from when the project was initially -created and was called Sanselan. +Download page: ${project.url}/download_text.cgi + +Have fun! +-Apache Commons Team + +----------------------------------------------------------------------------- + +Apache Commons Imaging 1.0-alpha3 Release Notes +----------------------------------------------- + +The Apache Commons Imaging team is pleased to announce the commons-imaging-1.0-alpha3 release! + +Apache Commons Imaging (previously Sanselan) is a pure-Java image library. + +Changes in this version include: + +New features +------------ + +* Add CIELAB and DIN99 conversion, reduce code duplication, and issues related to zero-division and precision. Issue: IMAGING-283. Thanks to Wanja Gayk. +* Imaging.getBufferedImage() drops alpha layer for TIFF images. Issue: IMAGING-216. Thanks to Gary Lucas. +* Consolidate redundant methods in TIFF datareaders. Issue: IMAGING-269. Thanks to Gary Lucas. +* Add list of TIFF files and example survey application. Issue: IMAGING-268. Thanks to Gary Lucas. + +Fixed Bugs +---------- + +* Add PNG predictor to reduce output size. Issue: IMAGING-330. Thanks to Gary Lucas. +* Change getExif name to getOutputSet. Issue: IMAGING-327. Thanks to Gary Lucas. +* Prevent OutOfMemoryError in BmpImageParser. This can happen when the color palette length is + a large negative number. Issue: IMAGING-325. Thanks to Jin Wang. +* Read TIFFs with 32-bit samples. Issue: IMAGING-320. Thanks to Gary Lucas. +* The Imaging ImageParser's used HashMap's before, but on this issue we replaced the maps by proper + ImagingParameter classes, that encapsulate the parameters for each image format. + + The Imaging class also had the HashMap methods removed, but we also removed the public methods that + supported parameters. This was due to the complexity to handle cases where users could provide a byte + array, or file, and parameters. In Java, with or without generics, it was rather difficult to handle + the cases where users could provide a PNG image stream with TIFF parameters. + + To prevent issues like this, we will improve the ImageParser's API's, and work on either providing + other ways to customize and create parsers (factories, builders, etc.) or similar ways to use + the Imaging entry class (like merging parameters or using parameter builders.) + + This was the last blocker issue of the 1.0 release vote, rolled a few years ago. Issue: IMAGING-159. Thanks to Bruno P. Kinoshita, Gary Lucas, Matt Juntunen. +* Encoding Support for IPTC metadata. Issue: IMAGING-168. Thanks to Yavuz Kavus. +* Array sizes not checked for overflow in BmpImageParser. Issue: IMAGING-279. +* ArrayIndexOutOfBoundsException on reading simple GeoTIFF. Issue: IMAGING-265. Thanks to Gary Lucas. +* BMP Parser physicalWidthDpi and physicalHeightDpi truncated before rounding off. Issue: IMAGING-264. +* Failure when reading a partial raster from a floating-point TIFF Issue: IMAGING-263. Thanks to Gary Lucas. +* Fix typos Issue: IMAGING-291. Thanks to Arturo Bernal. +* Fix javadoc Issue: IMAGING-289. Thanks to Arturo Bernal. +* Fix IptcParserTest on Windows Issue: IMAGING-308. Thanks to Gary Lucas. +* Read integer data from GeoTIFFS Issue: IMAGING-266. Thanks to Gary Lucas. +* Corrected handling of ExtraSamples tag Issue: IMAGING-312. Thanks to Gary Lucas. +* Decoding of Rational Numbers broken when large values present Issue: IMAGING-285. Thanks to Gary Lucas. +* Update examples, add GeoTIFF metadata to output Issue: IMAGING-314. Thanks to Gary Lucas. +* Read TIFFs with multiple floating-point sampless Issue: IMAGING-311. Thanks to Gary Lucas. +* A PNG image using indexed color type but no PLTE chunks throws NPE. Issue: IMAGING-317. Thanks to OSS-Fuzz. +* Validate when accessing GIF color table array. Issue: IMAGING-318. Thanks to OSS-Fuzz. + +Changes +------- + +* Bump animal-sniffer-maven-plugin from 1.19 to 1.21 #120, #199. Thanks to Dependabot. +* Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #117. Thanks to Dependabot. +* Bump spotbugs from 4.0.6 to 4.7.0 #111 #118 #123 #128 #156 #160 #167 #174 #185 #188 #191 #208 #218. Thanks to Dependabot. +* Bump spotbugs-maven-plugin from 4.0.4 to 4.6.0.0 #111 #115 #125 #129 #157 #171 #176 #180 #186 #192 #211. Thanks to Dependabot. +* Bump maven-pmd-plugin from 3.13.0 to 3.15.0 #109 #166. Thanks to Dependabot. +* Bump actions/setup-java from v1.4.0 to v3 #92 #95 #101 #127 #213. Thanks to Dependabot. +* Bump commons-io from 2.7 to 2.11.0 #96 #152 #153, #158. Thanks to Dependabot. +* Bump junit-jupiter from 5.6.2 to 5.8.2 #97 #119 #151 #170 #172 #187. Thanks to Dependabot. +* Bump actions/checkout from v2.3.2 to v3 #99 #107 #175 #181 #205. Thanks to Dependabot. +* Remove redundant local variable Issue: IMAGING-290. Thanks to Arturo Bernal. +* Java 8 improvements Issue: IMAGING-288. Thanks to Arturo Bernal. +* Simplify assertions in tests Issue: IMAGING-287. Thanks to Arturo Bernal. +* Use 'compare()' method to compare numbers Issue: IMAGING-295. Thanks to Arturo Bernal. +* Use java style array declaration Issue: IMAGING-294. Thanks to Arturo Bernal. +* Throw ImageReadException if the PNG parser is given an image with invalid ICC Profile. Issue: IMAGING-298. Thanks to OSS-Fuzz. +* Throw ImageReadException if the GIF parser is given an image with invalid image data instead of throwing IndexOutOfBoundsException. Issue: IMAGING-300. Thanks to OSS-Fuzz. +* Throw ImageReadException if the GIF parser is given an image with invalid Lzw table instead of throwing IndexOutOfBoundsException. Issue: IMAGING-301. Thanks to OSS-Fuzz. +* Throw ImageReadException if the JPEG parser is given an image with a negative number of segments in SOF0Segment. Issue: IMAGING-302. Thanks to OSS-Fuzz. +* Use Comparator combinator Issue: IMAGING-304. Thanks to Arturo Bernal. +* Simplify If-else conditions Issue: IMAGING-303. Thanks to Arturo Bernal. +* Replace Collections.sort with list.sort Issue: IMAGING-305. Thanks to Arturo Bernal. +* Remove redundant variables Issue: IMAGING-315. Thanks to Arturo Bernal. +* Bump github/codeql-action from 1 to 2 #216 Thanks to Dependabot. + +Have fun! +-Apache Commons Imaging team + +----------------------------------------------------------------------------- Release 0.97 ------------ @@ -131,18 +227,16 @@ Release 0.97 * Removed the images from the www.wpclipart.com Public Domain library. * Improved the examples illustrating how to change EXIF metadata. * Applied a patch from Niall Pemberton around jdk1.5 compatibility: - """ Sanselan claims JDK 1.4 compatibility, but a JDK 1.5 method (Class's getSimpleName() [1]) has been used in JpegRewriter - """ * Applied a "Build Improvements" patch from Niall Pemberton: - """ I took a look at the propsed 0.96 relelase and have some suggestions to improve the build: * Add standard manifest entries to jar * Lock down version numbers for maven compiler, surefire and javadoc plugins * generate sources jar for the release * include the RELEASE-NOTES in the binary distribution * include NOTICE/LICENSE files in the javadoc jar - """ + +----------------------------------------------------------------------------- Release 0.96 ------------ @@ -184,11 +278,12 @@ Release 0.96 * Added Apache license header to bin.xml and src.xml Maven assembly descriptors. * Added Javadocs to the binary distribution +----------------------------------------------------------------------------- Release 0.94 ------------ -First Apache release of Sanselan +First Apache release of Sanselan. Fixed bugs: -----------