Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.16 KB

1.4.2.md

File metadata and controls

26 lines (22 loc) · 1.16 KB

1.4.2

  • Bugfixes

    • Ajax…asAsyncCallback…toCallback should make new AJAX calls each time the Callback is invoked
    • AsyncCallback#race(…).toCallback should start a new race each time the Callback is invoked
    • AsyncCallback#flatten wouldn't compile (oops)
    • AsyncCallback.fromFuture should be sync if future already complete
    • AsyncCallback.promise should be sync if promise already complete
    • Fix bug where in fullOptJS, using a key and a ref would result in the key being lost
  • Add an immediately-deprecated AsyncCallback.fromCallback[A](c: CallbackTo[A]): AsyncCallback[A] which points users to use c.asAsyncCallback.

  • VDOM improvements

    • Add helper methods to the autoComplete attribute, eg. ^.autoComplete.currentPassword
    • minLength and maxLength now only accept ints
    • Add pattern attribute
    • Fix CSS-Grid style definitions to not cause React warnings
    • gridTemplateAreas has a new optional syntax: ^.gridTemplateAreas("a a", "b c", "b c") which is equivalent to ^.gridTemplateAreas := "'a a' 'b c' 'b c'"
  • Dependency upgrades

    • Cats 1.6.0
    • Scala.JS 0.6.27
    • Scala.JS DOM 0.9.7
    • SourceCode 0.1.6