Skip to content

Commit 093d26c

Browse files
Patrick Jacksonpatjackson52
authored andcommitted
bump to 0.5.1, update docs
1 parent 5e30766 commit 093d26c

File tree

13 files changed

+40
-19
lines changed

13 files changed

+40
-19
lines changed

CHANGELOG.md

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

3+
## [0.5.0] - 2020-06-11
4+
- update lib dependency to api import, so core lib is included in redux-kotlin-threadsafe
35
## [0.5.0] - 2020-06-11
46
- kotlin 1.3.72
57
- createThreadSafeStore fun added for thread synchronized access

README.md

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

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

5858
*Non threadsafe store is available. Typical usage will be with the threadsafe store. [More info read here](https://www.reduxkotlin.org/introduction/getting-started)

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.5.0
24+
VERSION_NAME=0.5.1
2525

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

lib-threadsafe/build.gradle

Lines changed: 1 addition & 1 deletion
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.5.0'
11+
version '0.5.1'
1212

1313
kotlin {
1414
jvm()

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.5.0'
10+
version '0.5.1'
1111

1212
kotlin {
1313
jvm()

website/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.now
1+
.now
2+
.vercel

website/docs/api/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ data class Store<State>(
7474
### Top-Level Functions
7575

7676
- [createStore(reducer: Reducer, preloadedState: State, enhancer: StoreEnhancer)](createStore.md)
77+
- [createThreadSafeStore(reducer: Reducer, preloadedState: State, enhancer: StoreEnhancer)](createThreadSafeStore.md)
7778
- [applyMiddleware(...middlewares)](applyMiddleware.md)
7879
- [compose(...functions)](compose.md)
7980

website/docs/api/createSameThreadEnforcedStore.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
id: createSameThreadEnforcedstore
2+
id: createsamethreadenforcedstore
33
title: createSameThreadEnforcedStore
44
sidebar_label: createSameThreadEnforcedStore
55
hide_title: true
66
---
77

8-
# `createSameThreadEnforcedStore(reducer, preloadedState, enhancer)
8+
# `createSameThreadEnforcedStore(reducer, preloadedState, enhancer)`
99

1010
Creates a Redux [store](Store.md) that can only be accessed from the same thread.
1111
Any call to the store's functions called from a thread other than thread from which

website/docs/api/createThreadSafeStore.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
id: createThreadSafeStore
2+
id: createthreadsafestore
33
title: createThreadSafeStore
44
sidebar_label: createThreadSafeStore
55
hide_title: true
66
---
77

8-
# `createThreadSafeStore(reducer, preloadedState, enhancer)
8+
# `createThreadSafeStore(reducer, preloadedState, enhancer)`
99

1010
Creates a Redux [store](Store.md) that is may be accessed from any thread.
1111

website/docs/introduction/GettingStarted.md

Lines changed: 3 additions & 3 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-threadsafe:0.5.0"
36+
implementation "org.reduxkotlin:redux-kotlin-threadsafe:0.5.1"
3737
}
3838
}
3939
}
@@ -47,11 +47,11 @@ __For single platform project (i.e. just Android):__
4747

4848
```groovy
4949
dependencies {
50-
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.0"
50+
implementation "org.reduxkotlin:redux-kotlin-threadsafe-jvm:0.5.1"
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.
54+
NOTE: If threadsafety is not a concern (i.e. a JS only project) "org.reduxkotlin:redux-kotlin:0.5.1" may be used.
5555
[**More info on threading available here.**](/introduction/threading)
5656

5757
## Basic Example

0 commit comments

Comments
 (0)