Skip to content

Commit

Permalink
Merge branch 'main' into update/scalajs-dom-2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward committed Dec 24, 2022
2 parents dfe54e0 + 0d6e30f commit 8c4a7b9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand All @@ -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))
Expand Down
10 changes: 5 additions & 5 deletions docs/public/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/public/docs/scalajs-react-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/scala/slinky/docs/Navbar.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8c4a7b9

Please sign in to comment.