Skip to content

Commit 4d370f0

Browse files
committed
bump version to 0.5.0
1 parent 9f9d5f4 commit 4d370f0

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## Unreleased
22

3+
## [0.5.0] - 2020-06-11
4+
- kotlin 1.3.72
5+
- createThreadSafeStore fun added for thread synchronized access
6+
- createEnsureSameThreadStore to provide existing same-thread-enforcement
7+
38
## [0.4.0] - 2020-03-23
49
- kotlin 1.3.70
510

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,20 @@ kotlin {
4444
sourceSets {
4545
commonMain { // <--- name may vary on your project
4646
dependencies {
47-
implementation "org.reduxkotlin:redux-kotlin:0.4.0"
47+
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.0"
4848
}
4949
}
5050
}
5151
```
5252

5353
For JVM only:
5454
```
55-
implementation "org.reduxkotlin:redux-kotlin-jvm:0.4.0"
55+
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.0"
5656
```
5757

58+
*Non threadsafe store is available. Typical usage will be with the threadsafe store. [More info read here](https://www.reduxkotlin.org/introduction/getting-started)
59+
60+
5861
Usage is very similar to JS Redux and those docs will be useful https://redux.js.org/. These docs are not an intro to Redux, and just documentation on Kotlin specific bits. For more info on Redux in general, check out https://redux.js.org/.
5962

6063
__Create an AppState class__

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android.enableJetifier=true
2121
kotlin.code.style=official
2222

2323
GROUP=org.reduxkotlin.redux-kotlin
24-
VERSION_NAME=0.4.0
24+
VERSION_NAME=0.5.0
2525

2626
POM_ARTIFACT_ID=reduxkotlin
2727
POM_DESCRIPTION=Redux implementation for Kotlin. Mulitiplatform supported.

lib-threadsafe/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apply plugin: 'kotlinx-atomicfu'
88
archivesBaseName = 'redux-kotlin-threadsafe'
99

1010
group 'org.reduxkotlin'
11-
version '0.4.0'
11+
version '0.5.0'
1212

1313
kotlin {
1414
jvm()
@@ -53,7 +53,6 @@ kotlin {
5353
}
5454

5555
jvmMain {
56-
kotlin.srcDir('src/jvmMain/kotlin')
5756
dependencies {
5857
implementation kotlin("stdlib")
5958
}
@@ -74,7 +73,6 @@ kotlin {
7473
}
7574
}
7675
jsMain {
77-
kotlin.srcDir('src/jsMain/kotlin')
7876
dependencies {
7977
implementation kotlin("stdlib-js")
8078
}

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: 'kotlin-multiplatform'
77
archivesBaseName = 'redux-kotlin'
88

99
group 'org.reduxkotlin'
10-
version '0.4.0'
10+
version '0.5.0'
1111

1212
kotlin {
1313
jvm()

website/docs/introduction/GettingStarted.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ kotlin {
3333
sourceSets {
3434
commonMain {
3535
dependencies {
36-
implementation "org.reduxkotlin:redux-kotlin:0.4.0"
36+
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.0"
3737
}
3838
}
3939
}
@@ -47,10 +47,13 @@ __For single platform project (i.e. just Android):__
4747

4848
```groovy
4949
dependencies {
50-
implementation "org.reduxkotlin:redux-kotlin:0.4.0"
50+
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.0"
5151
}
5252
```
5353

54+
NOTE: If threadsafety is not a concern (i.e. a JS only project) "org.reduxkotlin:redux-kotlin:0.5.0" may be used.
55+
[**More info on threading available here.**](/introduction/threading)
56+
5457
## Basic Example
5558

5659
The whole state of your app is stored in an object tree inside a single _store_.
@@ -116,8 +119,8 @@ action transforms the entire application's state.
116119

117120
In a typical Redux app, there is just a single store with a single root reducing function. As your
118121
app grows, you split the root reducer into smaller reducers independently operating on the different
119-
parts of the state tree. Redux is unopinonated - how reducers and actions are organized is up to
120-
you. Useful patterns will be documented here soon.TODO
122+
parts of the state tree. Redux is unopinionated - how reducers and actions are organized is up to
123+
you. Useful patterns will be documented here soon.
121124

122125
This architecture might seem like an overkill for a counter app, but the beauty of this pattern is
123126
how well it scales to large and complex apps. It also enables very powerful developer tools, because

0 commit comments

Comments
 (0)