Skip to content

Latest commit

 

History

History
211 lines (126 loc) · 6.24 KB

RELEASE_NOTES.adoc

File metadata and controls

211 lines (126 loc) · 6.24 KB

Release Notes

Features

  • Add a way to set an ExceptionResolver to Office stamper, with OfficeStamperConfiguration#setExceptionResolver(ExceptionResolver) and allows users to handle errors programmatically as was expressed in the old Issue #65

    • Added an ExceptionsResolvers class providind default implementations

    • It deprecates setFailOnUnresolvedExpression(boolean), unresolvedExpressionsDefaultValue(String), replaceUnresolvedExpressions(boolean) and leaveEmptyOnExpressionError(boolean).

Dependencies

  • Bumped org.docx4j:docx4j-core from version 11.4.11 to 11.5.0

  • Bumped org.springframework:spring-context from version 6.1.11 to 6.1.12.

Continuous Integration

  • Added Renovate settings to improve over dependabot

  • Follow best practices for maven-gpg-plugin

  • Removed GitHub .devcontainer settings

  • Bumped actions/configure-pages to v5

  • Bumped org.pitest:pitest-maven to 1.16.3

  • Bumped org.apache.maven.plugins:maven-javadoc-plugin to 3.10.0

  • Bumped org.apache.maven.plugins:maven-gpg-plugin to 3.2.5

  • Bumped org.apache.maven.plugins:maven-site-plugin to 3.20.0

  • Bumped org.apache.maven.plugins:maven-project-info-reports-plugin to 3.7.0

  • Bumped org.junit.jupiter:junit-jupiter to 5.11.0

Refactorings

  • Improved some logs related to unresolved errors

  • Improved comments collections

Tests

  • Tests can now differentiate tables with their asciidoc-like representation

  • Tests can now differentiate when paragraph style has the cnfStyle property set

  • Quite a few tests have been remodeled to decrease their verbosity

  • Added a regression test for Issue #64

Features

  • Office-stamper can now format all java.time objects directly from standard configuration (issue #411), see engine/src/test/java/pro/verron/officestamper/test/DateFormatTests.java

  • Office-stamper can now resolve multiline placeholders (not multi paragraph, just with linebreaks)(issue #422)

  • Office-stamper proven can resolve custom function inside comments expressions (issue #56)

  • Office-stamper proven can resolve displayParagraphIf inside table with repeatTableRow (issue #52)

Dependencies

  • Bumped org.springframework:spring-expression from version 6.1.11 to 6.1.12.

Documentation

  • The release notes have been separated into their own file for better organization and easier access.

  • Deprecated Paragraph#replaceAll and Paragraph#contains from api package as it was a remnant of a core fix.

Tests

  • Tests can now better differentiate types of breaks in word documents

  • Fixed a regression in tests about whitespaces manipulation

Features

  • Office-stamper can now resolve images inside footers and headers (issue #53).

    • Added the DocxPart type to wrap the docx4j.WordprocessingMLPackage and specify a working subpart.

    • Breaking Change: Updated references to WordprocessingMLPackage by DocxPart in API. A default implementation is provided to support existing implementations, but upgrading to the latest version is recommended.

    • Breaking Change: The order of resolution has been modified. Please check if you had specific expectations in your custom implementations, though nothing should have broken.

Dependencies

  • Bumped org.springframework:spring-expression and org.springframework:spring-context from version 6.1.10 to 6.1.11.

Documentation

  • Added linebreak replacement feature mentioned in README.

Tests

  • Added a test for the linebreak replacement feature inside tables.

  • Introduced the makeResource method that allows generating a Word document directly from textual representation.

  • Removed the integration subfolder in tests and moved its content to the main test folder.

  • Fixed a configuration error in log level settings for tests.

Features

  • Office-stamper can now support forms control replacement from the proposal #286.

Bugfixes

  • Fixed issues when computing DOCX run length, avoiding potential bugs.

Dependencies

  • Bumped org.springframework from version 6.1.8 to 6.1.10.

Continuous Integration

  • Added a new Maven extension for caching the build by @caring-coder in #389.

Tests

  • Stringification in tests now supports headers and footers.

  • Simplified templates.

Refactorings

  • StampTable are now Value objects.

Features

  • The raw stamper does not carry any comment processors by default.

Dependencies

  • Bumped org.springframework:spring-expression to version 6.1.8.

Documentation

  • Updated README howto to document recent API changes.

  • Updated documentation to be more GitHub-friendly.

Refactorings

  • Updated the mechanism to walk through a Word document.

  • Prepared to separate resolvers into two: the future 'engine resolver' (encapsulates template features) and 'context resolver' (encapsulates stamped data).

  • Updated exception management and messages.

Bugfixes

  • Fixed dependency issue of v2.0.

Refactorings

  • Removed legacy APIs.

  • Renamed pro.verron:docx-stamper to pro.verron.office-stamper:engine.

  • Implemented modularization.

Bugfixes

  • Regression fix.

Features

  • Introduced new APIs.

Refactorings

  • Introduced new experimental namespace for beta features.

  • Moved toward modularization.

Features

  • Introduced the preset namespace to hold default configurations of the engine.

  • The engine can now run without a default resolver; it will throw an exception when it needs to find a resolver in that case.

Refactorings

  • ObjectResolver to replace ITypeResolver.

  • null stamping behavior is now managed by specific ObjectResolver implementations.

Features

  • lorem ipsum

Bugfixes

  • lorem ipsum

Dependencies

  • lorem ipsum

Documentation

  • lorem ipsum

Continuous Integration

  • lorem ipsum

Tests

  • lorem ipsum

Refactorings

  • lorem ipsum