2.4.0 #968
colinodell
announced in
Announcements
2.4.0
#968
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.
-
See the upgrading guide for more information about the exception-related changes
Added
CommonMarkExceptionmarker interface for all exceptions thrown by the libraryAlreadyInitializedExceptionInvalidArgumentExceptionIOExceptionLogicExceptionMissingDependencyExceptionNoMatchingRendererExceptionParserLogicExceptionheading_permalink/apply_id_to_heading- Whentrue, theidattribute will be applied to the heading element itself instead of the<a>tagheading_permalink/heading_class- class to apply to the heading elementheading_permalink/insert- now acceptsnoneto prevent the creation of the<a>linktable/alignment_attributesconfiguration option to control how table cell alignment is rendered (Table alignment config option #959)Changed
RuntimeExceptiontoLogicException(or something extending it), including:CallbackGenerators that fail to set a URL or return an expected valueMarkdownParserwhen deactivating the last block parser or attempting to get an active block parser when they've all been closedEnvironmentNodewhen no renderer has been registered for itHeadingPermalinkProcessornow throwsInvalidConfigurationExceptioninstead ofRuntimeExceptionwhen invalid config values are given.HtmlElement::setAttribute()no longer requires the second parameter for boolean attributesFixed
@throwsdocblocks throughout the codebase, includingConverterInterface,MarkdownConverter, andMarkdownConverterInterface.\RuntimeExceptions were thrown, which was inaccurate as\LogicExceptions were also possible.This discussion was created from the release 2.4.0.
Beta Was this translation helpful? Give feedback.
All reactions