From a10f1dda7ac04400a91119b4561db3e77b2c3010 Mon Sep 17 00:00:00 2001 From: Shadaj Laddad Date: Mon, 24 Feb 2020 11:49:57 -0800 Subject: [PATCH] Release v0.6.4 --- CHANGELOG.md | 19 +++++++++++++------ docs/public/docs/installation.md | 10 +++++----- docs/public/docs/scalajs-react-interop.md | 2 +- docs/src/main/scala/slinky/docs/Navbar.scala | 2 +- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ba5ba29..f53d6524 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,26 @@ # Changelog ## vNEXT -* Add slinky-react-router and slinky-history as separate subprojects, to provide interfaces to react-router and the html5 history api [PR #305](https://github.com/shadaj/slinky/pull/305) -+ Fix project build in Windows OS and add automated testing in Windows to CI workflow. You can now build Slinky and run tests in Windows [PR #308](https://github.com/shadaj/slinky/pull/308) + +## [v0.6.4](https://slinky.dev) +### Highlights :tada: ++ Add support for **Scala.js 1.0.0** [PR #327](https://github.com/shadaj/slinky/pull/327) and [PR #321](https://github.com/shadaj/slinky/pull/321) +* Add **slinky-react-router** and **slinky-history** as separate subprojects, to provide interfaces to react-router and the html5 history api [PR #305](https://github.com/shadaj/slinky/pull/305) ++ Add apply method for constructing CustomTag and CustomAttributes [PR #318](https://github.com/shadaj/slinky/pull/318) ++ Rewrite the class component logic to patch the component definition once to handle JS data instead of on every initialization [PR #321](https://github.com/shadaj/slinky/pull/321) + +### Bug Fixes :bug: + Add ARIA role attribute [PR #309](https://github.com/shadaj/slinky/pull/309) + Support className and role attributes for SVG [PR #314](https://github.com/shadaj/slinky/pull/314) + Add novalidate attribute to form [PR #315](https://github.com/shadaj/slinky/pull/315) -+ Add apply method for constructing CustomTag and CustomAttributes [PR #318](https://github.com/shadaj/slinky/pull/318) + Fix types for the useCallback hook and fix its reference equality behavior [PR #302](https://github.com/shadaj/slinky/pull/302) + Use js.Object instead of js.Dynamics on attribute style [PR #322](https://github.com/shadaj/slinky/pull/322) -+ Add support for Scala.js 1.0.0 [PR #327](https://github.com/shadaj/slinky/pull/327) and [PR #321](https://github.com/shadaj/slinky/pull/321) -+ Rewrite the class component logic to patch the component definition once to handle JS data instead of on every initialization [PR #321](https://github.com/shadaj/slinky/pull/321) + Add missing inherited props to native ScrollView component [PR #326](https://github.com/shadaj/slinky/pull/326) -## [v0.6.3](https://slinky.dev) +### Internal Infrastructure ++ Fix project build in Windows OS and add automated testing in Windows to CI workflow. You can now build Slinky and run tests in Windows [PR #308](https://github.com/shadaj/slinky/pull/308) + +## [v0.6.3](https://5e28ce624dd0550179b50f20--slinky.netlify.com/) ### Highlights :tada: + Improve experience using `ReactElement`s within first-order types such as Map and List [PR #285](https://github.com/shadaj/slinky/pull/285) + Support [React Native's Keyboard API](https://facebook.github.io/react-native/docs/keyboard) [PR #293](https://github.com/shadaj/slinky/pull/293) diff --git a/docs/public/docs/installation.md b/docs/public/docs/installation.md index 2ad44b34..81dba8cf 100644 --- a/docs/public/docs/installation.md +++ b/docs/public/docs/installation.md @@ -16,11 +16,11 @@ Since Slinky is distributed just like any other Scala.js library, it's very easy Add the dependencies that match your application as well as required Scala.js compiler options: ```scala -libraryDependencies += "me.shadaj" %%% "slinky-core" % "0.6.3" // core React functionality, no React DOM -libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.6.3" // React DOM, HTML and SVG tags -libraryDependencies += "me.shadaj" %%% "slinky-native" % "0.6.3" // React Native components -libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.6.3" // Hot loading, requires react-proxy package -libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.3" // Interop with japgolly/scalajs-react +libraryDependencies += "me.shadaj" %%% "slinky-core" % "0.6.4" // core React functionality, no React DOM +libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.6.4" // React DOM, HTML and SVG tags +libraryDependencies += "me.shadaj" %%% "slinky-native" % "0.6.4" // React Native components +libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.6.4" // Hot loading, requires react-proxy package +libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.4" // Interop with japgolly/scalajs-react scalacOptions += "-P:scalajs:sjsDefinedByDefault" diff --git a/docs/public/docs/scalajs-react-interop.md b/docs/public/docs/scalajs-react-interop.md index 5b3c118b..1c73cfc5 100644 --- a/docs/public/docs/scalajs-react-interop.md +++ b/docs/public/docs/scalajs-react-interop.md @@ -2,7 +2,7 @@ If you're using Slinky in an application that's already using [scalajs-react](https://github.com/japgolly/scalajs-react), Slinky comes with the `slinky-scalajsreact-interop` module for crossing over between the two styles of writing React code. ```scala -libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.3" +libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.4" ``` To use this module, simply import the implicit conversions between Slinky and scalajs-react types. diff --git a/docs/src/main/scala/slinky/docs/Navbar.scala b/docs/src/main/scala/slinky/docs/Navbar.scala index d08cf3c5..2bced114 100644 --- a/docs/src/main/scala/slinky/docs/Navbar.scala +++ b/docs/src/main/scala/slinky/docs/Navbar.scala @@ -96,7 +96,7 @@ import scala.scalajs.js href := "https://github.com/shadaj/slinky/blob/master/CHANGELOG.md", style := smallLinkStyle )( - "v0.6.3" + "v0.6.4" ), a( href := "https://github.com/shadaj/slinky",