3.31.1
3.31.1 (2024-10-31)
Summary
Migrated to Java 11, Gradle 8.10.2, GeoTools 30.2.
Support JPG and JPEG formats.
Memory: Improve memory and class management (e.g. by releasing resources when no longer required).
Metrics: Add new metrics and clarify their meanings.
Health Status: Implement new end point to help identify when the server is hanging on cluster mode (experimental).
Improve test code coverage and cleanup the source tree.
Reintroduce pixel perfect generation of PDF.
Breaking changes
HumanAlphaSerie is moved from package org.mapfish.print to org.mapfish.print.jasperreports.
Rather than returning null when we fail to get a Resource from the JasperReport, we now throw the exception (wrapped in a RuntimeException).
Thanks to all the devs involved...
New feature
- eaf133e Add version 3.30 (@sbrunner)
- #2886 Support jpeg and jpg formats (@BaharWeb)
- #3379 Application health status check (@sebr72)
- #3328 GSMFP-23 (@sebr72)
- #3429 Log when synchronous or asynchronous print reports are requested (@sebr72)
- #3268 Memory related cleanups (@sebr72)
- #3292 Close resources (@sebr72)
- f4c071f Remove schweizmobil dependent tests (@sebr72)
- #3284 Improve class management and bug fixes (@sebr72)
- #3483 Add deadlock healthcheck (@sebr72)
- 89f7d43 Add an dist task to easyly get out them (@sbrunner)
- #3025 Add allowed char in the application name (@sbrunner)
- #2969 Display a comprehensive message (@sbrunner)
- #3446 Add new metrics (@sebr72)
- #2941 Add application ID in the JSON logs (@sbrunner)
Fixed bugs
- #2888 Fix the created files owner (@sbrunner)
- #2857 Remove some build warnings essentially deprecated warnings (@sbrunner)
- #3492 Use backward compatible column type (@sebr72)
- #2965 Fix Sonarcloud errors (@sebr72)
- #3288 Codebase cleanup. Bug fixes (@sebr72)
- #3198 Fix spelling of Referer header, fixes #3197 (@dispiste, @sbrunner)
- #3200 Remove mechanism to hide Exception tree (@sebr72)
- #3072 Close the database connection (@sbrunner)
- #2925 Fix the repository (@sbrunner)
- #3203 Fix some SonarCloud security and Bug (@sbrunner)
- #3156 Fix table with null values (@sbrunner)
- #2939 [Backport master] Fix reload (@c2c-bot-gis-ci, @sebr72, @sbrunner)
- #2999 Add canoeing layer test currently failing with tomcat on JDK 17 (@sebr72)
- #3269 Better errors messages (@sbrunner)
- #3373 Fix encoding in pretty mode (@sbrunner)
- #2964 Fix master error (@sbrunner)
- #3196 Remove catch Throwable to expose Error (@sebr72)
- #2966 Fix acceptances test run (@sbrunner)
- #3309 Fix spelling and grammar issues in docs and source code comments (@mholthausen)
- #3294 Fix the legend scale factor if the max width isn't set (@sbrunner)
- #3241 Fix 3192 (@sebr72, @sbrunner)
- #2848 Fix and improve the debugging mode (@sbrunner)
- #2846 [Backport master] [Backport 3.30] Fix CVE (@c2c-bot-gis-ci, @sbrunner)
- #3192 [Backport master] Fix retry request (@c2c-bot-gis-ci-2, @sbrunner)
- #3040 [Backport master] [Backport 3.30] Fix CVE (@c2c-bot-gis-ci, @sbrunner)
- #2819 [Backport master] Add a log message on all the request try (@c2c-bot-gis-ci, @sbrunner)
- #3307 Fix typos in different files (@jansule)
- #3008 Fix image simiarity test (@sbrunner)
- #3482 Fix Python install in workflows (@sbrunner)
- #3130 Calculate correct size for ImageLayer to avoid rescaling (@sebr72)
- #3286 Fix the labelYOffset documentation (@sbrunner)
Documentation
- #3408 Documentation: improve instructions for scaling configuration (@jwkaltz, @geo-ghci-int[bot])
- #3380 Add documentation about the
docker-pre-stop-print
script (@sbrunner) - #3287 Doc: Fix typo (@sbrunner)
- #3392 Documentation for the synchronous print request (@sebr72)
- 9e95e03 Fix typo in SECURITY.md (@sbrunner)
- #2852 [Backport master] Add jitpack package in the read me, cleanup (@c2c-bot-gis-ci, @sbrunner)
- #2984 Clarify the horizontal scaling documentation (@sbrunner)
- 885a756 Typo (@sbrunner)
- fa2fcba Fix end lines (@sbrunner)
- 9227efb Fix add Horizontal scaling in pages.json (@sbrunner)
- ee0f031 Add Horizontal scaling in pages.json (@sbrunner)
- 26aa5c7 Allign the support on GeoMapFish 2.8 (@sbrunner)
Security fixes
Dependency update
- #3092 Update all patch versions (master) (patch) (@renovate[bot])
- #3064 Update all minor versions (master) (minor) (@renovate[bot], @sbrunner)
- #3141 Update all patch versions (master) (patch) (@renovate[bot], @sbrunner)
- #3031 Update spotbugs to v4.7.3 (master) (minor) (@renovate[bot])
- #3244 Update CI dependencies to v1.6.18 (master) (patch) (@renovate[bot])
- #3245 Update all patch versions (master) (patch) (@renovate[bot])
- #3222 Update CI dependencies to v1.6.17 (master) (patch) (@renovate[bot])
- #3297 Update all patch versions (master) (patch) (@renovate[bot])
- #2950 Update dependency com.google.guava:guava to v32 (master) (@renovate[bot])
- #3011 Update pre-commit hook pre-commit/mirrors-prettier to v3 (master) (@renovate[bot])
- #3063 Update all patch versions (master) (patch) (@renovate[bot])
- #3041 Update all patch versions (master) (patch) (@renovate[bot])
- #2882 Use Java 11 (@sbrunner)
- #3213 Update dependency org.json:json to v20240205 (master) (@renovate[bot])
- #2827 Update geotools to v28.2 (master) (minor) (@renovate[bot])
- #3449 Update pre-commit hook renovatebot/pre-commit-hooks to v37.440.7 (master) (@renovate[bot])
- #3358 Update camptocamp/geoserver Docker tag to v16 (master) (@renovate[bot])
- #3333 Update CI dependencies to v1.6.21 (master) (patch) (@renovate[bot])
- #3136 Upgrade GeoServer, decrease max distance from 1 to 0 (@sbrunner)
- #3334 Update all patch versions (master) (patch) (@renovate[bot])
- #3472 Update pre-commit hook renovatebot/pre-commit-hooks to v38.106.4 (master) (@renovate[bot])
- #2898 Update geotools to v29 (master) (major) (@renovate[bot])
- #3453 Update dependency ubuntu to v24 (master) (@renovate[bot])
- #3356 Update CI dependencies (master) (minor) (@renovate[bot])
- #3000 Back to Gradle version 7.x (@sbrunner)
- #3212 Update all minor versions (master) (minor) (@renovate[bot])
- #2929 Update all minor versions (master) (minor) (@renovate[bot])
- #3143 Update actions/upload-artifact action to v4 (master) (@renovate[bot])
- #3145 Update dependency com.google.guava:guava to v33 (master) (@renovate[bot])
- #2975 Update dependency pre-commit to v3 (master) (@renovate[bot])
- #3116 Update all patch versions (master) (patch) (@renovate[bot])
- #3211 Update all patch versions (master) (patch) (@renovate[bot])
- #2949 Update all minor versions (master) (minor) (@renovate[bot])
- #3117 Update actions/github-script action to v7 (master) (@renovate[bot])
- #3355 Update all patch versions (master) (patch) (@renovate[bot])
- #3371 Update CI dependencies to v1.6.22 (master) (patch) (@renovate[bot])
- #3455 Update pre-commit hook renovatebot/pre-commit-hooks to v38 (master) (@renovate[bot])
- #3009 Update all patch versions (master) (patch) (@renovate[bot], @sbrunner)
- #3050 Update dependency com.amazonaws:aws-java-sdk-s3 to v1.12.543 (master) (@renovate[bot])
- #2889 Update all patch versions (master) (patch) (@renovate[bot])
- #3042 Update all minor versions (master) (minor) (@renovate[bot])
- #2825 Update spring to v5.8.2 (master) (patch) (@renovate[bot])
- #3296 Update CI dependencies (master) (patch) (@renovate[bot])
- #3469 Update all minor versions (master) (minor) (@renovate[bot])
- #2823 Update dependency gradle to v6.9.4 (master) (@renovate[bot])
- #3385 Update all patch versions (master) (patch) (@renovate[bot])
- #2928 Update all patch versions (master) (patch) (@renovate[bot])
- #3270 Update all patch versions (master) (patch) (@renovate[bot])
- #2918 Update all patch versions (master) (patch) (@renovate[bot])
- #2973 Update all minor versions (master) (minor) (@renovate[bot], @sbrunner)
- #2963 Revert spotbugs update and fix Renovate configuration (@sbrunner)
- #3055 [Backport master] Update dependency com.amazonaws:aws-java-sdk-s3 to v1.12.543 (3.29) (@c2c-bot-gis-ci, @sbrunner)
- #2828 Update dependency org.json:json to v20230227 (master) (@renovate[bot])
- #3451 Update actions/setup-python action to v4 (master) (@renovate[bot])
- #3100 Update all minor versions (master) (minor) (@renovate[bot], @sbrunner)
- #3247 Update dependency org.json:json to v20240303 (master) (@renovate[bot])
- #3452 Update actions/setup-python action to v5 (master) (@renovate[bot])
- #3001 Upgrade Checkstyle to version 10 (@sbrunner, @sebr72)
- #3142 Update camptocamp/geoserver Docker tag to v2.24.1 (master) (@renovate[bot])
- #3118 Update dependency io.sentry:sentry-logback to v7 (master) (@renovate[bot])
- #3476 Update pre-commit hook renovatebot/pre-commit-hooks to v38.107.0 (master) (@renovate[bot])
- #3188 Update all minor versions (master) (minor) (@renovate[bot])
- #2822 Update all patch versions (master) (patch) (@renovate[bot])
- #3010 Update all minor versions (master) (minor) (@renovate[bot])
- #3094 Update dependency org.json:json to v20231013 (master) (@renovate[bot])
- #3359 Update dependency net.logstash.logback:logstash-logback-encoder to v8 (master) (@renovate[bot])
- #3180 Update all patch versions (master) (patch) (@renovate[bot])
- #3210 Update CI dependencies (master) (patch) (@renovate[bot])
- #3065 Update actions/checkout action to v4 (master) (@renovate[bot])
- #2974 Update dependency org.json:json to v20230618 (master) (@renovate[bot])
- #3028 Update gradle to v8 (master) (major) (@renovate[bot])
- #2948 Update all patch versions (master) (patch) (@renovate[bot], @sbrunner)
- #3447 Update CI dependencies (master) (patch) (@renovate[bot])
- #3448 Update all patch versions (master) (patch) (@renovate[bot])
- #2891 Update jasperreports to v6.20.1 (master) (patch) (@renovate[bot])
- #3357 Update camptocamp/geoserver Docker tag to v2.25.2 (master) (@renovate[bot])
- #3162 Migrate geotools version from 29x to 30x (@sebr72)
- #3246 Update CI dependencies (master) (minor) (@renovate[bot])
- #3181 Update CI dependencies (master) (@renovate[bot])
- #2972 Update all patch versions (master) (patch) (@renovate[bot])
- #2896 Update all minor versions (master) (minor) (@renovate[bot])
- #2824 Update metrics to v4.2.17 (master) (patch) (@renovate[bot])
- #2826 Update all minor versions (master) (minor) (@renovate[bot])
Chore
Changes that shouldn't affect the users like continuous integration updates
- #3369 More comprehensible examples (@sbrunner)
- #3443 Cleanup dependencies (@sbrunner)
- #2879 Add empty pre-commit configuration (@sbrunner)
- c6b0af5 Uses dependencyDashboardApproval instance disable (@sbrunner)
- #3471 Ungoup geotools minor and multiple (@sbrunner)
- 0c7786a Fix publish (@sbrunner)
- #2859 Fix the event type from edit to edited in pull request check workflow (@sbrunner)
- 6977b2a Separate GeoServer minor (@sbrunner)
- #2813 [Backport master] Fix publish (@c2c-bot-gis-ci, @sbrunner)
- #3164 CI updates (@sbrunner)
- #3487 End of support of version 3.27 (@sbrunner)
- #2860 Fix new error with attr in pull request check workflow (@sbrunner)
- 44ce3c1 Typo (@sbrunner)
- #3139 Example test pdf_a_compliant: add a hyperlink in the example report (@jwkaltz)
- #2806 [Backport master] Fix create release (@c2c-bot-gis-ci, @sbrunner)
- #2817 Run the changelog tow times a week (@sbrunner)
- #2967 Get the logs in the development environment (@sbrunner)
- aa97215 Booth are required (@sbrunner)
- 3d0bec0 Fix changelog generation (@sbrunner)
- 58806d4 Unwanted whitespace (@sbrunner)
- #2815 [Backport master] Fix the release name to be compatible with the changelog generation (@c2c-bot-gis-ci, @sbrunner)
- #3477 CI updates (@sbrunner)
- #3161 Re-enable ignored unit test (@sebr72)
- #3320 Cleanup the dpkg diff (@sbrunner)
- #3445 CI updates (@sbrunner)
- #3467 Don't update checkstyle on old branches (@sbrunner)
- #3314 CI updates (@sbrunner)
- #3444 Test context with h2 datasource (@cmangeat, @geo-ghci-int[bot])
- #3191 CI updates (@sbrunner)
- #2808 [Backport master] Fix create release (@c2c-bot-gis-ci, @sbrunner)
- 4adc837 Fix the changelog generation (@sbrunner)
- #2885 Remove build hack (@sbrunner)
- #3402 Do every month a new release on all stabilization branches (@sbrunner)
- 1935bdb Increase the timeout on rebuild (@sbrunner)
- #2958 Add pre-commit hook to format the Java code, format them (@sbrunner)
- #3175 CI updates (@sbrunner)
- #3171 CI updates (@sbrunner)
- #3308 CI updates (@sbrunner)
- #3436 [Backport master] Fix release publishing (@c2c-bot-gis-ci-2, @sbrunner)
- #3411 [Backport master] Fix publishing (@c2c-bot-gis-ci-2, @sbrunner)
- #3078 CI updates (@sbrunner)
- ba5a0d8 Update renovate.json5 (@sbrunner)
- #3416 [Backport master] Fix publishing (@c2c-bot-gis-ci-2, @sbrunner)
- #3189 CI updates (@sbrunner)
- #3468 Don't update checkstyle on old branches (@sbrunner)
- ad613bb Group checkstyle and spodbug updates (@sbrunner)
- #3424 [Backport master] Fix publish (@c2c-bot-gis-ci-2, @sbrunner)
- #3221 Add PDF/A validation test (@vuilleumierc)
- 3260677 Add package write permissing to continus integration workflow (@sbrunner)
- #3039 Upgrade the use Python version to 3.9 (@sbrunner)
- #3466 CI updates (@sbrunner)
- #2940 Remove Gradle 6.9.x deprecated warning (@sebr72)
- 3e1c446 Fix rebuild (@sbrunner)
- 5d2f4b0 Create the groups only on the major revisions (@sbrunner)
- #3254 CI updates (@sbrunner)
- #2858 Remove Snyk pinning (@sbrunner)
- #3481 CI updates (@sbrunner)
- #3193 CI updates (@sbrunner)
- #3202 Remove All CHECKSTYLE:OFF (@sbrunner)