0.15.0
Language
Time
is now automatically serialized intoString
#357- Tuples now can be automatically serialized #519
- Fixed selector reference
&
in styles #479 or
operator can be used withResult(error, value)
as well
LSP
- Added basic completions for HTML tags and CSS properties #511
- Added completions for enum options #518
- Fixed cursor position lookup #481
- Fixed some compatibility issues with specific clients #493
- Honor
snippetSupport
client setting #520
CLI
- A custom runtime can be used with the
--runtime
flag for thebuild
andcompile
commands #476
Service Worker
- Fix service-worker generation issue #506
Standard Library
Clipboard.set
now returns a string and restores focus and text selection #524- Added
Time.fromUnixTimestampInMs
andTime.toUnixTimestampInMs
#522
Web Components
-
Components can now be exported as web components #501
A new field was added to the
mint.json
for this purpose:{ "name": "my-library", "web-components": { "Button": "my-button" }, "source-directories": [ "source" ] }
In the object, the key of the field refers to the component and the value refers to the tag name of the web component, in this case, the
Button
component will be exported as<my-button>
.
Housekeeping
- More cleanups and refactors by @Sija