Path to this page:
Subject: CVS commit: pkgsrc/www/gotosocial
From: nikita
Date: 2023-11-15 15:57:49
Message id: 20231115145749.26D74FA3D@cvs.NetBSD.org
Log Message:
gotosocial: update to version 0.12.2
Changelog:
v0.12.2 Spaghettiest Sloth
'Ey up! Another 0.12 series bugfix release!
We fixed an issue where remote accounts that were suspended via targeted \
suspensions in the admin API could be later marked as unsuspended. This means \
that the suspended account had all their relationships / media / statuses etc \
deleted, as normal, but these might end up being repopulated later on if you \
interacted with the account again.
If you suspended any remote accounts from your instance via a targeted \
suspension in the admin settings panel, since 0.12.0, you may need to suspend \
these accounts again after updating to this release.
Note: This issue only affects remote accounts that were suspended in that \
particular way (targeted via the admin API). Domain blocks (and accounts \
suspended as part of a domain block) are not affected by the bug, nor are local \
accounts suspended via the admin API.
So there you go!
For detailed release notes, instructions, and warnings, please follow the 0.12.0 \
release notes and just replace 0.12.0 with 0.12.2 throughout. Thanks! Enjoy!
Changelog
096c517 [bugfix] Don't try to update suspended accounts (#2348)
v0.12.1 Spaghettier Sloth
Hiya! This here is a bugfix release for 0.12.0 Spaghetti Sloth!
We fixed csv block/allowlist import/export in the settings panel, instance terms \
and conditions updating, and also a silly issue where you couldn't use the \
settings panel to update your profile if you didn't have custom CSS enabled on \
your instance (blame me, tobi, for all these shiny new frontend bugs).
For detailed release notes, instructions, and warnings, please follow the 0.12.0 \
release notes and just replace 0.12.0 with 0.12.1 throughout. Thanks! Enjoy!
Changelog
5fdc005 [bugfix/frontend] Export/import CSV correctly (#2294)
1e632dc [bugfix] serialize instance terms via API (#2293)
8a23ce2 [bugfix/frontend] Add nosubmit option to form fields + use it when \
instance custom CSS disabled (#2290)
v0.12.0 Spaghetti Sloth 🍝
Hello! Here's version 0.12.0 of GoToSocial, codename SPAGHETTI SLOTH 🍝
Release highlights
This release brings initial support for different federation modes, starting \
with allowlist federation mode. You can now set your federation mode to \
allowlist, and then add and remove domain allows via the admin settings panel. \
You can read documentation on this feature here: \
https://docs.gotosocial.org/en/latest/admin/federation_modes/.
We revamped some other bits of the settings panel too, including adding a \
setting for the discoverable flag, which is documented here: \
https://docs.gotosocial.org/en/latest/user_guide/settings/#mark-account-as-discoverable-by-search-engines-and-directories
We also added settings for instance rules: you can now add and remove rules for \
your instance, and users on your instance can select rules that have been broken \
when creating reports. Rules are shown on the /about page for your instance.
And as usual we did a whole bunch of bug fixing, performance tweaks, and that \
sort of thing! It's a bit of a cliche to put that in release notes, but there \
you go.
We also started implementing some background functionality for poll support, but \
we didn't quite finish that in time for this release, so polls are not yet \
enabled. Next time!
Migration notes
Settings panel
You may get an error when using the new settings panel code for the first time, \
since we moved some stuff around. To resolve this, please try clearing cookies \
for the page using your browser settings, refreshing the page, and then logging \
in again.
Building frontend from source
If you build the frontend assets (settings panel, css, etc) yourself from \
source, please be aware that the instructions for building have changed \
slightly: \
https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#stylesheet--web-dev
Upgrading
To upgrade to 0.12.0 from a previous release:
Binary/tar
Stop GoToSocial
Untar the new release, including the web assets and html templates.
Edit your config.yaml file as necessary (see below).
Start GoToSocial
Docker
Stop GoToSocial.
Pull the new docker container (superseriousbusiness/gotosocial:0.12.0 or \
superseriousbusiness/gotosocial:latest)
Start GoToSocial.
config.yaml
The configuration file has changed since the previous release. You can see a \
diff of the config file here: \
v0.11.1...v0.12.0#diff-c071e03510b2c57e193a44503fd9528a785f0f411497cc75841a9f8d0b1ac622
Database Migrations
This release contains several database migrations which will run the first time \
you start up this new version. Be sure not to interrupt this migration process. \
This will take anywhere between a couple seconds and ten minutes (on slower \
hardware). Please be patient!
Detailed Changelog
Features and performance
[feature] Add snapshot binary builds + uploads by @tsmethurst in #2119
[feature] Instance rules by @f0x52 in #2125
[feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra \
URIs by @tsmethurst in #2134
[performance] Tweak media attachment cleanup; replace stale index by \
@tsmethurst in #2143
[feature] Make log format configurable by @daenney in #2130
[performance] Rework home timeline query to use cache more by @tsmethurst in \
#2148
[feature] Add rate limit exceptions option, use ISO8601 for rate limit reset \
by @tsmethurst in #2151
[feature] list commands for both attachment and emojis by @rdelaage in #2121
[feature] Store admin actions in the db, prevent conflicting actions by \
@tsmethurst in #2167
[feature] Don't trace non-existing routes by @daenney in #2172
[feature] Support OTLP HTTP, drop Jaeger by @daenney in #2184
[feature] Support Actor URIs for webfinger queries by @daenney in #2187
[feature] Allow admins to expire remote public keys; refetch expired keys on \
demand by @tsmethurst in #2183
[feature] add paging to account follows, followers and follow requests \
endpoints by @NyaaaWhatsUpDoc in #2186
[feature] add paging to AP following / followers endpoints by \
@NyaaaWhatsUpDoc in #2198
[feature] Implement explicit domain allows + allowlist federation mode by \
@tsmethurst in #2200
[frontend] Add discoverable flag to settings panel by @tsmethurst in #2235
[feature] Block a bunch of "AI" crawlers by @daenney in #2239
[feature] tentatively start adding polls support by @NyaaaWhatsUpDoc in #2249
[performance] updates markdown parsing to reduce allocations by \
@NyaaaWhatsUpDoc in #2252
[feature] Allow import/export/creation of domain allows via admin panel by \
@tsmethurst in #2264
Bugfixes
[bugfix] fix double firing bun.DB query hooks by @NyaaaWhatsUpDoc in #2124
[bugfix/frontend] Normalize header sizes by @tsmethurst in #2152
[bugfix] wrap bun.Tx to add our own error processing by @NyaaaWhatsUpDoc in #2169
[bugfix] move SQLite pragmas into connection string by @NyaaaWhatsUpDoc in #2171
[bugfix] fix checks for deref the same status descendants / ascendants by \
@NyaaaWhatsUpDoc in #2181
[bugfix] fix flakey paging test by @NyaaaWhatsUpDoc in #2210
[bugfix] support both CollectionPage AND OrderedCollectionPage in status \
replies by @NyaaaWhatsUpDoc in #2220
[bugfix] Move follow.show_reblogs check further up to avoid showing unwanted \
reblogs in home timeline by @tsmethurst in #2234
[bugfix] Fix paging for empty items by @tsmethurst in #2236
[bugfix/frontend] Fix 'steal this look' emoji promise mapping by @tsmethurst \
in #2270
[frontend/bugfix] Fix bulk import export link by @tsmethurst in #2275
[bugfix] Postgres error wrapping fix by @tsmethurst in #2276
[bugfix] Add missing "local" param in public timeline link headers \
by @tsmethurst in #2277
[bugfix/frontend] fix typo and other oddness in patchRemoteEmojis by \
@tsmethurst in #2281
Chores and version bumps
[chore] ensure worker contexts have request ID by @NyaaaWhatsUpDoc in #2120
[chore]: Bump modernc.org/sqlite from 1.24.0 to 1.25.0 by @dependabot in #2114
[chore]: Bump github.com/abema/go-mp4 from 0.12.0 to 0.13.0 by @dependabot \
in #2113
[chore]: Bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 by @dependabot in #2112
[chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 by @dependabot in \
#2140
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 by \
@dependabot in #2141
[chore]: Bump codeberg.org/gruf/go-kv from 1.6.3 to 1.6.4 by @dependabot in #2142
[chore/frontend] Make line-height a wee little bit bigger by @tsmethurst in #2159
[chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to 0.3.0 by \
@dependabot in #2165
[chore]: Bump github.com/google/uuid from 1.3.0 to 1.3.1 by @dependabot in #2166
[chore]: Bump golang.org/x/text from 0.12.0 to 0.13.0 by @dependabot in #2177
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.62 to 7.0.63 by \
@dependabot in #2180
[chore]: Bump golang.org/x/image from 0.11.0 to 0.12.0 by @dependabot in #2178
[chore] Add script for downloading latest snapshot tar.gz by @tsmethurst in #2157
[chore] much improved paging package by @NyaaaWhatsUpDoc in \
https://github.com/superseriousbusin...
v0.12.0-rc2 Pre-release
Hello hello! Another day another release candidate. We fixed a couple bugs that \
showed up in the first RC. Thank you for reporting those!
For full installation instructions and changes etc, please follow the rc1 \
release notes linked below, but replace rc1 with rc2 throughout.
https://github.com/superseriousbusiness/gotosocial/releases/tag/v0.12.0-rc1
Changelog
805c67b [bugfix] add missing "local" param in public timeline link \
headers (#2277)
77c5d74 [bugfix] Postgres error wrapping fix (#2276)
5250b57 [frontend/bugfix] bulk import export link (#2275)
0dfb260 [bugfix/frontend] Fix 'steal this look' emoji promise mapping (#2270)
v0.12.0-rc1 Pre-release
Hello!
Here's the first release candidate for version 0.12.0 of GoToSocial, codename \
SPAGHETTI SLOTH 🍝
Release highlights
This release brings initial support for different federation modes, starting \
with allowlist federation mode. You can now set your federation mode to \
allowlist, and then add and remove domain allows via the admin settings panel. \
You can read documentation on this feature here: \
https://docs.gotosocial.org/en/latest/admin/federation_modes/.
We revamped some other bits of the settings panel too, including adding a \
setting for the 'discoverable' flag, which is documented here: \
https://docs.gotosocial.org/en/latest/user_guide/settings/#mark-account-as-discoverable-by-search-engines-and-directories
And as usual we did a whole bunch of bug fixing, performance tweaks, and that \
sort of thing! It's a bit of a cliche to put that in release notes, but there \
you go.
We also started implementing some background functionality for poll support, but \
we didn't quite finish that in time for this release, so polls are not yet \
enabled. Next time!
Migration notes
Settings panel
You may get an error when using the new settings panel code for the first time, \
since we moved some stuff around. To resolve this, please try clearing cookies \
for the page using your browser settings, refreshing the page, and then logging \
in again.
Building frontend from source
If you build the frontend assets (settings panel, css, etc) yourself from \
source, please be aware that the instructions for building have changed \
slightly: \
https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md#stylesheet--web-dev
Upgrading
To upgrade to 0.12.0 from a previous release:
Binary/tar
Stop GoToSocial
Untar the new release, including the web assets and html templates.
Edit your config.yaml file as necessary (see below).
Start GoToSocial
Docker
Stop GoToSocial.
Pull the new docker container (superseriousbusiness/gotosocial:0.12.0-rc1 or \
superseriousbusiness/gotosocial:latest)
Start GoToSocial.
config.yaml
The configuration file has changed since the previous release. You can see a \
diff of the config file here: \
v0.11.1...v0.12.0-rc1#diff-c071e03510b2c57e193a44503fd9528a785f0f411497cc75841a9f8d0b1ac622
Database Migrations
This release contains several database migrations which will run the first time \
you start up this new version. Be sure not to interrupt this migration process. \
This will take anywhere between a couple seconds and ten minutes (on slower \
hardware). Please be patient!
Detailed Changelog
Features + Performance
637f188 [feature] Allow import/export/creation of domain allows via admin \
panel (#2264)
6e50883 [performance] updates markdown parsing to reduce allocations in the \
same way as the plain text formatter (#2252)
c6e00af [feature] tentatively start adding polls support (#2249)
736cd37 [frontend] Add discoverable flag to settings panel (#2235)
0cce2c0 [feature] Block a bunch of "AI" crawlers (#2239)
183eaa5 [feature] Implement explicit domain allows + allowlist federation \
mode (#2200)
fc11dee [feature] add paging to AP following / followers endpoints (#2198)
7293d60 [feature] add paging to account follows, followers and follow \
requests endpoints (#2186)
4b59451 [feature] Allow admins to expire remote public keys; refetch expired \
keys on demand (#2183)
2cac5a4 [feature] Support Actor URIs for webfinger queries (#2187)
14ef098 [feature] Support OTLP HTTP, drop Jaeger (#2184)
5f10885 [feature] Don't trace non-existing routes (#2172)
3ed1ca6 [feature] Store admin actions in the db, prevent conflicting actions \
(#2167)
7b48437 [feature] list commands for both attachment and emojis (#2121)
8f38dc2 [feature] Add rate limit exceptions option, use ISO8601 for rate \
limit reset (#2151)
94d1663 [performance] Rework home timeline query to use cache more (#2148)
4ae16bc [feature] Make log format configurable (#2130)
638f023 [performance] Tweak media attachment cleanup; replace stale index (#2143)
1e2db7a [feature/bugfix] Probe S3 storage for CSP uri, add config flag for \
extra URIs (#2134)
92de8fb [feature] Instance rules (#2125)
42bb352 [feature] Add snapshot binary builds + uploads (#2119)
Bugfixes
2b6b9cd [bugfix] Fix paging for empty items (#2236)
b6b8f82 [bugfix] Move follow.show_reblogs check further up to avoid showing \
unwanted reblogs in home timeline (#2234)
9f9fcf7 [bugfix] support both CollectionPage AND OrderedCollectionPage in \
status replies (#2220)
ba0a31d [bugfix] fix flakey paging test (#2210)
916c6d0 [bugfix] fix checks for deref the same status descendants / \
ascendants (#2181)
4eb77ff [bugfix] move SQLite pragmas into connection string (#2171)
1ee99fc [bugfix] wrap bun.Tx to add our own error processing (#2169)
083e8f3 [bugfix/frontend] Normalize header sizes (#2152)
d5d6ad4 [bugfix] fix double firing bun.DB query hooks (#2124)
Chores + version bumps
48725f7 [chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.25 to \
1.0.26 (#2266)
39e22a9 [chore]: Bump golang.org/x/net from 0.16.0 to 0.17.0 (#2262)
37fe8ae [chore]: Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#2258)
274dfb5 [chore]: Bump golang.org/x/image from 0.12.0 to 0.13.0 (#2256)
abd598e [chore]: Bump github.com/abema/go-mp4 from 1.0.0 to 1.1.1 (#2257)
5aeceb5 [chore]: Bump golang.org/x/net from 0.15.0 to 0.16.0 (#2260)
d173fcd [chore] Convert some settings / admin panel JS to TypeScript (#2247)
297b6ee [chore] internal/ap: add pollable AS types, code reformatting, \
general niceties (#2248)
a1ab2c2 [chore]: Bump \
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.18.0 to \
1.19.0 (#2246)
118b546 [chore]: Bump \
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2244)
21f0517 [chore]: Bump modernc.org/sqlite from 1.25.0 to 1.26.0 (#2243)
088daef [chore]: Bump go.opentelemetry.io/otel/sdk from 1.18.0 to 1.19.0 (#2242)
536d9e4 [chore/bugfix] Deinterface text.Formatter, allow underscores in \
hashtags (#2233)
2a9927d [chore] Enable S256 code challenge (#2224)
e93cc7a [chore]: Bump \
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2221)
d45a75e [chore]: Bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 (#2223)
380d83f [chore]: Bump github.com/abema/go-mp4 from 0.13.0 to 1.0.0 (#2222)
8f67dd5 [chore] deinterface the typeutils.Converter and update to use state \
structure (#2217)
1b848aa [chore] fix typo in slice.go (#2219)
c6fdcd5 [chore]: Bump \
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.17.0 to \
1.18.0 (#2207)
f302ebb [chore]: Bump github.com/miekg/dns from 1.1.55 to 1.1.56 (#2204)
50b713e [chore] bump bun (and related libraries) versions to v1.1.16 (#2209)
7011f57 [chore] bump bun v1.1.14 -> v1.1.15 (#2195)
23dd6f6 [chore]: Bump golang.org/x/net from 0.14.0 to 0.15.0 (#2193)
ecbce17 [chore]: Bump github.com/tdewolff/minify/v2 from 2.12.8 to 2.12.9 (#2194)
f0a3fca [chore]: Bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#2190)
b093947 [chore] much improved paging package (#2182)
9f2199f [chore] Add script for downloading latest snapshot tar.gz (#2157)
4f3daee [chore]: Bump golang.org/x/image from 0.11.0 to 0.12.0 (#2178)
c0bddd2 [chore]: Bump github.com/minio/minio-go/v7 from 7.0.62 to 7.0.63 (#2180)
ddd3c2e [chore]: Bump golang.org/x/text from 0.12.0 to 0.13.0 (#2177)
2ec313a [chore]: Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2166)
e6407ec [chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to \
0.3.0 (#2165)
13f1c85 [chore/frontend] Make line-height a wee little bit bigger (#2159)
70d87f0 [chore]: Bump codeberg.org/gruf/go-kv from 1.6.3 to 1.6.4 (#2142)
59b5ed6 [chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 (#2141)
36dceac [chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)
e70629e [chore]: Bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 (#2112)
5a4ceeb [chore]: Bump github.com/abema/go-mp4 from 0.12.0 to 0.13.0 (#2113)
8f4b779 [chore]: Bump modernc.org/sqlite from 1.24.0 to 1.25.0 (#2114)
e9c3663 [chore] ensure worker contexts have request ID (#2120)
Docs
e0f0d32 [docs] statuses-query-pinned #2250 (#2251)
b987653 [docs] ahs article milestone a (#2218)
d6add4e [docs] Add a note on cluster support (#2214)
79906f9 [docs] add fail2ban regex in the doc (#2189)
5416ad9 [docs] Update backup docs (#2153)
Files: