Skip to content

Commit c536cd7

Browse files
committed
config: Default to Wallabag 2
It has been years since Wallabag 2 has been released so let’s allow people to remove wallabag_version=2 from their configs by making it the default value. This is potentially breaking change but hopefully, no one uses Wallabag 1 any more.
1 parent bf8558c commit c536cd7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
* Traditional Chinese `zh-TW`
7070
* Norwegian Bokmål `nb`
7171
* Swedish `sv`
72+
- Wallabag sharer now targets Wallabag 2 by default. This is potentially breaking change but hopefully, no one uses Wallabag 1 any more. ([#1261](https://github.com/fossar/selfoss/pull/1261))
7273

7374
### Other changes
7475
- The front-end has been modernized using React framework, this will greatly simplify future development. ([#1216](https://github.com/fossar/selfoss/pull/1216))

docs/content/docs/administration/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ URL of your [Wallabag](https://www.wallabag.org/) instance.
229229
### `wallabag_version`
230230
<div class="config-option">
231231

232-
Set to `1` or `2` depending on your wallabag version (`1` for version 1.x or `2` for version 2.x).
232+
Set to `2` or `1` depending on your wallabag version (`2` for version 2.x or `1` for version 1.x).
233233
</div>
234234

235235
### `wordpress`

src/helpers/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Configuration {
123123
public $wallabag = '';
124124

125125
/** @var string */
126-
public $wallabagVersion = '1';
126+
public $wallabagVersion = '2';
127127

128128
/** @var ?string */
129129
public $wordpress = null;

0 commit comments

Comments
 (0)