diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ed0a5a9..82f76a6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ # Changelog ## vNEXT + +## [v0.7.3](https://slinky.dev) ### Highlights :tada: -+ Includes the core set of changes required to make Slinky work well with Next.js (including module splitting). The [Slinky docs site](https://slinky.dev) now is built with Next.js! [PR #588](https://github.com/shadaj/slinky/pull/588) ++ Includes the core set of changes required to make Slinky work well with Next.js (including module splitting). The [Slinky docs site](https://slinky.dev) now is built with Next.js! ([PR #588](https://github.com/shadaj/slinky/pull/588)) ### Breaking Changes :warning: + Slinky now requires Scala.js 1.9.0 or higher, but libraries published against older versions of Slinky should continue to work ([PR #588](https://github.com/shadaj/slinky/pull/588)) @@ -13,7 +15,7 @@ + Add support for the `key` parameter of `createPortal` ([PR #594](https://github.com/shadaj/slinky/pull/594)) + Allow the `cx` and `cy` SVG attributes to be assigned to `String`s instead of just `Double` ([PR #617](https://github.com/shadaj/slinky/pull/617)) -## [v0.7.2](https://slinky.dev) (replaced v0.7.1) +## [v0.7.2](https://9448dfef.slinky.pages.dev/) (replaced v0.7.1) ### Bug Fixes :bug: + Inline functional component creation to improve stack traces ([PR #551](https://github.com/shadaj/slinky/pull/551)) + Fix issue with readers not being available in dev mode on Scala 3 ([PR #552](https://github.com/shadaj/slinky/pull/552)) diff --git a/docs/public/docs/installation.md b/docs/public/docs/installation.md index 61cdd601..342c776b 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.7.2" // core React functionality, no React DOM -libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.7.2" // React DOM, HTML and SVG tags -libraryDependencies += "me.shadaj" %%% "slinky-native" % "0.7.2" // React Native components -libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.7.2" // Hot loading, requires react-proxy package -libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.7.2" // Interop with japgolly/scalajs-react +libraryDependencies += "me.shadaj" %%% "slinky-core" % "0.7.3" // core React functionality, no React DOM +libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.7.3" // React DOM, HTML and SVG tags +libraryDependencies += "me.shadaj" %%% "slinky-native" % "0.7.3" // React Native components +libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.7.3" // Hot loading, requires react-proxy package +libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.7.3" // Interop with japgolly/scalajs-react // optional, but recommended; enables the @react macro annotation API addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full) diff --git a/docs/public/docs/scalajs-react-interop.md b/docs/public/docs/scalajs-react-interop.md index 0e03236b..5600317a 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.7.2" +libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.7.3" ``` 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 0b70ba27..7d294da6 100644 --- a/docs/src/main/scala/slinky/docs/Navbar.scala +++ b/docs/src/main/scala/slinky/docs/Navbar.scala @@ -104,7 +104,7 @@ import scala.scalajs.js href := "https://github.com/shadaj/slinky/blob/main/CHANGELOG.md", style := smallLinkStyle )( - "v0.7.2" + "v0.7.3" ), a( href := "https://github.com/shadaj/slinky", diff --git a/project/plugins.sbt b/project/plugins.sbt index 75e93146..78559fc1 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -19,7 +19,7 @@ libraryDependencies ++= { } addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.1.1") -addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.13") +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") addSbtPlugin("org.jetbrains" % "sbt-idea-plugin" % "3.17.9") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.5")