3.0 #622
caring-coder
announced in
Announcements
3.0
#622
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Major changes
The API around iteration has been adapted accordingly.
Consult the root file
3.0_UPDATE.mdfor details and migration notes.ContextTreeandContextBranch.If a placeholder cannot resolve in the current scope, resolution walks up the branch (parent, then ancestors).
Comment processors that create sub‑scopes (e.g., repeaters) can control whether a hook evaluates in a nested branch or reuses the current one.
Ensure the appropriate placeholder preprocessor is included in your
OfficeStamperConfiguration(standard presets already do this).Breaking API Changes
AbstractCommentProcessorwas renamed and simplified intoCommentProcessor.Commentinterface.@DeprecatedAPI methods have been removed.@FunctionalInterface CommentProcessorFactoryto create aCommentProcessorfrom aProcessorContext.DocxDocumentfrom the public API;DocxPartcovers previous use cases.EvaluationContextConfigurerwithEvaluationContextFactory.Provide a factory that creates a fresh
EvaluationContextper hook.Insertin the API, allowing resolvers to return content that spans multiple runs instead of a single run.OfficeStampernow focuses onOpcPackagehandling.Stream‑based stamping is handled by the dedicated
StreamStamperinterface.org.springframework.expression.ExpressionParser(SpEL by default).PlaceholderReplacerin favor of the context‑stack driven placeholder management.For a complete migration guide and code examples, see
3.0_UPDATE.mdand the contributor‑focusedHOW_DOES_IT_WORKS.adoc.Minor changes
engine/src/site/asciidoc/how-to-custom.adoc.HOW_DOES_IT_WORKS.adoc.asciidocmodule to experiment with AsciiDoc ↔ DOCX conversion (useful for tests).utilsmodule exposing common utilities; some utilities may spin off into dedicated projects later.Full Changelog: v2.9.0...v3.0
This discussion was created from the release 3.0.
Beta Was this translation helpful? Give feedback.
All reactions