Skip to content

Commit

Permalink
Release Slinky 0.3.0 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadaj authored Feb 2, 2018
1 parent 9a48b6b commit 1493e8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## vNEXT
## v0.3.0
+ **BREAKING!**: The package `me.shadaj.slinky` has been renamed to `slinky` [PR #103](https://github.com/shadaj/slinky/pull/103)
+ **BREAKING**: Stateless components that use the `@react` macro annotation must extend the `StatelessComponent` class instead of just `Component` [PR #69](https://github.com/shadaj/slinky/pull/69)
+ **BREAKING**: Callbacks passed to `setState` are now Scala functions, so there is no need to force implicit conversions [PR #71](https://github.com/shadaj/slinky/pull/71)
Expand Down
8 changes: 4 additions & 4 deletions docs/public/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ 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.2.0" // core React functionality, no React DOM
libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.2.0" // React DOM, HTML and SVG tags
libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.2.0" // Hot loading, requires react-proxy package
libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.2.0" // Interop with japgolly/scalajs-react
libraryDependencies += "me.shadaj" %%% "slinky-core" % "0.3.0" // core React functionality, no React DOM
libraryDependencies += "me.shadaj" %%% "slinky-web" % "0.3.0" // React DOM, HTML and SVG tags
libraryDependencies += "me.shadaj" %%% "slinky-hot" % "0.3.0" // Hot loading, requires react-proxy package
libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.3.0" // Interop with japgolly/scalajs-react

scalacOptions += "-P:scalajs:sjsDefinedByDefault"

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.2.0"
libraryDependencies += "me.shadaj" %%% "slinky-scalajsreact-interop" % "0.3.0"
```

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

0 comments on commit 1493e8a

Please sign in to comment.