Skip to content

Commit

Permalink
setting version to 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yurique committed Feb 26, 2021
1 parent d3bce5f commit 7709f3c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog

### 0.12.0-RC1
### 0.12.0

Update to Airstream `v0.12.0-RC1`.
Update to Airstream `v0.12.0`. Publishing for Scala 3.0.0-RC1

* Breaking: the `io.frontroute.directives._` no longer exists and importing it is not needed anymore
* API: renamed `RouteLocationProvider` into `LocationProvider`
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ but it doesn't have Laminar as a dependency and should fit nicely with any Scala

Built on top of:

* [raquo/Airstream](https://github.com/raquo/Airstream) `v0.12.0-RC1`
* [tulz-app/tuplez](https://github.com/tulz-app/tuplez/) `v0.3.1`
* [raquo/Airstream](https://github.com/raquo/Airstream) `v0.12.0`
* [tulz-app/tuplez](https://github.com/tulz-app/tuplez/) `v0.3.4`

## Example project

An example is available here: https://github.com/yurique/frontroute-example

### Getting started

`frontroute` is available for [Scala.js](http://www.scala-js.org/) `v1.5.0`+ (published for Scala 2.12 and 2.13).
`frontroute` is available for [Scala.js](http://www.scala-js.org/) `v1.5.0`+ (published for Scala 2.12, 2.13 and 3.0.0-RC1).

```scala
libraryDependencies += "io.frontroute" %%% "frontroute" % "0.12.0-RC1"
libraryDependencies += "io.frontroute" %%% "frontroute" % "0.12.0"
```

For Airstream `v0.11.x`:
Expand Down Expand Up @@ -789,7 +789,7 @@ io.frontroute.LinkHandler.install()
```

It registers a click handler for all `<a>` elements on the page (existing and future):
* when `rel` is empty or not set – calls `BrowserNavigation.pushState` with the anchor's `href`
* when `rel` is empty or not set, and if the target origin is the same – calls `BrowserNavigation.pushState` with the anchor's `href`
* when `rel` is `external` – opens the anchor's `href` in a new tab (`dom.window.open(anchor.href)`)
* when `res` has a different non-empty value – the click event is propagated.

Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.12.0-SNAPSHOT"
version in ThisBuild := "0.12.0"

0 comments on commit 7709f3c

Please sign in to comment.