Skip to content

8.0.0

Compare
Choose a tag to compare
@debois debois released this 28 Dec 12:03
· 46 commits to v8 since this release

Release notes

This release embodies a major re-working of elm-mdl internals:

Upgrade to Elm 0.18.

Many thanks to @MichaelCombs28 for providing a temporary elm-mdl upgrade fork
when we were too slow to upgrade the main repo.

Elm-mdl no longer relies on Parts

We removed all dependencies on the Parts library. This change essentially does
not
affect the elm-mdl API. You still use the render function to construct
elm-mdl widgets; you still do not have to represent them explicitly in your
model.

This change puts elm-mdl in conformance with component guidelines from Elm
language creators; in particular, elm-mdl no longer dispatches function values
in messages.

You can observe this change by adding Debug.log msg someplace; you will then
be able to see readable, serialisable elm-mdl messages in your browser's
Javascript Console.

Support for arbitrary attributes and event handlers

You can now add any attribute of Html.Attributes.* to any elm-mdl widget. If
you are adding event handlers, please do not use attributes from Html.Events,
but use instead the ones from Material.Options. Using the latter ensures that
if you are registering a handler for an event that elm-mdl also processes
internally, both handlers will trigger.

This change is due to very sophisticated work by @vipentti, and relies on his
Dispatch to manage multiple subscriptions to the same event.

Migration

If you are upgrading from 7.x.x, this release requires some migration. See
MIGRATION.md for details.

Changes

Features:

Bugfixes:

  • Layout.navigation ignores styles #232 (bparadie)
  • Cannot set tabindex on Textfield #191

Documentation fixes:

Internals & building:

Full Changelog