Skip to content

Commit 49be907

Browse files
committed
Release 1.0.0-RC1
1 parent 8cdd89d commit 49be907

10 files changed

+16
-17
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Includes a router, testing utils, performance utils, more.
2727
- [Other](doc/EXTRA.md)
2828
- [Testing](doc/TESTING.md)
2929
- [Live Examples & Demos](https://japgolly.github.io/scalajs-react/)
30-
- ScalaDoc: [core](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/core_sjs0.6_2.11/0.11.3) | [extra](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/extra_sjs0.6_2.11/0.11.3) | [scalaz72](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/ext-scalaz72_sjs0.6_2.12/0.11.3) | [monocle](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/ext-monocle_sjs0.6_2.12/0.11.3) | [test](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/test_sjs0.6_2.12/0.11.3)
31-
- [Changelogs](doc/changelog)[Latest](doc/changelog/0.11.3.md)
30+
- ScalaDoc: [core](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/core_sjs0.6_2.11/1.0.0-RC1) | [extra](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/extra_sjs0.6_2.11/1.0.0-RC1) | [scalaz72](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/ext-scalaz72_sjs0.6_2.12/1.0.0-RC1) | [monocle](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/ext-monocle_sjs0.6_2.12/1.0.0-RC1) | [test](https://www.javadoc.io/doc/com.github.japgolly.scalajs-react/test_sjs0.6_2.12/1.0.0-RC1)
31+
- [Changelogs](doc/changelog)[Latest](doc/changelog/1.0.0.md)
3232

3333

3434
##### External Resources

bin/update_version_in_docs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ cd "$(dirname "$(readlink -e "$0")")/.." || exit 1
44
[ $# -ne 1 ] && echo "Usage: $0 <version>" && exit 1
55
ver="$1"
66

7-
find . -name '*.md' -exec perl -pi -e 's/(japgolly.scalajs-react.+)"0(?:\.\d+){2}"/\1"'"$ver"'"/' {} + \
7+
find . -name '*.md' -exec perl -pi -e 's/(japgolly.scalajs-react.+)"0(?:\.\d+){2}(?:-[a-zA-Z0-9.-]+)?"/\1"'"$ver"'"/' {} + \
88
&& perl -pi -e 's/(?<="'"$ver"')-SNAPSHOT//' build.sbt \
99
&& perl -pi -e 's/(Latest.+\/changelog\/)[0-9.]+?(?=\.md)/${1}'"$ver"'/' README.md \
10-
&& perl -pi -e 's!(javadoc\.io\S*?/)[0-9.]+(?=\))!${1}'"$ver"'!g' README.md \
10+
&& perl -pi -e 's!(javadoc\.io\S*?/)[0-9.]+(?:-[a-zA-Z0-9.-]+)?(?=\))!${1}'"$ver"'!g' README.md \
1111
&& git diff
1212

build.sbt

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
version in ThisBuild := "1.0.0-SNAPSHOT"
2-
3-
shellPrompt in ThisBuild := ((s: State) => Project.extract(s).currentRef.project + "> ")
1+
version in ThisBuild := "1.0.0-RC1"
2+
organization in ThisBuild := "com.github.japgolly.scalajs-react"
3+
homepage in ThisBuild := Some(url("https://github.com/japgolly/scalajs-react"))
4+
licenses in ThisBuild := ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0")) :: Nil
5+
shellPrompt in ThisBuild := ((s: State) => Project.extract(s).currentRef.project + "> ")
46

57
val root = ScalajsReact.root
68
val core = ScalajsReact.core

doc/EXTRA.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This describes the smaller utilities in the `extra` module.
55
Find links to the larger utilities from the [main README](../README.md).
66

77
```scala
8-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "extra" % "0.11.3"
8+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "extra" % "1.0.0-RC1"
99
```
1010

1111
#### Contents

doc/FP.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Scalaz
2222
======
2323

2424
```scala
25-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "ext-scalaz72" % "0.11.3"
25+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "ext-scalaz72" % "1.0.0-RC1"
2626
```
2727

2828
Included is a Scalaz module that facilitates a more functional and pure approach to React integration.
@@ -39,7 +39,7 @@ Monocle
3939
=======
4040

4141
```scala
42-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "ext-monocle" % "0.11.3"
42+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "ext-monocle" % "1.0.0-RC1"
4343
```
4444

4545
A module with a extensions for [Monocle](https://github.com/julien-truffaut/Monocle) also exists under `ext-monocle`.

doc/PERFORMANCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ These utilities help you avoid work in two ways.
1010
2. By allowing you to cache your own arbitrary data, and build on it in a way such that derivative data is also cached effeciently.
1111

1212
```scala
13-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "extra" % "0.11.3"
13+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "extra" % "1.0.0-RC1"
1414
```
1515

1616
### Contents

doc/ROUTER.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Included is a router (in the orbit of Single-Page Applications) that is written
66
The package is `japgolly.scalajs.react.extra.router`.
77

88
```scala
9-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "extra" % "0.11.3"
9+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "extra" % "1.0.0-RC1"
1010
```
1111

1212
## Contents

doc/TESTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Setup
2626

2727
```scala
2828
// scalajs-react test module
29-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "test" % "0.11.3" % "test"
29+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "test" % "1.0.0-RC1" % "test"
3030

3131
// React JS itself.
3232
// NOTE: Requires react-with-addons.js instead of just react.js

doc/USAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Setup
2323

2424
```scala
2525
// core = essentials only. No bells or whistles.
26-
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "0.11.3"
26+
libraryDependencies += "com.github.japgolly.scalajs-react" %%% "core" % "1.0.0-RC1"
2727

2828
// React JS itself (Note the filenames, adjust as needed, eg. to remove addons.)
2929
jsDependencies ++= Seq(

project/Build.scala

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ object ScalajsReact {
2525
def commonSettings: PE =
2626
_.enablePlugins(ScalaJSPlugin)
2727
.settings(
28-
organization := "com.github.japgolly.scalajs-react",
29-
homepage := Some(url("https://github.com/japgolly/scalajs-react")),
30-
licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0")),
3128
scalaVersion := Ver.Scala212,
3229
crossScalaVersions := Seq(Ver.Scala211, Ver.Scala212),
3330
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature",

0 commit comments

Comments
 (0)