0.15.0
Language
Timeis now automatically serialized intoString#357- Tuples now can be automatically serialized #519
- Fixed selector reference
&in styles #479 oroperator 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
snippetSupportclient setting #520
CLI
- A custom runtime can be used with the
--runtimeflag for thebuildandcompilecommands #476
Service Worker
- Fix service-worker generation issue #506
Standard Library
Clipboard.setnow returns a string and restores focus and text selection #524- Added
Time.fromUnixTimestampInMsandTime.toUnixTimestampInMs#522
Web Components
-
Components can now be exported as web components #501
A new field was added to the
mint.jsonfor 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
Buttoncomponent will be exported as<my-button>.
Housekeeping
- More cleanups and refactors by @Sija