Skip to content

Commit 4d19e5f

Browse files
authored
create release 0.13.2 (#340)
#340
1 parent 14befef commit 4d19e5f

File tree

17 files changed

+1281
-57
lines changed

17 files changed

+1281
-57
lines changed

CHANGELOG.md

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
1+
# 0.13.2
2+
3+
## 🐛 Bug Fixes
4+
5+
- make TanglePlugin apply the Anvil plugin eagerly ([#339](https://github.com/rbusarow/Tangle/pull/339))
6+
17
# 0.13.1
28

39
### 🚀 Features
410

5-
- The Tangle Gradle Plugin will now automatically apply the Anvil Gradle plugin if it hasn't been applied already. There is no change to behavior if Anvil was already applied manually, or if Anvil is applied later on in configuration. ([#333](https://github.com/rbusarow/Tangle/pull/333))
11+
- The Tangle Gradle Plugin will now automatically apply the Anvil Gradle plugin if it hasn't been
12+
applied already. There is no change to behavior if Anvil was already applied manually, or if Anvil
13+
is applied later on in configuration. ([#333](https://github.com/rbusarow/Tangle/pull/333))
614

715
### 🐛 Bug Fixes
8-
- The Tangle Gradle Plugin will now correctly detect existence of the Android Gradle Plugin ([#333](https://github.com/rbusarow/Tangle/pull/333))
9-
- The website's "get started" button point to configuration doc ([#331](https://github.com/rbusarow/Tangle/pull/331))
16+
17+
- The Tangle Gradle Plugin will now correctly detect existence of the Android Gradle
18+
Plugin ([#333](https://github.com/rbusarow/Tangle/pull/333))
19+
- The website's "get started" button point to configuration
20+
doc ([#331](https://github.com/rbusarow/Tangle/pull/331))
1021

1122
### 🧰 Maintenance
1223

1324
- Bump com.osacky.doctor from 0.7.1 to 0.7.2 ([#329](https://github.com/rbusarow/Tangle/pull/329))
1425
- Bump kotest-property-jvm from 4.6.2 to 4.6.3 ([#328](https://github.com/rbusarow/Tangle/pull/328))
15-
- Bump lifecycle-viewmodel-compose from 1.0.0-alpha07 to 2.4.0-beta01 ([#327](https://github.com/rbusarow/Tangle/pull/327))
16-
- Bump navigation-runtime-ktx from 2.4.0-alpha08 to 2.4.0-alpha09 ([#326](https://github.com/rbusarow/Tangle/pull/326))
26+
- Bump lifecycle-viewmodel-compose from 1.0.0-alpha07 to
27+
2.4.0-beta01 ([#327](https://github.com/rbusarow/Tangle/pull/327))
28+
- Bump navigation-runtime-ktx from 2.4.0-alpha08 to
29+
2.4.0-alpha09 ([#326](https://github.com/rbusarow/Tangle/pull/326))
1730
- update Dokka to 1.5.30 ([#324](https://github.com/rbusarow/Tangle/pull/324))
1831
- update Gradle Plugin Publish to 0.16.0 ([#325](https://github.com/rbusarow/Tangle/pull/325))
19-
- Bump gradle-maven-publish-plugin from 0.17.0 to 0.18.0 ([#322](https://github.com/rbusarow/Tangle/pull/322))
32+
- Bump gradle-maven-publish-plugin from 0.17.0 to
33+
0.18.0 ([#322](https://github.com/rbusarow/Tangle/pull/322))
2034
- Bump junit-jupiter-api from 5.7.2 to 5.8.0 ([#321](https://github.com/rbusarow/Tangle/pull/321))
2135
- Bump ktlint-gradle from 10.1.0 to 10.2.0 ([#312](https://github.com/rbusarow/Tangle/pull/312))
2236

@@ -25,11 +39,13 @@
2539
### 🚀 Features
2640

2741
- add member injection ([#309](https://github.com/rbusarow/Tangle/pull/309))
42+
2843
```kotlin
2944
@TangleScope(UserScope::class)
3045
class UserActivity : Activity() {
3146

32-
@Inject lateinit var logger: MyLogger
47+
@Inject
48+
lateinit var logger: MyLogger
3349

3450
override fun onCreate(savedInstanceState: Bundle?) {
3551
// inject MyLogger
@@ -44,8 +60,10 @@ class UserActivity : Activity() {
4460

4561
### 💥 Breaking Changes
4662

47-
- rename `TangleGraph.init()` to `TangleGraph.add()` ([#299](https://github.com/rbusarow/Tangle/pull/299))
48-
- make :tangle-api a regular jar artifact ([#289](https://github.com/rbusarow/Tangle/pull/289)) (not really a breaking change though?)
63+
- rename `TangleGraph.init()`
64+
to `TangleGraph.add()` ([#299](https://github.com/rbusarow/Tangle/pull/299))
65+
- make :tangle-api a regular jar artifact ([#289](https://github.com/rbusarow/Tangle/pull/289)) (not
66+
really a breaking change though?)
4967

5068
### 🧰 Maintenance
5169

@@ -59,8 +77,10 @@ class UserActivity : Activity() {
5977

6078
### 🐛 Bug Fixes
6179

62-
- fix `by tangleViewModel` ignores `ComponentActivity` or `FragmentActivity` ([#228](https://github.com/RBusarow/Tangle/issues/228))
63-
- fix `by tangleViewModel` in a Fragment attempts to initialize eagerly (and crashes) ([#227](https://github.com/RBusarow/Tangle/issues/227))
80+
- fix `by tangleViewModel` ignores `ComponentActivity`
81+
or `FragmentActivity` ([#228](https://github.com/RBusarow/Tangle/issues/228))
82+
- fix `by tangleViewModel` in a Fragment attempts to initialize eagerly (and
83+
crashes) ([#227](https://github.com/RBusarow/Tangle/issues/227))
6484

6585
### 🧰 Maintenance
6686

@@ -76,8 +96,10 @@ class UserActivity : Activity() {
7696
```kotlin
7797
@TangleWorker
7898
class MyWorker @AssistedInject constructor(
79-
@Assisted context: Context,
80-
@Assisted params: WorkerParameters,
99+
@Assisted
100+
context: Context,
101+
@Assisted
102+
params: WorkerParameters,
81103
val repository: MyRepository
82104
) : CoroutineWorker(context, params) {
83105
override suspend fun doWork(): Result {
@@ -96,8 +118,7 @@ class MyWorker @AssistedInject constructor(
96118
- `com.rickbusarow.tangle:tangle-viewmodel-fragment`
97119
- `TangleGraph` has
98120
moved `:tangle-api` (`tangle.inject.TangleGraph`) ([#169](https://github.com/rbusarow/Tangle/pull/169))
99-
- `ViewModel`-related s feature toggles in the Gradle plugin have been moved.
100-
old:
121+
- `ViewModel`-related s feature toggles in the Gradle plugin have been moved. old:
101122
```kotlin
102123
tangle {
103124
viewModelsEnabled.set(true)
@@ -152,7 +173,6 @@ class MyWorker @AssistedInject constructor(
152173

153174
- create `release.sh` ([#126](https://github.com/rbusarow/Tangle/pull/126))
154175

155-
156176
# 0.11.2
157177

158178
### Changes

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ kotlin.incremental=true
2727

2828
# Maven
2929
GROUP=com.rickbusarow.tangle
30-
VERSION_NAME=0.13.1
30+
VERSION_NAME=0.13.2
3131
POM_DESCRIPTION=Android dependency injection using Anvil
3232
POM_INCEPTION_YEAR=2021
3333
POM_URL=https://github.com/rbusarow/Tangle

website/docs/configuration.mdx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ plugins {
5555
plugins {
5656
id("android-library") // or application, etc.
5757
kotlin("android")
58-
id("com.rickbusarow.tangle") version "0.13.1"
58+
id("com.rickbusarow.tangle") version "0.13.2"
5959
}
6060

6161
// optional
@@ -135,25 +135,25 @@ plugins {
135135
dependencies {
136136

137137
// Fragments
138-
api("com.rickbusarow.tangle:tangle-fragment-api:0.13.1")
139-
anvil("com.rickbusarow.tangle:tangle-fragment-compiler:0.13.1")
138+
api("com.rickbusarow.tangle:tangle-fragment-api:0.13.2")
139+
anvil("com.rickbusarow.tangle:tangle-fragment-compiler:0.13.2")
140140

141141
// ViewModels
142-
api("com.rickbusarow.tangle:tangle-viewmodel-api:0.13.1")
143-
anvil("com.rickbusarow.tangle:tangle-viewmodel-compiler:0.13.1")
142+
api("com.rickbusarow.tangle:tangle-viewmodel-api:0.13.2")
143+
anvil("com.rickbusarow.tangle:tangle-viewmodel-compiler:0.13.2")
144144

145145
// optional Activity ViewModel support
146-
implementation("com.rickbusarow.tangle:tangle-viewmodel-activity:0.13.1")
146+
implementation("com.rickbusarow.tangle:tangle-viewmodel-activity:0.13.2")
147147

148148
// optional Compose ViewModel support
149-
implementation("com.rickbusarow.tangle:tangle-viewmodel-compose:0.13.1")
149+
implementation("com.rickbusarow.tangle:tangle-viewmodel-compose:0.13.2")
150150

151151
// optional Fragment ViewModel support
152-
implementation("com.rickbusarow.tangle:tangle-viewmodel-fragment:0.13.1")
152+
implementation("com.rickbusarow.tangle:tangle-viewmodel-fragment:0.13.2")
153153

154154
// WorkManager
155-
api("com.rickbusarow.tangle:tangle-work-api:0.13.1")
156-
anvil("com.rickbusarow.tangle:tangle-work-compiler:0.13.1")
155+
api("com.rickbusarow.tangle:tangle-work-api:0.13.2")
156+
anvil("com.rickbusarow.tangle:tangle-work-compiler:0.13.2")
157157
}
158158
```
159159

@@ -173,25 +173,25 @@ plugins {
173173
dependencies {
174174
175175
// Fragments
176-
api 'com.rickbusarow.tangle:tangle-fragment-api:0.13.1'
177-
anvil 'com.rickbusarow.tangle:tangle-fragment-compiler:0.13.1'
176+
api 'com.rickbusarow.tangle:tangle-fragment-api:0.13.2'
177+
anvil 'com.rickbusarow.tangle:tangle-fragment-compiler:0.13.2'
178178
179179
// ViewModels
180-
api 'com.rickbusarow.tangle:tangle-viewmodel-api:0.13.1'
181-
anvil 'com.rickbusarow.tangle:tangle-viewmodel-compiler:0.13.1'
180+
api 'com.rickbusarow.tangle:tangle-viewmodel-api:0.13.2'
181+
anvil 'com.rickbusarow.tangle:tangle-viewmodel-compiler:0.13.2'
182182
183183
// optional Activity ViewModel support
184-
implementation 'com.rickbusarow.tangle:tangle-viewmodel-activity:0.13.1'
184+
implementation 'com.rickbusarow.tangle:tangle-viewmodel-activity:0.13.2'
185185
186186
// optional Compose ViewModel support
187-
implementation 'com.rickbusarow.tangle:tangle-viewmodel-compose:0.13.1'
187+
implementation 'com.rickbusarow.tangle:tangle-viewmodel-compose:0.13.2'
188188
189189
// optional Fragment ViewModel support
190-
implementation 'com.rickbusarow.tangle:tangle-viewmodel-fragment:0.13.1'
190+
implementation 'com.rickbusarow.tangle:tangle-viewmodel-fragment:0.13.2'
191191
192192
// WorkManager
193-
api 'com.rickbusarow.tangle:tangle-work-api:0.13.1'
194-
anvil 'com.rickbusarow.tangle:tangle-work-compiler:0.13.1'
193+
api 'com.rickbusarow.tangle:tangle-work-api:0.13.2'
194+
anvil 'com.rickbusarow.tangle:tangle-work-compiler:0.13.2'
195195
}
196196
```
197197
</TabItem>

website/docs/fragments/fragments.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ plugins {
6868
}
6969

7070
dependencies {
71-
api("com.rickbusarow.tangle:tangle-fragment-api:0.13.1")
72-
anvil("com.rickbusarow.tangle:tangle-fragment-compiler:0.13.1")
71+
api("com.rickbusarow.tangle:tangle-fragment-api:0.13.2")
72+
anvil("com.rickbusarow.tangle:tangle-fragment-compiler:0.13.2")
7373
}
7474
```
7575

@@ -86,8 +86,8 @@ plugins {
8686
}
8787
8888
dependencies {
89-
api 'com.rickbusarow.tangle:tangle-fragment-api:0.13.1'
90-
anvil 'com.rickbusarow.tangle:tangle-fragment-compiler:0.13.1'
89+
api 'com.rickbusarow.tangle:tangle-fragment-api:0.13.2'
90+
anvil 'com.rickbusarow.tangle:tangle-fragment-compiler:0.13.2'
9191
}
9292
```
9393

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tangle",
3-
"version": "0.13.1",
3+
"version": "0.13.2",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

website/src/pages/CHANGELOG.md

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
1+
## 0.13.2
2+
3+
### 🐛 Bug Fixes
4+
5+
- make TanglePlugin apply the Anvil plugin eagerly ([#339](https://github.com/rbusarow/Tangle/pull/339))
6+
17
## 0.13.1
28

39
#### 🚀 Features
410

5-
- The Tangle Gradle Plugin will now automatically apply the Anvil Gradle plugin if it hasn't been applied already. There is no change to behavior if Anvil was already applied manually, or if Anvil is applied later on in configuration. ([#333](https://github.com/rbusarow/Tangle/pull/333))
11+
- The Tangle Gradle Plugin will now automatically apply the Anvil Gradle plugin if it hasn't been
12+
applied already. There is no change to behavior if Anvil was already applied manually, or if Anvil
13+
is applied later on in configuration. ([#333](https://github.com/rbusarow/Tangle/pull/333))
614

715
#### 🐛 Bug Fixes
8-
- The Tangle Gradle Plugin will now correctly detect existence of the Android Gradle Plugin ([#333](https://github.com/rbusarow/Tangle/pull/333))
9-
- The website's "get started" button point to configuration doc ([#331](https://github.com/rbusarow/Tangle/pull/331))
16+
17+
- The Tangle Gradle Plugin will now correctly detect existence of the Android Gradle
18+
Plugin ([#333](https://github.com/rbusarow/Tangle/pull/333))
19+
- The website's "get started" button point to configuration
20+
doc ([#331](https://github.com/rbusarow/Tangle/pull/331))
1021

1122
#### 🧰 Maintenance
1223

1324
- Bump com.osacky.doctor from 0.7.1 to 0.7.2 ([#329](https://github.com/rbusarow/Tangle/pull/329))
1425
- Bump kotest-property-jvm from 4.6.2 to 4.6.3 ([#328](https://github.com/rbusarow/Tangle/pull/328))
15-
- Bump lifecycle-viewmodel-compose from 1.0.0-alpha07 to 2.4.0-beta01 ([#327](https://github.com/rbusarow/Tangle/pull/327))
16-
- Bump navigation-runtime-ktx from 2.4.0-alpha08 to 2.4.0-alpha09 ([#326](https://github.com/rbusarow/Tangle/pull/326))
26+
- Bump lifecycle-viewmodel-compose from 1.0.0-alpha07 to
27+
2.4.0-beta01 ([#327](https://github.com/rbusarow/Tangle/pull/327))
28+
- Bump navigation-runtime-ktx from 2.4.0-alpha08 to
29+
2.4.0-alpha09 ([#326](https://github.com/rbusarow/Tangle/pull/326))
1730
- update Dokka to 1.5.30 ([#324](https://github.com/rbusarow/Tangle/pull/324))
1831
- update Gradle Plugin Publish to 0.16.0 ([#325](https://github.com/rbusarow/Tangle/pull/325))
19-
- Bump gradle-maven-publish-plugin from 0.17.0 to 0.18.0 ([#322](https://github.com/rbusarow/Tangle/pull/322))
32+
- Bump gradle-maven-publish-plugin from 0.17.0 to
33+
0.18.0 ([#322](https://github.com/rbusarow/Tangle/pull/322))
2034
- Bump junit-jupiter-api from 5.7.2 to 5.8.0 ([#321](https://github.com/rbusarow/Tangle/pull/321))
2135
- Bump ktlint-gradle from 10.1.0 to 10.2.0 ([#312](https://github.com/rbusarow/Tangle/pull/312))
2236

@@ -25,11 +39,13 @@
2539
#### 🚀 Features
2640

2741
- add member injection ([#309](https://github.com/rbusarow/Tangle/pull/309))
42+
2843
```kotlin
2944
@TangleScope(UserScope::class)
3045
class UserActivity : Activity() {
3146

32-
@Inject lateinit var logger: MyLogger
47+
@Inject
48+
lateinit var logger: MyLogger
3349

3450
override fun onCreate(savedInstanceState: Bundle?) {
3551
// inject MyLogger
@@ -44,8 +60,10 @@ class UserActivity : Activity() {
4460

4561
#### 💥 Breaking Changes
4662

47-
- rename `TangleGraph.init()` to `TangleGraph.add()` ([#299](https://github.com/rbusarow/Tangle/pull/299))
48-
- make :tangle-api a regular jar artifact ([#289](https://github.com/rbusarow/Tangle/pull/289)) (not really a breaking change though?)
63+
- rename `TangleGraph.init()`
64+
to `TangleGraph.add()` ([#299](https://github.com/rbusarow/Tangle/pull/299))
65+
- make :tangle-api a regular jar artifact ([#289](https://github.com/rbusarow/Tangle/pull/289)) (not
66+
really a breaking change though?)
4967

5068
#### 🧰 Maintenance
5169

@@ -59,8 +77,10 @@ class UserActivity : Activity() {
5977

6078
#### 🐛 Bug Fixes
6179

62-
- fix `by tangleViewModel` ignores `ComponentActivity` or `FragmentActivity` ([#228](https://github.com/RBusarow/Tangle/issues/228))
63-
- fix `by tangleViewModel` in a Fragment attempts to initialize eagerly (and crashes) ([#227](https://github.com/RBusarow/Tangle/issues/227))
80+
- fix `by tangleViewModel` ignores `ComponentActivity`
81+
or `FragmentActivity` ([#228](https://github.com/RBusarow/Tangle/issues/228))
82+
- fix `by tangleViewModel` in a Fragment attempts to initialize eagerly (and
83+
crashes) ([#227](https://github.com/RBusarow/Tangle/issues/227))
6484

6585
#### 🧰 Maintenance
6686

@@ -76,8 +96,10 @@ class UserActivity : Activity() {
7696
```kotlin
7797
@TangleWorker
7898
class MyWorker @AssistedInject constructor(
79-
@Assisted context: Context,
80-
@Assisted params: WorkerParameters,
99+
@Assisted
100+
context: Context,
101+
@Assisted
102+
params: WorkerParameters,
81103
val repository: MyRepository
82104
) : CoroutineWorker(context, params) {
83105
override suspend fun doWork(): Result {
@@ -96,8 +118,7 @@ class MyWorker @AssistedInject constructor(
96118
- `com.rickbusarow.tangle:tangle-viewmodel-fragment`
97119
- `TangleGraph` has
98120
moved `:tangle-api` (`tangle.inject.TangleGraph`) ([#169](https://github.com/rbusarow/Tangle/pull/169))
99-
- `ViewModel`-related s feature toggles in the Gradle plugin have been moved.
100-
old:
121+
- `ViewModel`-related s feature toggles in the Gradle plugin have been moved. old:
101122
```kotlin
102123
tangle {
103124
viewModelsEnabled.set(true)
@@ -152,7 +173,6 @@ class MyWorker @AssistedInject constructor(
152173

153174
- create `release.sh` ([#126](https://github.com/rbusarow/Tangle/pull/126))
154175

155-
156176
## 0.11.2
157177

158178
#### Changes

0 commit comments

Comments
 (0)