-
Add the
PostProcessor
concept to be able to add cleaners or summaries at stamping finish. -
#68 Filled to
displayXXXIf
panoply with:-
displayParagraphIf(boolean)
,displayParagraphIfPresent(object)
anddisplayParagraphIfAbsent(object)
-
displayTableRowIf(boolean)
,displayTableRowIfPresent(object)
anddisplayTableRowIfAbsent(object)
-
displayTableIf(boolean)
,displayTableIfPresent(object)
anddisplayTableIfAbsent(object)
-
displayWordsIf(boolean)
,displayWordsIfPresent(object)
anddisplayWordsIfAbsent(object)
-
displayDocPartIf(boolean)
,displayDocPartIfPresent(object)
anddisplayDocPartIfAbsent(object)
-
-
The two provided evaluation context configurer now include the classic Get Accessor and the Map Accessor, so the object used as context can be much more flexible.
-
ie.
${name}
can now refer to an objectgetName()
method or to a mapget("name")
value.
-
-
BREAKING -
Paragraph#getComment
now returns a Collection instead of an Optional, because one paragraph can have several comments. Fixes a bug when commenting several groups of runs by different comments in a single paragraph. -
#69 Office-stamper is now aware of Footnotes and Endnotes, it only cleans orphaned notes with
standardWithPreprocessing
configuration for now, but probably going to run the stamping as well in future versions. -
#510 All
repeatXXX
can now accept Iterable as input
-
Bump
org.docx4j:docx4j-core
from11.5.0
to11.5.1
-
Bump
org.docx4j:docx4j-JAXB-ReferenceImpl
from11.5.0
to11.5.1
-
Bump
org.springframework:spring-expression
from6.1.14
to6.2.1
-
Bump
org.springframework:spring-context
from6.1.14
to6.2.1
-
Bump
org.junit.jupiter:junit-jupiter
from5.11.3
to5.11.4
-
Bump
org.pitest:pitest-maven
from1.17.0
to1.17.3
-
Bump
org.apache.maven.plugins:maven-surefire-plugin
from3.5.1
to3.5.2
-
Bump
org.apache.maven.plugins:maven-site-plugin
from3.20.0
to3.21.0
-
Bump
org.apache.maven.plugins:maven-project-info-reports-plugin
from3.7.0
to3.8.0
-
Bump
org.apache.maven.plugins:maven-surefire-report-plugin
from3.5.1
to3.5.2
-
Bump
org.apache.maven.reporting:maven-reporting-exec
from2.0.0-M14
to2.0.0
-
Bump
org.asciidoctor:asciidoctor-maven-plugin
from3.1.0
to3.1.1
-
Bump
org.apache.maven.plugins:maven-javadoc-plugin
from3.10.1
to3.11.2
-
Bump
org.apache.maven.plugins:maven-gpg-plugin
from3.2.5
to3.2.7
-
Removed the old
ObjectDeleter
utility class to use mostlyWmlUtils#remove
method instead. -
All Lang info is removed with
standardWithPreprocessing
configuration now.
-
Create the ObjectContextFactory, and the MapContextFactory to test all use cases with POJO Beans and Map equally.
-
Fix a bug in Locale when some test failed
-
Move processors-specific test outside the DefaultTest class
-
#114 added a test to trace this still unresolved issue.
-
Word 2 String now includes comments, endnotes and footnotes
-
String 2 Word now includes comments
-
It is now possible to add custom function to the Spel context in a simpler way. Try using
OfficeStamperConfiguration.addCustomFunction
methods. -
Added the
pro.verron.officestamper.utils
package to provide useful and common elements for core, preset, test and users. -
Deprecated the
Paragraph
wrapper now can provide a bit more advanced capability on innerP
, don’t recommend callinggetP()
anymore.
-
MAY BREAK Change java target from
17
to21
-
Bump
org.springframework:spring-expression
from6.1.12
to6.1.14
-
Bump
org.springframework:spring-context
from6.1.12
to6.1.14
-
Removed dependabot analysis
-
Bump
org.apache.maven.plugins:maven-gpg-plugin
from3.2.5
to3.2.7
-
Bump
org.apache.maven.plugins:maven-javadoc-plugin
from3.10.0
to3.10.1
-
Bump
org.apache.maven.plugins:maven-surefire-plugin
from3.5.0
to3.5.1
-
Bump
org.apache.maven.reporting:maven-surefire-report-plugin
from3.5.0
to3.5.1
-
Bump
org.apache.maven.plugins:maven-site-plugin
from3.20.0
to3.21.0
-
Bump
org.apache.maven.plugins:maven-project-info-reports-plugin
from3.7.0
to3.8.0
-
Bump
org.apache.maven.plugins:maven-javadoc-plugin
from3.10.0
to3.10.1
-
Bump
org.apache.maven.reporting:maven-reporting-exec
from2.0.0-M14
to2.0.0
-
Bump
org.pitest:pitest-maven
from1.16.3
to1.17.0
-
Bump
org.asciidoctor:asciidoctor-maven-plugin
from3.0.0
to3.1.0
-
Bump
org.junit.jupiter:junit-jupiter
from5.11.0
to5.11.3
-
CommentProcessor
was setup with aP
,R
andPlaceholder
now receives aProcessorContext
instead. -
Cleanup of malformed comments has moved to a
PreProcessor
instead of done on the fly during processing. -
Do a step toward treating Comment in the same way as Placeholder.
-
Deprecated
CommentProcessor
to now be setup with aParagraph
that wraps and provides features around the docx4jP
. -
Deprecated The
Image
preset object now deprecategetMaxWidth
andgetImageBytes
. -
BREAK Removed
DocxDocument.commentsPart
method. -
BREAK
DocxPart.streamParagraphs
method now returns theParagraph
wrapper, instead of docx4jP
.
-
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 providing default implementations -
It deprecates
setFailOnUnresolvedExpression(boolean)
,unresolvedExpressionsDefaultValue(String)
,replaceUnresolvedExpressions(boolean)
andleaveEmptyOnExpressionError(boolean)
.
-
-
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.
-
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
-
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
-
Office-stamper can now format all
java.time
objects directly from standard configuration (issue #411), seeengine/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)
-
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.
-
Office-stamper can now resolve images inside footers and headers (issue #53).
-
Added the
DocxPart
type to wrap thedocx4j.WordprocessingMLPackage
and specify a working subpart. -
Breaking Change: Updated references to
WordprocessingMLPackage
byDocxPart
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.
-
-
Bumped
org.springframework:spring-expression
andorg.springframework:spring-context
from version 6.1.10 to 6.1.11.
-
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.
-
Added a new Maven extension for caching the build by @caring-coder in #389.
-
Updated README howto to document recent API changes.
-
Updated documentation to be more GitHub-friendly.
-
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.