- Add
inline-flex
as a keyword fordisplay
- Add a basic "Styles" tab to Devtools.
- Fix an error with cancellable events.
- Correctly update element outline and border when changing style.
- Updated Style API.
- Fix visual twitch with italic or bold text.
- Fix min/max size CSS properties not doing anything.
- Missing semicolons in CSS will be treated as warnings instead of errors.
- Improve element tooltip handling
- Add commands for managing an open page's viewers
- Use
delphi.commands.devtools
as permission for devtools command - Add default styling for
<sup>
and<sub>
elements.
Changes
- Add FlexBox support
- Move layout engine to its own module
- Refactor layout engine
- Added
vertical-align
CSS property. - Added
flex-grow
CSS property - Added
flex-shrink
CSS property. - Added
gap
CSS property. - Added
row-gap
andcolumn-gap
CSS properties. - Added
align-self
CSS property - When performing math operations with
px
units, convert them to world units before calculation. - Fix wrong input type used when checking if input should be validated as number.
- Added bStats metrics support
- Fixed a tooltip graphical issue
- Properly update depth and things when calling
setTitleNode()
Additions
- Replace Bukkit's conversations for input elements with new Dialogs
- Added
getSource()
method to stylesheets - Added
/delphi devtools
and/delphi devtools <menu name>
for opening devtools easily
Changes
- Add support for
prompt
attribute on<input/>
elements - Update translations
- Add translations support to devtools
- Made
input
event cancellable - Update devtools
Fixes
- Fix wrong method call that resulted in NPE in
ViewBuilderImpl
Main Changes
- Added JavaScript support with GraalVM's Polyglot (GraalVM itself is not required)
- Added
<canvas>
which allows developers to draw images - Switched to new XML parser for more lenient, HTML-like parsing, even the most malformed XML should now be parsed
- Added support for custom DOM events
- Integrated Scheduler API into JS
- Added color functions to JS
- Optimize canvas elements to use the fewest number of entities possible
Bug Fixes
- Fix the
Color.hsva
function being completely broken - Don't print attribute values of attributes no-value attributes and properly escape attribute values
- Fix the area between pixels of Canvas elements flickering
- Fix plugin messages not being correctly translated
- Fix issue with event listeners
- Fix weird twitch with text nodes when their content changed