renovate[bot]
d5cfa3410d
fix(deps): update dependency com.github.ajalt.clikt:clikt to v4 ( #125 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.github.ajalt.clikt:clikt](https://togithub.com/ajalt/clikt ) |
`3.5.4` -> `4.2.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.github.ajalt.clikt:clikt/4.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.github.ajalt.clikt:clikt/4.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.github.ajalt.clikt:clikt/3.5.4/4.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.github.ajalt.clikt:clikt/3.5.4/4.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>ajalt/clikt (com.github.ajalt.clikt:clikt)</summary>
###
[`v4.2.2`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#422 )
[Compare Source](https://togithub.com/ajalt/clikt/compare/4.2.1...4.2.2 )
##### Changed
- Options and arguments can now reference option groups in their
`defaultLazy` and other finalization blocks. They can also freely
reference each other, including though chains of references.
([#​473](https://togithub.com/ajalt/clikt/issues/473 ))
- Updated Kotlin to 1.9.21
([#​472](https://togithub.com/ajalt/clikt/pull/472 ))
###
[`v4.2.1`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#421 )
[Compare Source](https://togithub.com/ajalt/clikt/compare/4.2.0...4.2.1 )
##### Added
- Added `toString` implementations to options and arguments.
([#​434](https://togithub.com/ajalt/clikt/issues/434 ))
- Added `CliktCommand.test` overload that takes a vararg of `String`s as
the command line arguments. Thanks to
[@​sschuberth](https://togithub.com/sschuberth ) for the
contribution
([#​451](https://togithub.com/ajalt/clikt/issues/451 ))
##### Fixed
- Update Mordant dependency to fix crashes on native targets and GraalVM
([#​447](https://togithub.com/ajalt/clikt/issues/447 ))
###
[`v4.2.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#420 )
[Compare Source](https://togithub.com/ajalt/clikt/compare/4.1.0...4.2.0 )
##### Added
- Added `requireConfirmation` parameter to `option().prompt()`
([#​426](https://togithub.com/ajalt/clikt/issues/426 ))
- Added `CliktCommand.terminal` extension for accessing the terminal
from a command.
- Added `includeSystemEnvvars`, `ansiLevel`, `width`, and `height`
parameters to all `CliktCommand.test` overloads.
##### Deprecated
- Deprecated `CliktCommand.prompt`, use `CliktCommand.terminal.prompt`
or `Prompt` instead.
- Deprecated `CliktCommand.confirm`, use `YesNoPrompt` instead.
##### Fixed
- Fixed incorrect error message when a `defaultLazy` option referenced a
`required` option.
([#​430](https://togithub.com/ajalt/clikt/issues/430 ))
###
[`v4.1.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#410 )
[Compare Source](https://togithub.com/ajalt/clikt/compare/4.0.0...4.1.0 )
##### Added
- Added `MordantHelpFormatter.renderAttachedOptionValue` that you can
override to change how option values are shown, e.g. if you want option
to show as `--option <value>` instead of `--option=<value>`.
([#​416](https://togithub.com/ajalt/clikt/issues/416 ))
- Added `option().optionalValueLazy{}`, which work like
`optionalValue()` but the default value is computed lazily.
([#​381](https://togithub.com/ajalt/clikt/issues/381 ))
##### Changed
- Updated Kotlin to 1.9.0
- `PrintMessage`, `PrintHelpMessage` and `PrintCompletionMessage` now
default to exiting with a status code 0, which is the behavior they had
in 3.x. ([#​419](https://togithub.com/ajalt/clikt/issues/419 ))
###
[`v4.0.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#400 )
[Compare Source](https://togithub.com/ajalt/clikt/compare/3.5.4...4.0.0 )
##### Added
- Added `Context.errorEncountered` which is true if parsing has
continued after an error was encountered.
- `option().help{""}` and `argument().help{""}` extensions that set the
parameter's help text lazily, with access to the current context so that
you can add colors.
##### Changed
- `Option.optionHelp` and `Argument.argumentHelp`,
`CliktCommand.commandHelp`, and `CliktCommand.commandHelpEpilog` are now
methods that take the context as an argument, and the `help` parameter
to `copy` is now a `helpGetter` lambda. `CliktCommand.shortHelp` now
takes the context as an argument.
- The `message` method on `TransformContext` interfaces is now an
extension.
##### Deprecated
- Deprecated `CliktCommand.commandHelp` and `commandHelpEpilog`
properties in favor of the methods with the same name.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 16:45:03 +01:00
renovate[bot]
280350f731
chore(deps): update actions/upload-artifact action to v4 ( #355 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/upload-artifact](https://togithub.com/actions/upload-artifact )
| action | major | `v3` -> `v4` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>
### [`v4`](https://togithub.com/actions/upload-artifact/compare/v3...v4 )
[Compare
Source](https://togithub.com/actions/upload-artifact/compare/v3...v4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 16:43:34 +01:00
renovate[bot]
3c0a2e1bee
fix(deps): update dependency com.ibm.icu:icu4j to v74.2 ( #353 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.ibm.icu:icu4j](https://icu.unicode.org/ )
([source](https://togithub.com/unicode-org/icu )) | `74.1` -> `74.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.ibm.icu:icu4j/74.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.ibm.icu:icu4j/74.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.ibm.icu:icu4j/74.1/74.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.ibm.icu:icu4j/74.1/74.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>unicode-org/icu (com.ibm.icu:icu4j)</summary>
###
[`v74.2`](https://togithub.com/unicode-org/icu/compare/release-74-1...release-74-2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 16:43:18 +01:00
renovate[bot]
8a780096ca
fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v6 ( #356 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.github.oshai:kotlin-logging-jvm](https://togithub.com/oshai/kotlin-logging )
| `5.1.0` -> `6.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.oshai:kotlin-logging-jvm/6.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.github.oshai:kotlin-logging-jvm/6.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.github.oshai:kotlin-logging-jvm/5.1.0/6.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.oshai:kotlin-logging-jvm/5.1.0/6.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>oshai/kotlin-logging
(io.github.oshai:kotlin-logging-jvm)</summary>
###
[`v6.0.1`](https://togithub.com/oshai/kotlin-logging/releases/tag/6.0.1 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/6.0.0...6.0.1 )
#### What's Changed
- Bump com.diffplug.spotless from 6.22.0 to 6.23.3 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/377 ](https://togithub.com/oshai/kotlin-logging/pull/377 )
- Bump actions/setup-java from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/376 ](https://togithub.com/oshai/kotlin-logging/pull/376 )
- Bump org.jetbrains.dokka from 1.8.20 to 1.9.10 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/366 ](https://togithub.com/oshai/kotlin-logging/pull/366 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/6.0.0...6.0.1
###
[`v6.0.0`](https://togithub.com/oshai/kotlin-logging/releases/tag/6.0.0 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/5.1.4...6.0.0 )
#### What's Changed
- Update Kotlin to 1.9.21 by
[@​AzimMuradov](https://togithub.com/AzimMuradov ) in
[https://github.com/oshai/kotlin-logging/pull/380 ](https://togithub.com/oshai/kotlin-logging/pull/380 )
#### New Contributors
- [@​AzimMuradov](https://togithub.com/AzimMuradov ) made their
first contribution in
[https://github.com/oshai/kotlin-logging/pull/380 ](https://togithub.com/oshai/kotlin-logging/pull/380 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/5.1.2...6.0.0
###
[`v5.1.4`](https://togithub.com/oshai/kotlin-logging/releases/tag/5.1.4 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/5.1.1...5.1.4 )
#### What's Changed
- fix - protect from uncontrolled format string by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/381 ](https://togithub.com/oshai/kotlin-logging/pull/381 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/5.1.1...5.1.4
###
[`v5.1.1`](https://togithub.com/oshai/kotlin-logging/releases/tag/5.1.1 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/5.1.0...5.1.1 )
#### What's Changed
- Bump actions/checkout from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/357 ](https://togithub.com/oshai/kotlin-logging/pull/357 )
- Bump actions/cache from 3.3.1 to 3.3.2 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/358 ](https://togithub.com/oshai/kotlin-logging/pull/358 )
- Bump com.diffplug.spotless from 6.20.0 to 6.22.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/362 ](https://togithub.com/oshai/kotlin-logging/pull/362 )
- add payload to LocationAwareKLogger by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/332 ](https://togithub.com/oshai/kotlin-logging/pull/332 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/5.1.0...5.1.1
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 16:40:29 +01:00
Nik Clayton
93cc193b52
chore(deps): Update AGP to 8.2.1 ( #344 )
2024-01-08 16:23:44 +01:00
renovate[bot]
c08f05f0e0
chore(deps): update dependency gradle to v8.5 ( #170 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org )
([source](https://togithub.com/gradle/gradle )) | minor | `8.3` -> `8.5`
|
---
### Release Notes
<details>
<summary>gradle/gradle (gradle)</summary>
### [`v8.5`](https://togithub.com/gradle/gradle/compare/v8.4.0...v8.5.0 )
[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.4.0...v8.5.0 )
### [`v8.4`](https://togithub.com/gradle/gradle/releases/tag/v8.4.0 ):
8.4
[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.3.0...v8.4.0 )
The Gradle team is excited to announce Gradle 8.4.
Amongst other improvements, this release addresses two security
vulnerabilities:
- [Incorrect permission assignment for symlinked files used in copy or
archiving
operations](https://togithub.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9 )
- [Possible local text file exfiltration by XML External entity
injection](https://togithub.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8 )
[Read the Release Notes](https://docs.gradle.org/8.4/release-notes.html )
We would like to thank the following community members for their
contributions to this release of Gradle:
[Ahmed Ehab](https://togithub.com/ahmedehabb ),
[Andrei Rybak](https://togithub.com/rybak ),
[Baptiste Decroix](https://togithub.com/bdecroix-spiria ),
[Björn Kautler](https://togithub.com/Vampire ),
[Cesar de la Vega](https://togithub.com/vegaro ),
[Ganavi Jayaram](https://togithub.com/ganavijayaram ),
[Gaurav Padam](https://togithub.com/Gauravpadam ),
[hwanseok](https://togithub.com/hwanseok-dev ),
[J.T. McQuigg](https://togithub.com/JT122406 ),
[Jakub Chrzanowski](https://togithub.com/hsz ),
[Jendrik Johannes](https://togithub.com/jjohannes ),
[kackey0-1](https://togithub.com/kackey0-1 ),
[Konstantin Gribov](https://togithub.com/grossws ),
[Pratik Haldankar](https://togithub.com/pratik2315 ),
[Qinglin](https://togithub.com/nodmp ),
[Sebastian Schuberth](https://togithub.com/sschuberth ),
[Thad House](https://togithub.com/ThadHouse ),
[valery1707](https://togithub.com/valery1707 ),
[Vladimir Sitnikov](https://togithub.com/vlsi ),
[wuyangnju](https://togithub.com/wuyangnju ),
[Yanming Zhou](https://togithub.com/quaff ),
[Yanshun Li](https://togithub.com/Chaoba ),
[Yusuke Uehara](https://togithub.com/uskey512 ),
[zeners](https://togithub.com/zeners )
#### Upgrade instructions
Switch your build to use Gradle 8.4 by updating your wrapper:
./gradlew wrapper --gradle-version=8.4
#### Reporting problems
If you find a problem with this release, please file a bug on [GitHub
Issues](https://togithub.com/gradle/gradle/issues ) adhering to our issue
guidelines.
If you're not sure you're encountering a bug, please use the
[forum](https://discuss.gradle.org/c/help-discuss ).
We hope you will build happiness with Gradle, and we look forward to
your feedback via [Twitter](https://twitter.com/gradle ) or on
[GitHub](https://togithub.com/gradle ).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 12:51:34 +01:00
renovate[bot]
b500379fc9
chore(deps): update kotlin ( #290 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.devtools.ksp](https://goo.gle/ksp )
([source](https://togithub.com/google/ksp )) | `1.9.20-1.0.14` ->
`1.9.22-1.0.16` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.devtools.ksp/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.devtools.ksp/1.9.20-1.0.14/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.devtools.ksp/1.9.20-1.0.14/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin](https://goo.gle/ksp )
([source](https://togithub.com/google/ksp )) | `1.9.20-1.0.14` ->
`1.9.22-1.0.16` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/1.9.20-1.0.14/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/1.9.20-1.0.14/1.9.22-1.0.16?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| org.jetbrains.kotlin.plugin.parcelize | `1.9.20` -> `1.9.22` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.plugin.parcelize/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.plugin.parcelize/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.plugin.parcelize/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.plugin.parcelize/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| org.jetbrains.kotlin.jvm | `1.9.20` -> `1.9.22` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.jvm/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.jvm/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.jvm/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.jvm/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| org.jetbrains.kotlin.android | `1.9.20` -> `1.9.22` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.android/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.android/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.android/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.android/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [org.jetbrains.kotlin:kotlin-gradle-plugin](https://kotlinlang.org/ )
([source](https://togithub.com/JetBrains/kotlin )) | `1.9.20` -> `1.9.22`
|
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin:kotlin-gradle-plugin/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin:kotlin-gradle-plugin/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin:kotlin-gradle-plugin/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin:kotlin-gradle-plugin/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [org.jetbrains.kotlin:kotlin-stdlib](https://kotlinlang.org/ )
([source](https://togithub.com/JetBrains/kotlin )) | `1.9.20` -> `1.9.22`
|
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin:kotlin-stdlib/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin:kotlin-stdlib/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin:kotlin-stdlib/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin:kotlin-stdlib/1.9.20/1.9.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>google/ksp (com.google.devtools.ksp)</summary>
###
[`v1.9.22-1.0.16`](https://togithub.com/google/ksp/releases/tag/1.9.22-1.0.16 )
[Compare
Source](https://togithub.com/google/ksp/compare/1.9.21-1.0.16...1.9.22-1.0.16 )
This is KSP 1.0.16 for Kotlin compiler 1.9.22
###
[`v1.9.21-1.0.16`](https://togithub.com/google/ksp/releases/tag/1.9.21-1.0.16 )
[Compare
Source](https://togithub.com/google/ksp/compare/1.9.21-1.0.15...1.9.21-1.0.16 )
##### Issue fixed
[#​1653](https://togithub.com/google/ksp/issues/1653 ) KSP
1.9.21-1.0.15 leaking memory and causing OOMs
###
[`v1.9.21-1.0.15`](https://togithub.com/google/ksp/releases/tag/1.9.21-1.0.15 )
[Compare
Source](https://togithub.com/google/ksp/compare/1.9.20-1.0.14...1.9.21-1.0.15 )
This is a hot fix to
[#​1591](https://togithub.com/google/ksp/issues/1591 ) where
multiple KMP projects were affected.
##### Issues Fixed / PRs Merged
[#​1591](https://togithub.com/google/ksp/issues/1591 ) Error:
Rewrite at slice LEXICAL_SCOPE key: ANNOTATION_ENTRY old value
[#​1612](https://togithub.com/google/ksp/issues/1612 ) Filter out
the `-progressive` compiler flag in KSP tasks
[#​1614](https://togithub.com/google/ksp/issues/1614 ) Revert back
to the non-thread-local KSP compiler plugin implementation.
</details>
<details>
<summary>JetBrains/kotlin
(org.jetbrains.kotlin:kotlin-gradle-plugin)</summary>
###
[`v1.9.22`](https://togithub.com/JetBrains/kotlin/blob/HEAD/ChangeLog.md#1922 )
##### JavaScript
- [`KT-63719`](https://youtrack.jetbrains.com/issue/KT-63719 ) KJS: Test
results ignored for ES module kind
- [`KT-63808`](https://youtrack.jetbrains.com/issue/KT-63808 )
compileTestDevelopmentExecutableKotlinJs failed in
JsIntrinsicTransformers
##### Native
- [`KT-64139`](https://youtrack.jetbrains.com/issue/KT-64139 ) Weird bug
with while and coroutine in Kotlin Native
- [`KT-63471`](https://youtrack.jetbrains.com/issue/KT-63471 )
linkDebugTestIosX64 Failed to build cache: NoSuchFileException
bitcode_deps
- [`KT-63789`](https://youtrack.jetbrains.com/issue/KT-63789 ) Native:
Incremental compilation problem with compose
##### Tools. CLI
- [`KT-64485`](https://youtrack.jetbrains.com/issue/KT-64485 ) CLI: cache
and optimize parsing of command-line arguments
##### Tools. Gradle
- [`KT-63990`](https://youtrack.jetbrains.com/issue/KT-63990 ) "Cannot
query the value of property 'buildFlowServiceProperty' because it has no
value available" with Isolated Projects
##### Tools. Gradle. Native
- [`KT-63363`](https://youtrack.jetbrains.com/issue/KT-63363 ) Kotlin
Gradle Plugin: `KotlinNativeHostSpecificMetadataArtifact` breaks
configuration cache, implicitly includes output file as configuration
cache input
- [`KT-63742`](https://youtrack.jetbrains.com/issue/KT-63742 ) Gradle
wrongly caches Kotlin/Native compiler flags
##### Tools. JPS
- [`KT-64305`](https://youtrack.jetbrains.com/issue/KT-64305 ) Kotlin JPS
builder requests chunk rebuild with graph implementation
- [`KT-64112`](https://youtrack.jetbrains.com/issue/KT-64112 ) Avoid
using IJ's JPS mappings in Kotlin JPS tests
- [`KT-63799`](https://youtrack.jetbrains.com/issue/KT-63799 ) Make
plugin classpath serialization path agnostic
###
[`v1.9.21`](https://togithub.com/JetBrains/kotlin/blob/HEAD/ChangeLog.md#1921 )
##### Compiler
- [`KT-62885`](https://youtrack.jetbrains.com/issue/KT-62885 ) Introduce
a language feature entry for expect actual classes for easier
configuration of MPP projects
- [`KT-63081`](https://youtrack.jetbrains.com/issue/KT-63081 ) Optimize
new native caches: CachedLibraries.computeVersionedCacheDirectory()
##### Docs & Examples
- [`KT-55619`](https://youtrack.jetbrains.com/issue/KT-55619 ) Document
`String.format` function
##### IDE. Gradle Integration
- [`KT-62877`](https://youtrack.jetbrains.com/issue/KT-62877 ) Artifact
files collecting for project configuration was finished. Resolution for
configuration configuration X will be skipped
##### IDE. Gradle. Script
- [`KT-60813`](https://youtrack.jetbrains.com/issue/KT-60813 ) Scripts:
NoSuchMethodError: 'void org.slf4j.Logger.error(java.lang.String,
java.lang.Object)' when dependency uses Slf4j API
##### JavaScript
- [`KT-60785`](https://youtrack.jetbrains.com/issue/KT-60785 ) KJS:
Destructured value class in suspend function fails with Uncaught
TypeError: can't convert to primitive type error
- [`KT-63207`](https://youtrack.jetbrains.com/issue/KT-63207 ) KMP / JS:
"TypeError: \<mangled_name> is not a function" with 1.9.20
- [`KT-62778`](https://youtrack.jetbrains.com/issue/KT-62778 )
package.json "main" field has .js extension when the result files have
.mjs extension
- [`KT-61795`](https://youtrack.jetbrains.com/issue/KT-61795 ) KJS:
Incremental Cache is not invalidated if `useEsClasses` compiler argument
was changed
- [`KT-61957`](https://youtrack.jetbrains.com/issue/KT-61957 ) KJS:
"Uncaught ReferenceError: entries is not defined" caused by enum class
with `@JsExport` and Enum.entries call
- [`KT-62444`](https://youtrack.jetbrains.com/issue/KT-62444 ) KJS with
commonJS modules should re-export in 1.9.20
- [`KT-63184`](https://youtrack.jetbrains.com/issue/KT-63184 ) KJS /
Serialization: JsExport on serializable interface creates erroneous
TypeScript
- [`KT-62190`](https://youtrack.jetbrains.com/issue/KT-62190 ) KJS:
"IllegalStateException: Expect to have either super call or partial
linkage stub inside constructor" caused by Compose and useEsModules()
- [`KT-58685`](https://youtrack.jetbrains.com/issue/KT-58685 ) KJS:
"IllegalStateException: Not locked" cused by "unlock" called twice
##### Klibs
- [`KT-62515`](https://youtrack.jetbrains.com/issue/KT-62515 ) Interop
klib of concurrent version is not accepted when building dependent
project: "The library versions don't match"
##### Tools. CLI
- [`KT-63139`](https://youtrack.jetbrains.com/issue/KT-63139 ) Incorrect
kotlin implementation version (1.9.255-SNAPSHOT) in metadata info
##### Tools. Gradle
- [`KT-63499`](https://youtrack.jetbrains.com/issue/KT-63499 ) Gradle:
Source sets conventions are still registered
##### Tools. Gradle. JS
- [`KT-59523`](https://youtrack.jetbrains.com/issue/KT-59523 ) MPP / KJS:
ESM modules uses incorrect file extension on package.json (.mjs)
##### Tools. Gradle. Kapt
- [`KT-63366`](https://youtrack.jetbrains.com/issue/KT-63366 ) Kapt
processing fails with custom source sets
##### Tools. Gradle. Multiplatform
- [`KT-32608`](https://youtrack.jetbrains.com/issue/KT-32608 ) Create
JUnit-XML result file in multiplatform gradle build
- [`KT-63315`](https://youtrack.jetbrains.com/issue/KT-63315 ) Wasm
gradle plugin DSL is invalid for parameterless wasmWasi method
- [`KT-63338`](https://youtrack.jetbrains.com/issue/KT-63338 ) \[KMP]
metadata task fails to find cinterop classes from dependency projects
- [`KT-63044`](https://youtrack.jetbrains.com/issue/KT-63044 ) KGP:
Multiplatform - 8.4 configuration cache support
- [`KT-63011`](https://youtrack.jetbrains.com/issue/KT-63011 ) Apple
Framework Artifacts is not connected to KotlinNativeTask
- [`KT-62601`](https://youtrack.jetbrains.com/issue/KT-62601 )
AS/IntelliJ exception after updating a KMP project with a macos target
to Kotlin 1.9.20-RC
##### Tools. Incremental Compile
- [`KT-61590`](https://youtrack.jetbrains.com/issue/KT-61590 ) K2/KMP:
Expect actual matching is breaking on the incremental compilation
##### Tools. JPS
- [`KT-63594`](https://youtrack.jetbrains.com/issue/KT-63594 )
ClassCastException in JPS statistics
- [`KT-63651`](https://youtrack.jetbrains.com/issue/KT-63651 ) Fix NPE in
Kotlin JPS after enabling graph implementation of JPS
##### Tools. Kapt
- [`KT-57389`](https://youtrack.jetbrains.com/issue/KT-57389 ) KAPT3 uses
a Javac API for JCImport which will break in JDK 21
- [`KT-60507`](https://youtrack.jetbrains.com/issue/KT-60507 ) Kapt:
"IllegalAccessError: superclass access check failed" using java 21
toolchain
##### Tools. Scripts
- [`KT-54819`](https://youtrack.jetbrains.com/issue/KT-54819 ) Scripts:
Not able to use slf4j in .main.kts
- [`KT-61727`](https://youtrack.jetbrains.com/issue/KT-61727 ) Scripts:
Maven artifacts resolution is slow
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 12:28:04 +01:00
renovate[bot]
9146292656
fix(deps): update dependency org.jetbrains:markdown to v0.6.1 ( #299 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.jetbrains:markdown](https://togithub.com/JetBrains/markdown ) |
`0.5.2` -> `0.6.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains:markdown/0.6.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains:markdown/0.6.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains:markdown/0.5.2/0.6.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains:markdown/0.5.2/0.6.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>JetBrains/markdown (org.jetbrains:markdown)</summary>
###
[`v0.6.1`](https://togithub.com/JetBrains/markdown/blob/HEAD/CHANGELOG.md#061 )
- \[[#​141](https://togithub.com/JetBrains/markdown/issues/141 )]
Add support for cancellation of the parsing process
###
[`v0.6.0`](https://togithub.com/JetBrains/markdown/blob/HEAD/CHANGELOG.md#060 )
- \[[#​135](https://togithub.com/JetBrains/markdown/issues/135 )]
Fixed node creation for zero-length table cells
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 12:17:54 +01:00
Nik Clayton
51c2ef0607
chore: Prepare release 2.1.1 (versionCode 10) ( #331 )
2023-12-17 07:15:46 +01:00
Nik Clayton
cc0be0318f
fix: Prevent crash if a trending tab is present ( #330 )
...
Old versions of the preference value could have been serialised without
the `_` in the name, so handle those specially.
Fixes #329
2023-12-17 07:01:56 +01:00
Nik Clayton
88466373b3
chore: Prepare release 2.1.0 (versionCode 9) ( #327 )
2023-12-15 15:50:20 +01:00
Nik Clayton
25dccdfee3
docs: Use larger fonts in screenshots, adjust descriptions ( #325 )
2023-12-15 11:39:49 +01:00
bittin1ddc447d824349b2
c555f25366
fix(l10n): Update Swedish translations
...
Currently translated at 100.0% (11 of 11 strings)
Translation: Pachli/Fastlane Metadata
Translate-URL: https://hosted.weblate.org/projects/pachli/fastlane-metadata/sv/
2023-12-15 11:38:09 +01:00
bittin1ddc447d824349b2
49a31dd80b
fix(l10n): Update Swedish translations
...
Currently translated at 100.0% (650 of 650 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/sv/
2023-12-15 11:38:09 +01:00
Kalle Kniivilä
4db3b35023
fix(l10n): Update Finnish translations
...
Currently translated at 72.3% (470 of 650 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/fi/
2023-12-15 11:38:09 +01:00
Nik Clayton
fe8f84847b
fix: Prevent a crash if trending tags, links, or statuses are added to tabs ( #323 )
...
The previous code was serialising the `TabKind` enum without the `_`, so
when it was converted back to the enum name (which has a `_`) it failed
and immediately crashed.
Fixes #306
2023-12-14 12:25:03 +01:00
Nik Clayton
b294a3bace
fix: Correctly show if an account is a bot or not ( #322 )
...
e35fa1db
inadvertently contained some left over debug code that treats
non-bot accounts as bots (for displaying the bot badge) and vice versa.
Fixes #321
2023-12-14 11:27:49 +01:00
Nik Clayton
29f9273c01
fix: Show translated content when viewing a thread ( #320 )
...
If a status was part of a thread, and it was not the "detailed" status,
and it had been translated, then the view data was marked as "show the
translation". But the translation was not loaded, so the status content
appeared as empty.
Fix that by loading the translated content of all statuses in the thead
and ensure that the translated content is rendered.
Throw an `IllegalStateException` in debug builds to catch any future
occurrences of this.
Fixes #281
2023-12-13 17:18:07 +01:00
Nik Clayton
e24ef0b52d
refactor: Use @MapColumn instead of @MapInfo ( #319 )
...
`@MapInfo` is deprecated, migrate to `@MapColumn`.
2023-12-13 16:44:50 +01:00
Nik Clayton
341415bc1e
docs: Update app screenshots ( #318 )
...
Demonstrate:
- Light, dark, and black themes
- Different fonts and sizes
- Translation
- Trending posts, links, and hashtags
- Scheduling posts
- Profile
- Posting polls etc
Fixes #304
2023-12-13 13:10:46 +01:00
Nik Clayton
bf36837b04
feat: Allow the user to report crashes in orange builds ( #317 )
...
Add a dependency on ACRA (in orange builds only), and catch crashes.
The user is given the option to e-mail the crash report data to the
support address, and can view and edit/redact the data before doing so.
2023-12-12 23:25:09 +01:00
Nik Clayton
098983f401
fix: Calculate length of posts and polls with emojis correctly ( #315 )
...
Mastodon counts post lengths by considering emojis to be single
characters, no matter how many unicode code points they are composed of.
So "😜 " has length 1.
Pachli was using `String.length`, which considers "😜 " as length 2.
Correct the calculation by using a BreakIterator to count the characters
in the string, which treats multi-character emojis as a length 1.
Poll options had a similar problem, exacerbated by the Mastodon web UI
also having the same problem, see
https://github.com/mastodon/mastodon/issues/28336 .
Fix that by creating `MastodonLengthFilter`, an `InputFilter` that does
the right thing for regular text that may contain emojis.
See also https://github.com/tuskyapp/Tusky/pull/4152 , which has the fix
for status length but not polls.
---------
Co-authored-by: Konrad Pozniak <opensource@connyduck.at>
2023-12-12 16:53:09 +01:00
Nik Clayton
239f5cb274
build: Publish Gradle buildscans when CI variable is non-empty ( #316 )
...
This should allow for periodic tracking of improvements (or regressions)
in the build performance.
Fixes #314
2023-12-12 15:17:47 +01:00
Kalle Kniivilä
07e1d4c760
fix(l10n): Update Finnish translations
...
Currently translated at 60.2% (390 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/fi/
2023-12-12 14:09:35 +01:00
Nik Clayton
cbecfa3117
feat: Show roles on profiles ( #312 )
...
Roles for the logged in user appeared in Mastodon 4.0.0 and can be
displayed on the user's profile screen.
Show them as chips, adjusting the display of the existing "Follows you"
and "Bot" indicators to make allowances for this.
Roles can have a custom colour assigned by the server admin. This is
blended with the app colour so it is not too jarring in the display.
See also https://github.com/tuskyapp/Tusky/pull/4029
Co-authored-by: Konrad Pozniak <opensource@connyduck.at>
2023-12-11 20:57:11 +01:00
Nik Clayton
60cfa99f17
refactor: Use AppTheme enum exclusively ( #311 )
...
Previous code treated the app theme as a mix of strings and enums.
Convert to exclusively use the `AppTheme` enum to improve type safety.
2023-12-11 14:41:36 +01:00
Nik Clayton
2a7eda667b
fix: Prevent crash if a preview card does not have an author
2023-12-09 22:49:21 +01:00
Nik Clayton
4f65321a9d
fix: Prevent crash if an error is shown in a timeline without a FAB
2023-12-09 22:49:21 +01:00
Nik Clayton
df45c0cd96
fix: Prevent crash showing profile if account has null `createdAt` field
2023-12-09 22:49:21 +01:00
Nik Clayton
d4eed2fbf8
fix: Prevent memory leak in CompositeWithOpaqueBackground ( #309 )
...
Quoting @connyduck in https://github.com/tuskyapp/Tusky/pull/4150 :
"""
The transformation ends up in Glide's memory cache and leaks whole
Activities through the view -> context reference.
This fixes the problem by removing the background detection logic (so
the view reference is no longer needed) and setting the background
directly instead. Looks exactly as before.
"""
Co-authored-by: Konrad Pozniak <opensource@connyduck.at>
2023-12-09 18:36:49 +01:00
Nik Clayton
6ee41177cd
build: Install LeakCanary in debug builds ( #308 )
2023-12-09 18:06:01 +01:00
Kalle Kniivilä
0251801d7e
fix(l10n): Update Finnish translations
...
Currently translated at 60.1% (389 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/fi/
2023-12-09 17:49:16 +01:00
Nik Clayton
1214cf7c8a
refactor: Break navigation dependency cycles with :core:navigation ( #305 )
...
The previous code generally started an activity by having the activity
provide a method in a companion object that returns the relevant intent,
possibly taking additional parameters that will be included in the
intent as extras.
E.g., if A wants to start B, B provides the method that returns the
intent that starts B.
This introduces a dependency between A and B.
This is worse if B also wants to start A.
For example, if A is `StatusListActivity` and B is`ViewThreadActivity`.
The user might click a status in `StatusListActivity` to view the
thread, starting `ViewThreadActivity`. But from the thread they might
click a hashtag to view the list of statuses with that hashtag. Now
`StatusListActivity` and `ViewThreadActivity` have a circular
dependency.
Even if that doesn't happen the dependency means that any changes to B
will trigger a rebuild of A, even if the changes to B are not relevant.
Break this dependency by adding a `:core:navigation` module with an
`app.pachli.core.navigation` package that contains `Intent` subclasses
that should be used instead. The `quadrant` plugin is used to generate
constants that can be used to launch activities by name instead of by
class, breaking the dependency chain.
The plugin uses the `Activity` names from the manifest, so when an
activity is moved in the future the constant will automatically update
to reflect the new package name.
If the activity's intent requires specific extras those are passed via
the constructor, with companion object methods to extract them from the
intent.
Using the intent classes from this package is enforced by a lint
`IntentDetector` which will warn if any intents are created using a
class literal.
See #291
2023-12-07 18:36:00 +01:00
renovate[bot]
b14972cb73
chore(deps): update actions/setup-java action to v4 ( #301 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-java](https://togithub.com/actions/setup-java ) | action
| major | `v3` -> `v4` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>actions/setup-java (actions/setup-java)</summary>
### [`v4`](https://togithub.com/actions/setup-java/compare/v3...v4 )
[Compare
Source](https://togithub.com/actions/setup-java/compare/v3...v4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 12:21:14 +01:00
renovate[bot]
f1e7ed0618
fix(deps): update dependency org.mockito.kotlin:mockito-kotlin to v5.2.1 ( #300 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[org.mockito.kotlin:mockito-kotlin](https://togithub.com/mockito/mockito-kotlin )
| `5.1.0` -> `5.2.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.mockito.kotlin:mockito-kotlin/5.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.mockito.kotlin:mockito-kotlin/5.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.mockito.kotlin:mockito-kotlin/5.1.0/5.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.mockito.kotlin:mockito-kotlin/5.1.0/5.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>mockito/mockito-kotlin
(org.mockito.kotlin:mockito-kotlin)</summary>
###
[`v5.2.1`](https://togithub.com/mockito/mockito-kotlin/releases/tag/5.2.1 )
[Compare
Source](https://togithub.com/mockito/mockito-kotlin/compare/5.2.0...5.2.1 )
<sup><sup>*Changelog generated by [Shipkit Changelog Gradle
Plugin](https://togithub.com/shipkit/shipkit-changelog )*</sup></sup>
##### 5.2.1
- 2023-12-02 - [1
commit(s)](https://togithub.com/mockito/mockito-kotlin/compare/5.2.0...5.2.1 )
by Róbert Papp
- Increase visibility of Mockito dependency
[(#​498)](https://togithub.com/mockito/mockito-kotlin/pull/498 )
###
[`v5.2.0`](https://togithub.com/mockito/mockito-kotlin/releases/tag/5.2.0 )
[Compare
Source](https://togithub.com/mockito/mockito-kotlin/compare/5.1.0...5.2.0 )
<sup><sup>*Changelog generated by [Shipkit Changelog Gradle
Plugin](https://togithub.com/shipkit/shipkit-changelog )*</sup></sup>
##### 5.2.0
- 2023-12-01 - [1
commit(s)](https://togithub.com/mockito/mockito-kotlin/compare/5.1.0...5.2.0 )
by Sergei
- Main dependencies updated
[(#​496)](https://togithub.com/mockito/mockito-kotlin/pull/496 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 12:20:51 +01:00
Nik Clayton
2ce80c6a32
refactor: Use the correct package for TimelineKind ( #303 )
...
The package wasn't renamed when it was moved, so was still
`app.pachli.components.timeline`, instead of the new location,
`app.pachli.core.network.model`.
2023-12-06 12:20:36 +01:00
Nik Clayton
e749b362ca
refactor: Start creating core modules ( #286 )
...
The existing code base is a single monolithic module. This is relatively
simple to configure, but many of the tasks to compile the module and
produce the final app have to run in series.
This is unnecessarily slow.
This change starts to split the code in to multiple modules, which are:
- :core:account - AccountManager, to break a dependency cycle
- :core:common - low level types or utilities used in many other modules
- :core:database - database types, DAOs, and DI infrastructure
- :core:network - network types, API definitions, and DI infrastructure
- :core:preferences - shared preferences definitions and DI
infrastructure
- :core:testing - fakes and rules used across different modules
Benchmarking with gradle-profiler shows a ~ 17% reduction in incremental
build times after an ABI change. That will improve further as more code
is moved to modules.
The rough mechanics of the changes are:
- Create the modules, and move existing files in to them. This causes a
lot of churn in import arguments.
- Convert build.gradle files to build.gradle.kts
- Separate out the data required to display a tab (`TabViewData`) from
the data required to configure a tab (`TabData`) to avoid circular
dependencies.
- Abstract the repeated build logic shared between the modules in to
a set of plugins under `build-logic/`, to simplify configuration of
the application and library builds.
- Be explicit that some nullable types are non-null at time of use.
Nullable properties in types imported from modules generally can't be
smart cast to non-null. There's a detailed discussion of why this
restriction exists at
https://discuss.kotlinlang.org/t/what-is-the-reason-behind-smart-cast-being-impossible-to-perform-when-referenced-class-is-in-another-module/2201 .
The changes highlight design problems with the current code, including:
- The main application code is too tightly coupled to the network types
- Too many values are declared unnecessarily nullable
- Dependency cycles between code that make modularisation difficult
Future changes will add more modules.
See #291 .
2023-12-04 16:58:36 +01:00
sanao
a7533b3f08
feat: Display compose button when viewing lists ( #279 )
...
Fixes #231
2023-12-04 16:42:32 +01:00
sanao
fbbb6249cc
feat: Display compose button when viewing bookmarks list ( #278 )
...
Fixes #230
2023-12-04 16:29:14 +01:00
renovate[bot]
02b17f4144
fix(deps): update dependency com.android.tools.build:gradle to v8.2.0 ( #257 )
...
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.android.tools.build:gradle](https://developer.android.com/studio/build )
([source](https://android.googlesource.com/platform/tools/base )) |
`8.1.2` -> `8.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.build:gradle/8.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.tools.build:gradle/8.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.tools.build:gradle/8.1.2/8.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.build:gradle/8.1.2/8.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [com.android.tools.lint:lint-tests](http://tools.android.com/ ) |
`31.1.3` -> `31.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.lint:lint-tests/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.tools.lint:lint-tests/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.tools.lint:lint-tests/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.lint:lint-tests/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [com.android.tools.lint:lint](http://tools.android.com/ ) | `31.1.3` ->
`31.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.lint:lint/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.tools.lint:lint/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.tools.lint:lint/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.lint:lint/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [com.android.tools.lint:lint-checks](http://tools.android.com/ ) |
`31.1.3` -> `31.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.lint:lint-checks/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.tools.lint:lint-checks/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.tools.lint:lint-checks/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.lint:lint-checks/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [com.android.tools.lint:lint-api](http://tools.android.com/ ) |
`31.1.3` -> `31.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.lint:lint-api/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.tools.lint:lint-api/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.tools.lint:lint-api/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.lint:lint-api/31.1.3/31.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nik Clayton <nik@ngo.org.uk>
2023-12-02 14:34:34 +01:00
Nik Clayton
f9fb0e87b4
fix: Prevent UnsupportedOperationException in PachliTileService ( #288 )
...
Previous code always called `startActivityAndCollapse()` with a regular
intent, which triggers an `UnsupportedOperationException` at API 34.
Use the non-deprecated variant that uses pending intents when
appropriate.
While looking at this I noticed the icon for the tile was incorrect, so
replaced that with the notification icon.
2023-12-02 14:24:29 +01:00
Jener Gomes
d2ef0b0713
fix(l10n): Update English (United Kingdom) translations
...
Currently translated at 12.3% (80 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/en_GB/
2023-12-01 17:00:58 +01:00
sköldpadda
96d6c3bed3
fix(l10n): Update Swedish translations
...
Currently translated at 99.8% (646 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/sv/
2023-12-01 17:00:58 +01:00
Jener Gomes
abc7a180bf
fix(l10n): Update Portuguese (Brazil) translations
...
Currently translated at 100.0% (647 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/pt_BR/
2023-12-01 17:00:58 +01:00
Jener Gomes
ad8d689165
fix(l10n): Update Spanish translations
...
Currently translated at 100.0% (647 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/es/
2023-12-01 17:00:58 +01:00
Jener Gomes
ef6db89665
fix(l10n): Update English translations
...
Currently translated at 100.0% (647 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/en/
2023-12-01 17:00:58 +01:00
Jener Gomes
a097b09af6
fix(l10n): Update Portuguese (Brazil) translations
...
Currently translated at 99.8% (646 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/pt_BR/
2023-12-01 17:00:58 +01:00
sanao
bfdd8c943f
fix(l10n): Update Japanese translations
...
Currently translated at 100.0% (647 of 647 strings)
Translation: Pachli/UI strings
Translate-URL: https://hosted.weblate.org/projects/pachli/ui-strings/ja/
2023-12-01 17:00:58 +01:00
Nik Clayton
3827c09165
chore: Prepare release 2.0.0 (versionCode 8) ( #277 )
2023-11-23 12:53:58 +01:00
sanao
06f2fa27e2
feat: Display compose button when viewing favorites list ( #276 )
...
Display the "compose" FAB when viewing the favourite list.
Fixes #229
2023-11-23 11:32:08 +01:00