Closed
Description
This is still a ways away but I wanted to start a list of the breaking changes we intend to introduce so we don't forget anything later.
- rip out beforeMatch in lue of multi-match?
-
.title--class
or.title__class
enh(parser) multi-class in a single mode #3081 - Throttle deprecation logging (chore) Throttle logging of deprecation messages #3069
- Remove
lexemes
- Pull Vue plugin out of main build
- Remove aliases that are "also works with" not true aliases Todo: Remove aliases that are "also works with" not true aliases #3049
- Remove
fixMarkup
(deprecated via DeprecatefixMarkup
public API #2534) - Remove
useBR
(parser) DeprecateuseBR
#2559 - Remove
tabReplace
(deprecated via (parser) Deprecate:tabReplace
parser option #2874) - Remove
php3
, 4, 5, 6, etc. aliases - Remove
sql_more
grammar -
relevance
returned by highlight is allowed to be a floating point number now - Remove HTML merging (deprecated via Deprecate HTML auto-merging from core (plugin may be needed) #2889)
- Consider status of ESM support in Node Discuss: Should Highlight.js version 11 npm release be ESM only? #2600
- rename
regex.join
to indicate it's internal - remove
re
key from element.result (highlightBlock) - remove the old
htmlbars
stub - remove the old
c-like
stub - remove schoolbook or remove it's funky background ref
- change default padding of all themes to be more generous
- rename
second_best
tosecondBest
- remove apache, http, nginx, properties, coffeescript from
:common
Discuss: 2021: Inclusion of new languages in:common
set #2848 - move
CSS_NUMBER_MODE
intocss-shared
(it's too specific to be a general rule) - review notes on [Request] Expose TypeScript types. #2945 and consider making some attributes of Result "private"... ie,
__top
vstop
... since those are intended more for debugging rather than public use. -
initHighlighting*
needs to be aliased tohighlightAll()