-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Changes Version 0.60.0 release #370
Comments
Major improvements in performance and memory requirements for Here is a brief summary of progress:
|
Version 0.60 released. |
When updating to 0.60, it looks like the |
@cjbrooks12, gfm-tables extension has been deprecated for a long time and was not being updated. The
|
@vsch I found your note above on gfm-tables very helpful, thanks! To match GitHub, I am also including the settings I found here, is that appropriate? This adds: .set(TablesExtension.WITH_CAPTION, false)
.set(TablesExtension.MIN_HEADER_ROWS, 1)
.set(TablesExtension.MAX_HEADER_ROWS, 1) |
It appears that |
Please give feedback on changes if are not able to resolve your code to the changes.
Break: split out generic AST utilities from
flexmark-util
module into separate smaller modules. IntelliJ IDEA migration to help with migration from 0.50.40 will be provided where needed if the package or class is changed.com.vladsch.flexmark.util
will no longer contain any files but will contain the separate utilities modules withflexmark-utils
module being an aggregate of all utilities modules, similar toflexmark-all
ast/
classes toflexmark-util-ast
builder/
classes toflexmark-util-builder
collection/
classes toflexmark-util-collection
data/
classes toflexmark-util-data
dependency/
classes toflexmark-util-dependency
format/
classes toflexmark-util-format
html/
classes toflexmark-util-html
mappers/
classes toflexmark-util-sequence
options/
classes toflexmark-util-options
sequence/
classes toflexmark-util-sequence
visitor/
classes toflexmark-util-visitor
Convert anonymous classes to lambda where possible.
refactor
flexmark-util
to eliminate dependency cycles between classes in different subdirectories.Break: delete deprecated properties, methods and classes
Add:
org.jetbrains:annotations:15.0
dependency to have@Nullable
/@NotNull
annotations added for all parameters. I use IntelliJ IDEA for development and it helps to have these annotations for analysis of potential problems and use with Kotlin.Break: refactor and cleanup tests to eliminate duplicated code and allow easier reuse of test cases with spec example data.
Break: move formatter tests to
flexmark-core-test
module to allow sharing of formatter base classes in extensions without causing dependency cycles in formatter module.Break: move formatter module into
flexmark
core. this module is almost always included anyway because most extension have a dependency on formatter for their custom formatting implementations. Having it as part of the core allows relying on its functionality in all modules.Break: move
com.vladsch.flexmark.spec
andcom.vladsch.flexmark.util
inflexmark-test-util
tocom.vladsch.flexmark.test.spec
andcom.vladsch.flexmark.test.util
respectively to respect the naming convention between modules and their packages.Break:
NodeVisitor
implementation details have changed. If you were overridingNodeVisitor.visit(Node)
in the previous version it is nowfinal
to ensure compile time error is generated. You will need to change your implementation. See comment in the class for instructions.ℹ️
com.vladsch.flexmark.util.ast.Visitor
is only needed for implementation ofNodeVisitor
andVisitHandler
. If you convert all anonymous implementations ofVisitHandler
to lambdas you can remove all imports forVisitor
.com.vladsch.flexmark.util.ast.NodeAdaptedVisitor
see javadoc for classcom.vladsch.flexmark.util.ast.NodeAdaptingVisitHandler
com.vladsch.flexmark.util.ast.NodeAdaptingVisitor
The text was updated successfully, but these errors were encountered: