Nik Clayton
5cfe6d055b
fix: Improve parsing of Friendica (and other server) version formats ( #376 )
...
Previous code could return an error on Friendica version strings like
`2024.03-dev-1547`.
Fix this:
- Extend the list of explicitly supported servers to include Fedibird,
Friendica, Glitch, Hometown, Iceshrimp, Pixelfed, and Sharkey.
- Add version parsing routines for these servers.
- Test the version parsing routines fetching every server and version
seen by Fediverse Observer (~ 2,000 servers) and ensuring that the
server and version information can be parsed.
Improve the error message:
- Show the hostname with a `ServerRepository` error
Clean up the code:
- Remove the custom `resultOf` and `mapResult` functions, they have
equivalents in newer versions of the library (like `runSuspendCatching`)
Fixes #372
2024-01-23 20:27:25 +01:00
Nik Clayton
d8be70a465
chore(deps): update plugin ktlint to v12 ( #357 )
2024-01-08 23:26:46 +01:00
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]
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
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
Nik Clayton
4a6981fc07
fix(deps): update logging dependencies
2023-11-17 11:09:44 +01:00
renovate[bot]
f1eaa72dd6
fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v4.0.2 ( #106 )
...
[![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 |
|---|---|---|---|---|---|
|
[io.github.oshai:kotlin-logging-jvm](https://togithub.com/oshai/kotlin-logging )
| `4.0.0-beta-28` -> `4.0.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.oshai:kotlin-logging-jvm/4.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.github.oshai:kotlin-logging-jvm/4.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.github.oshai:kotlin-logging-jvm/4.0.0-beta-28/4.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.oshai:kotlin-logging-jvm/4.0.0-beta-28/4.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>oshai/kotlin-logging
(io.github.oshai:kotlin-logging-jvm)</summary>
###
[`v4.0.1`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.1 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/4.0.0...4.0.1 )
#### What's Changed
- Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/324 ](https://togithub.com/oshai/kotlin-logging/pull/324 )
- Bump multiplatform from 1.8.20 to 1.8.22 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/326 ](https://togithub.com/oshai/kotlin-logging/pull/326 )
- Bump com.diffplug.spotless from 6.17.0 to 6.19.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/325 ](https://togithub.com/oshai/kotlin-logging/pull/325 )
- change android to depend on slf4j2 by default by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/328 ](https://togithub.com/oshai/kotlin-logging/pull/328 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/4.0.0...4.0.1
###
[`v4.0.0`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.0 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/4.0.0-beta-30...4.0.0 )
For TL;DR see
https://github.com/oshai/kotlin-logging#version-4x-vs-previous-versions
#### What's Changed
- 4.x changes by [@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/269 ](https://togithub.com/oshai/kotlin-logging/pull/269 )
- add missing klogger common methods by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/272 ](https://togithub.com/oshai/kotlin-logging/pull/272 )
- removed some code duplication by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/273 ](https://togithub.com/oshai/kotlin-logging/pull/273 )
- initial android support by [@​oshai](https://togithub.com/oshai )
in
[https://github.com/oshai/kotlin-logging/pull/271 ](https://togithub.com/oshai/kotlin-logging/pull/271 )
- AGP 7.3.1 by [@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/274 ](https://togithub.com/oshai/kotlin-logging/pull/274 )
- add javaMain module and remove duplication by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/275 ](https://togithub.com/oshai/kotlin-logging/pull/275 )
- fix log level check for
[#​276](https://togithub.com/oshai/kotlin-logging/issues/276 ) by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/277 ](https://togithub.com/oshai/kotlin-logging/pull/277 )
- fix logger name in messages by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/280 ](https://togithub.com/oshai/kotlin-logging/pull/280 )
- add withLoggingContextAsync by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/278 ](https://togithub.com/oshai/kotlin-logging/pull/278 )
- add native simple test by [@​oshai](https://togithub.com/oshai )
in
[https://github.com/oshai/kotlin-logging/pull/281 ](https://togithub.com/oshai/kotlin-logging/pull/281 )
- fixed some warnings by [@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/282 ](https://togithub.com/oshai/kotlin-logging/pull/282 )
- add js delegate by [@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/283 ](https://togithub.com/oshai/kotlin-logging/pull/283 )
- build(deps): bump log4j2 from 2.19.0 to 2.20.0 by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/284 ](https://togithub.com/oshai/kotlin-logging/pull/284 )
- ci: add Gradle wrapper validation by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/285 ](https://togithub.com/oshai/kotlin-logging/pull/285 )
- build(deps-dev): bump Junit from 5.9.1 to 5.9.2 by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/287 ](https://togithub.com/oshai/kotlin-logging/pull/287 )
- build(deps-dev): bump mockito from 4.8.0 to 4.11.0 by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/286 ](https://togithub.com/oshai/kotlin-logging/pull/286 )
- build: bump gradle wrapper to 7.6.1 by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/289 ](https://togithub.com/oshai/kotlin-logging/pull/289 )
- Add dependabot configuration by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/291 ](https://togithub.com/oshai/kotlin-logging/pull/291 )
- chore(dependabot): fix indentation by
[@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/292 ](https://togithub.com/oshai/kotlin-logging/pull/292 )
- Bump actions/checkout from 2 to 3 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/299 ](https://togithub.com/oshai/kotlin-logging/pull/299 )
- Bump com.android.library from 7.3.1 to 7.4.2 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/294 ](https://togithub.com/oshai/kotlin-logging/pull/294 )
- Bump org.jetbrains.dokka from 1.7.10 to 1.8.10 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/297 ](https://togithub.com/oshai/kotlin-logging/pull/297 )
- Bump com.diffplug.spotless from 5.12.4 to 6.17.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/300 ](https://togithub.com/oshai/kotlin-logging/pull/300 )
- Bump io.github.gradle-nexus.publish-plugin from 1.1.0 to 1.3.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/298 ](https://togithub.com/oshai/kotlin-logging/pull/298 )
- Bump actions/cache from 2.1.7 to 3.3.1 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/296 ](https://togithub.com/oshai/kotlin-logging/pull/296 )
- Bump actions/setup-java from 1 to 3 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/293 ](https://togithub.com/oshai/kotlin-logging/pull/293 )
- Bump multiplatform from 1.8.10 to 1.8.20 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/302 ](https://togithub.com/oshai/kotlin-logging/pull/302 )
- ci: use temurin by [@​yeikel](https://togithub.com/yeikel ) in
[https://github.com/oshai/kotlin-logging/pull/301 ](https://togithub.com/oshai/kotlin-logging/pull/301 )
- Allow turning off logging with `Level.OFF` by
[@​YarnSphere](https://togithub.com/YarnSphere ) in
[https://github.com/oshai/kotlin-logging/pull/313 ](https://togithub.com/oshai/kotlin-logging/pull/313 )
- change package - add kotlinlogging by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/320 ](https://togithub.com/oshai/kotlin-logging/pull/320 )
- Bump multiplatform from 1.8.20 to 1.8.22 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/321 ](https://togithub.com/oshai/kotlin-logging/pull/321 )
- Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/322 ](https://togithub.com/oshai/kotlin-logging/pull/322 )
- Bump com.diffplug.spotless from 6.17.0 to 6.19.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/317 ](https://togithub.com/oshai/kotlin-logging/pull/317 )
#### New Contributors
- [@​dependabot](https://togithub.com/dependabot ) made their first
contribution in
[https://github.com/oshai/kotlin-logging/pull/299 ](https://togithub.com/oshai/kotlin-logging/pull/299 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/3.0.5...4.0.0
###
[`v4.0.0-beta-30`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.0-beta-30 )
[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/4.0.0-beta-29...4.0.0-beta-30 )
#### What's Changed
- Bump multiplatform from 1.8.20 to 1.8.22 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/321 ](https://togithub.com/oshai/kotlin-logging/pull/321 )
- Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/322 ](https://togithub.com/oshai/kotlin-logging/pull/322 )
- Bump com.diffplug.spotless from 6.17.0 to 6.19.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/oshai/kotlin-logging/pull/317 ](https://togithub.com/oshai/kotlin-logging/pull/317 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/4.0.0-beta-29...4.0.0-beta-30
###
[`v4.0.0-beta-29`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.0-beta-29 )
#### What's Changed
- Allow turning off logging with `Level.OFF` by
[@​YarnSphere](https://togithub.com/YarnSphere ) in
[https://github.com/oshai/kotlin-logging/pull/313 ](https://togithub.com/oshai/kotlin-logging/pull/313 )
- change package - add kotlinlogging by
[@​oshai](https://togithub.com/oshai ) in
[https://github.com/oshai/kotlin-logging/pull/320 ](https://togithub.com/oshai/kotlin-logging/pull/320 )
**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/4.0.0-beta-27...4.0.0-beta-29
</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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQ2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 10:50:55 +01:00
renovate[bot]
b2b718e1f9
fix(deps): update dependency ch.qos.logback:logback-classic to v1.4.11 ( #116 )
...
[![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 |
|---|---|---|---|---|---|
| [ch.qos.logback:logback-classic](http://logback.qos.ch )
([source](https://togithub.com/qos-ch/logback )) | `1.3.0` -> `1.4.11` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/ch.qos.logback:logback-classic/1.4.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/ch.qos.logback:logback-classic/1.4.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/ch.qos.logback:logback-classic/1.3.0/1.4.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/ch.qos.logback:logback-classic/1.3.0/1.4.11?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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQ2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 22:55:48 +01:00
renovate[bot]
1425616dff
fix(deps): update dependency com.ibm.icu:icu4j to v74 ( #217 )
...
[![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.ibm.icu:icu4j](https://icu.unicode.org/ )
([source](https://togithub.com/unicode-org/icu )) | `73.2` -> `74.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.ibm.icu:icu4j/74.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.ibm.icu:icu4j/74.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.ibm.icu:icu4j/73.2/74.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.ibm.icu:icu4j/73.2/74.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>unicode-org/icu (com.ibm.icu:icu4j)</summary>
###
[`v74.1`](https://togithub.com/unicode-org/icu/compare/release-73-2...release-74-1 )
[Compare
Source](https://togithub.com/unicode-org/icu/compare/release-73-2...release-74-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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 16:51:15 +01:00
renovate[bot]
c818151c2a
fix(deps): update dependency org.junit.jupiter:junit-jupiter-params to v5.10.1 ( #259 )
...
[![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 |
|---|---|---|---|---|---|
| [org.junit.jupiter:junit-jupiter-params](https://junit.org/junit5/ )
([source](https://togithub.com/junit-team/junit5 )) | `5.10.0` ->
`5.10.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit.jupiter:junit-jupiter-params/5.10.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.junit.jupiter:junit-jupiter-params/5.10.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.junit.jupiter:junit-jupiter-params/5.10.0/5.10.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit.jupiter:junit-jupiter-params/5.10.0/5.10.1?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>
2023-11-16 16:47:54 +01:00
renovate[bot]
7e67186cbe
fix(deps): update dependency org.junit.jupiter:junit-jupiter-params to v5.10.0 ( #121 )
...
[![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.junit.jupiter:junit-jupiter-params](https://junit.org/junit5/ )
([source](https://togithub.com/junit-team/junit5 )) | `5.9.2` -> `5.10.0`
|
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit.jupiter:junit-jupiter-params/5.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.junit.jupiter:junit-jupiter-params/5.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.junit.jupiter:junit-jupiter-params/5.9.2/5.10.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit.jupiter:junit-jupiter-params/5.9.2/5.10.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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-05 14:40:54 +01:00
renovate[bot]
c03935cccf
fix(deps): update dependency com.ibm.icu:icu4j to v73.2 ( #120 )
...
[![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 )) | `73.1` -> `73.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.ibm.icu:icu4j/73.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.ibm.icu:icu4j/73.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.ibm.icu:icu4j/73.1/73.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.ibm.icu:icu4j/73.1/73.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>unicode-org/icu (com.ibm.icu:icu4j)</summary>
###
[`v73.2`](https://togithub.com/unicode-org/icu/compare/release-73-1...release-73-2 )
[Compare
Source](https://togithub.com/unicode-org/icu/compare/release-73-1...release-73-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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 19:05:03 +02:00
Nik Clayton
1bf13b10f8
refactor: Transition from Tusky to Pachli
...
- Rename packages to app.pachli.*
- Switch to Pachli icons (blue / orange)
- Reset database schema version to 1
- Reset versionCode to 1 and versionName to "1.0"
- Update colour scheme, use colorPrimary etc through the app
- Use Material UI components for toolbars
- Use "Pachli" in strings (UI, constants, etc)
- Update copyright on code I contributed
- Update README
- Update fastlane metadata
2023-09-05 13:33:37 +02:00
Nik Clayton
a441576bf6
style: Require trailing comma, and break lines
...
Requiring trailing commas on multi-line lists of items (declarations
and call sites) reduces future repository churn when those lines are
changed, but introduces additional churn now.
Bite the bullet and make the change, as well as adjusting lines that
were too long / indented incorrectly.
The changes were performed automatically, using the `ktlintFormat` task.
Based on https://github.com/tuskyapp/Tusky/pull/3968 by
https://github.com/tinsukE
2023-09-04 20:22:10 +02:00
Nik Clayton
d7b504f31e
change: Add tools/mklanguages
...
The existing language list is incomplete, sorted incorrectly and does
not use the correct language names.
Add a small tool that parses the resource directories that contain
string translations, determines the correct language name and sort
order, and updates the correct application resources so language
lists are displayed correctly.
2023-09-04 20:22:05 +02:00