Skip to content

0.15.0

Compare
Choose a tag to compare
@gdotdesign gdotdesign released this 13 Dec 15:12
· 336 commits to master since this release

Language

  • Time is now automatically serialized into String #357
  • Tuples now can be automatically serialized #519
  • Fixed selector reference & in styles #479
  • or operator can be used with Result(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 the build and compile 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 and Time.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