Skip to content

Commit

Permalink
Release v0.6.7
Browse files Browse the repository at this point in the history
  • Loading branch information
shadaj committed Feb 4, 2021
1 parent e6702f2 commit febaf4d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

## vNEXT

## [v0.6.7](https://slinky.dev)
### Highlights :tada:
+ The IntelliJ support plugin has now been extracted into an [independent plugin](https://plugins.jetbrains.com/plugin/15748-slinky-library-support) on the JetBrains Marketplace, making installation much more consistent
+ Add support for native [`useWindowDimensions`](https://reactnative.dev/docs/0.62/usewindowdimensions) hook [PR #422](https://github.com/shadaj/slinky/pull/422)

### Bug Fixes :bug:
+ Add missing inherited props to native `FlatList` component [PR #422](https://github.com/shadaj/slinky/pull/422)

## [v0.6.6](https://slinky.dev)
## [v0.6.6](https://5fa89fd323eb8c0008823359--slinky.netlify.app/)
### Highlights :tada:
+ Updated `scalajs-dom` to 1.0.0 [PR #362](https://github.com/shadaj/slinky/pull/362)
+ Add facades for the `React.Profiler` component [PR #372](https://github.com/shadaj/slinky/pull/372)
Expand Down
12 changes: 6 additions & 6 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.6.6" // core React functionality, no React DOM
libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.6.6" // React DOM, HTML and SVG tags
libraryDependencies += "me.shadaj" %%% "slinky-native" % "0.6.6" // React Native components
libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.6.6" // Hot loading, requires react-proxy package
libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.6" // Interop with japgolly/scalajs-react
libraryDependencies += "me.shadaj" %%% "slinky-core" % "0.6.7" // core React functionality, no React DOM
libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.6.7" // React DOM, HTML and SVG tags
libraryDependencies += "me.shadaj" %%% "slinky-native" % "0.6.7" // React Native components
libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.6.7" // Hot loading, requires react-proxy package
libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.7" // Interop with japgolly/scalajs-react

scalacOptions += "-P:scalajs:sjsDefinedByDefault"

Expand Down Expand Up @@ -61,7 +61,7 @@ jsDependencies ++= Seq(
```

## IntelliJ Support
Starting with Slinky 0.5.0, the `@react` macro annotation is implemented with Macro Paradise to ensure compatibility with future versions of Scala, so a small extra step is required to enable IDE support in IntelliJ (version 2018.3 or higher is required). After loading, your project, uncheck `Enable loading external extensions` in `Settings > Languages & Frameworks > Scala > Extensions`, hit apply, re-check it, and hit apply again. After applying these settings and refreshing your SBT project again, IntelliJ will pop up with a request to enable Slinky support.
Starting with Slinky 0.5.0, the `@react` macro annotation is implemented with Macro Paradise to ensure compatibility with future versions of Scala, so a small plugin is required to enable IDE support in IntelliJ (version 2018.3 or higher is required). To install the plugin, head over to the [JetBrains Marketplace page](https://plugins.jetbrains.com/plugin/15748-slinky-library-support) or search for "Slinky Library Support" from inside IntelliJ.

## Credits
Much credit goes to existing Scala.js libraries for React, such as [scalajs-react](https://github.com/japgolly/scalajs-react), which provided a lot of inspiration for Slinky's design. Credit also goes to [scala-js-preact](https://github.com/LMnet/scala-js-preact), which provided the inspiration for the `@react` macro annotation.
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.6.6"
libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.6.7"
```

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 @@ -103,7 +103,7 @@ import scala.scalajs.js
href := "https://github.com/shadaj/slinky/blob/master/CHANGELOG.md",
style := smallLinkStyle
)(
"v0.6.6"
"v0.6.7"
),
a(
href := "https://github.com/shadaj/slinky",
Expand Down

0 comments on commit febaf4d

Please sign in to comment.