pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/gotosocial



Module Name:    pkgsrc
Committed By:   nikita
Date:           Thu Aug 31 07:03:59 UTC 2023

Modified Files:
        pkgsrc/www/gotosocial: Makefile PLIST distinfo

Log Message:
gotosocial: update to version 0.11.1

Changelog (https://github.com/superseriousbusiness/gotosocial/releases):

v0.11.1 Slightly Sloppier Sloth

Hey sportsfans, here's a bugfix release!

⚠️ IF YOU'VE BEEN RUNNING A SNAPSHOT FROM MAIN, DO NOT USE THIS RELEASE. Stick with your snapshots until the next minor release. You have been warned! This release is specifically for people who were 
using 0.11.0 before.

Now that's out of the way...
Highlights

    We unbuggered the Content-Security-Policy stuff for S3 for good this time! Now, GoToSocial will probe your s3 storage on startup to figure out which endpoint to add to the CSP.
    We fixed a little bug in our media cleanup where an old index was being used, and stuff wasn't being cleaned properly. The first time you run a cleanup with this version, it should be faster and 
your storage use should drop by something in the order of gigabytes.
    No more duplicate database hooks, for those of you who run with trace logging.
    Update Go to 1.21.0, should be a teensy tiny bit faster.

Now get out there and play ball! ⚾ 🎾 🍙
Migration notes
Upgrading

To upgrade to 0.11.1 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.11.1 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.0...v0.11.1#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

    c7a46e0 [performance] Tweak media attachment cleanup; replace stale index (#2143)
    de95f5f [feature] Add snapshot binary builds + uploads (#2119)

Bugfixes

    4b5a3e0 [feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs (#2134)
    4533458 [bugfix] fix double firing bun.DB query hooks (#2124)

Chores + version bumps

    b6c07a7 [chore]: Bump codeberg.org/gruf/go-kv from 1.6.3 to 1.6.4 (#2142)
    24b02d1 [chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 (#2141)
    3ee69cc [chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)
    688ea88 [chore]: Bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 (#2112)
    3c1e12d [chore]: Bump github.com/abema/go-mp4 from 0.12.0 to 0.13.0 (#2113)
    7c65f13 [chore]: Bump modernc.org/sqlite from 1.24.0 to 1.25.0 (#2114)
    71ed361 [chore] ensure worker contexts have request ID (#2120)

v0.11.0 Sloppy Sloth

Hello comrades!

Here's v0.11.0 of GoToSocial, Sloppy Sloth!

It's got a lot of stuff in it (when do our releases not have a lot of stuff in them?), so, we hope you like stuff!
Release highlights

We're making a habit of finally getting around to implementing features that people have been asking for forever. In this spirit, the following things are now implemented:

    Hashtags! Wow, finally! You can write a post with hashtags, and that post will be federated out with those hashtags set on the post. It's like magic! And that's not all, no no, posts will 
federate in with the correct hashtags set on them as well, so you can view posts using that hashtag in your client application of choice. This won't retroactively apply for all posts sitting in your 
database, see the note about hashtags below under migration notes for more details.
    Account notes! You can now set, view, and unset your own private notes on accounts (depending on what client you're using).
    Markers! Client applications can now set and retrieve markers for timeline paging.
    List replies policies now work as they should!
    Lots of performance stuff: we tweaked our cacheing configuration, increased the amount of concurrent database connections that sqlite can use, and more. Things oughta feel a teensy bit faster :)

Migration notes
Upgrading

To upgrade to 0.11.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.11.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.10.0...v0.11.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!
Hashtags
Where are all the hashtags??

This update does not cause all hashtagged statuses currently in your database to show up in hashtag timelines, because that would require a large + annoying database migration with a huge amount of 
calls to remote instances all at once.

Instead, from this release onwards, your instance will begin to process hashtags correctly on new posts that it sees after you upgrade.

Your instance will also update existing posts that it sees again (because of boosts, or status searches, replies, etc) with appropriate hashtags.

In other words, don't expect to see a busy and bustling hashtag timeline immediately; it will populate over time!
Why can't I view hashtags at https://[my-instance]/tags/some_hashtag in my browser?

Simply put, we haven't decided yet whether we want to expose all hashtagged posts on a web page like Mastodon and other servers do. You can view hashtag timelines in your client, but it didn't feel 
right to start showing other people's posts on a hashtag web page that just anyone can access without authentication. We're still figuring out the best thing to do for those hashtag web endpoints 
that your instance now has :)
Detailed changelogs
Features + Performance

    [feature] Lower remote media cache config duration by @daenney in #2007
    [feature] Report Masto version in /api/v1/instance by @daenney in #1977
    [feature/performance] support uncaching remote emoji + scheduled cleanup functions by @NyaaaWhatsUpDoc in #1987
    [performance] retry db queries on busy errors by @NyaaaWhatsUpDoc in #2025
    [feature] Support setting private notes on accounts by @VyrCossont in #1982
    [feature] Implement markers API by @VyrCossont in #1989
    [performance] cache follow, follow request and block ID lists by @NyaaaWhatsUpDoc in #2027
    [feature] Hashtag federation (in/out), hashtag client API endpoints by @tsmethurst in #2032
    [feature] Set timezone in Docker using TZ env variable by @tsmethurst in #2050
    [feature] Allow users to skip http client tls verification for testing purposes (with appropriately loud warnings) by @tsmethurst in #2052
    [feature] simpler cache size configuration by @NyaaaWhatsUpDoc in #2051
    [performance] add caching of status fave, boost of, in reply to ID lists by @NyaaaWhatsUpDoc in #2060
    Allow full BCP 47 in language inputs by @VyrCossont in #2067
    [feature] List replies policy, refactor async workers by @tsmethurst in #2087
    [performance] remove last of relational queries to instead rely on caches by @NyaaaWhatsUpDoc in #2091
    [feature] Set Content-Security-Policy header by @daenney in #2095
    [feature] destroy capitalism

Bugfixes

    [bugfix/frontend] Decode URI component domain before showing on frontend by @tsmethurst in #2043
    [bugfix] Allow instance accounts to be shown in search results in certain circumstances by @tsmethurst in #2053
    [bugfix] handle HEAD requests more elegantly by @NyaaaWhatsUpDoc in #2055
    [bugfix] fix slow accounts / statuses using emojis lookups by @NyaaaWhatsUpDoc in #2056
    [bugfix] Rework MultiError to wrap + unwrap errors properly by @tsmethurst in #2057
    [bugfix] update cache library with nil ptr fix by @NyaaaWhatsUpDoc in #2070
    [bugfix] don't accept unrelated statuses by @NyaaaWhatsUpDoc in #2078
    [bugfix] only set content-length AFTER rewinding body bytes by @NyaaaWhatsUpDoc in #2086
    [bugfix] Fix incorrect per-loop variable capture by @daenney in #2092
    [bugfix] Use length in runes when trimming for RSS by @tsmethurst in #2094
    [bugfix] Populate followRequest before accessing TargetAccount ptr by @tsmethurst in #2099
    [bugfix] Use custom bluemonday policy to disallow inline img tags by @tsmethurst in #2100
    [bugfix] Fix using wrong key for clientID during oauth callback by @tsmethurst in #2101
    [bugfix] Suppress 'errNoEntries' warnings from InboxForwarding function call by @tsmethurst in #2102
    [bugfix] Add s3 endpoint as image-src and media-src for CSP by @tsmethurst in #2103
    [bugfix] CSP policy fixes for S3/object storage by @daenney in #2104
    [bugfix] bump go-kv version with logfmt quote fix by @NyaaaWhatsUpDoc in #2108
    [fix] Update CSP header for blob images (upload preview) and dev livereload by @f0x52 in #2109
    [bugfix] fix inconsistent calculated cache sizes by @NyaaaWhatsUpDoc in #2115

Chores + Version Bumps

    Bump word-wrap from 1.2.3 to 1.2.4 in /web/source by @dependabot in #2001
    [chore]: Bump github.com/go-playground/form/v4 from 4.2.0 to 4.2.1 by @dependabot in #1994
    [chore]: Bump github.com/minio/minio-go/v7 from 7.0.59 to 7.0.60 by @dependabot in #1992
    [chore]: Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 by @dependabot in #1991
    [chore]: Bump modernc.org/sqlite from 1.23.1 to 1.24.0 by @dependabot in #1993
    [chore] Admin CLI + new account creation refactoring by @tsmethurst in #2008
    [chore] Disable the right webfinger test by @daenney in #2018
    [chore]: Bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3 by @dependabot in #2020
    [chore]: Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1 by @dependabot in #2024
    [chore]: Bump codeberg.org/gruf/go-cache/v3 from ...


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/gotosocial/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/gotosocial/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/gotosocial/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/gotosocial/Makefile
diff -u pkgsrc/www/gotosocial/Makefile:1.18 pkgsrc/www/gotosocial/Makefile:1.19
--- pkgsrc/www/gotosocial/Makefile:1.18 Sat Aug 26 16:31:40 2023
+++ pkgsrc/www/gotosocial/Makefile      Thu Aug 31 07:03:59 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2023/08/26 16:31:40 bsiegert Exp $
+# $NetBSD: Makefile,v 1.19 2023/08/31 07:03:59 nikita Exp $
 
-DISTNAME=      gotosocial-0.10.0-source-code
+DISTNAME=      gotosocial-0.11.1-source-code
 PKGNAME=       ${DISTNAME:S/-source-code//}
-PKGREVISION=   1
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=superseriousbusiness/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 GITHUB_PROJECT=        gotosocial

Index: pkgsrc/www/gotosocial/PLIST
diff -u pkgsrc/www/gotosocial/PLIST:1.7 pkgsrc/www/gotosocial/PLIST:1.8
--- pkgsrc/www/gotosocial/PLIST:1.7     Sun Jul 30 20:52:52 2023
+++ pkgsrc/www/gotosocial/PLIST Thu Aug 31 07:03:59 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2023/07/30 20:52:52 nikita Exp $
+@comment $NetBSD: PLIST,v 1.8 2023/08/31 07:03:59 nikita Exp $
 bin/gotosocial
 share/examples/gotosocial/config.yaml
 share/examples/gotosocial/docker-compose.yaml
@@ -24,6 +24,7 @@ share/examples/gotosocial/web/assets/def
 share/examples/gotosocial/web/assets/default_avatars/GoToSocial_icon5.png
 share/examples/gotosocial/web/assets/default_avatars/GoToSocial_icon6.png
 share/examples/gotosocial/web/assets/default_header.png
+share/examples/gotosocial/web/assets/feditext.svg
 share/examples/gotosocial/web/assets/fonts/OFL.txt
 share/examples/gotosocial/web/assets/fonts/noto-sans-v27-latin-700.woff
 share/examples/gotosocial/web/assets/fonts/noto-sans-v27-latin-700.woff2
@@ -44,6 +45,7 @@ share/examples/gotosocial/web/source/css
 share/examples/gotosocial/web/source/css/index.css
 share/examples/gotosocial/web/source/css/profile.css
 share/examples/gotosocial/web/source/css/status.css
+share/examples/gotosocial/web/source/css/tag.css
 share/examples/gotosocial/web/source/frontend/index.js
 share/examples/gotosocial/web/source/index.js
 share/examples/gotosocial/web/source/package.json
@@ -134,4 +136,5 @@ share/examples/gotosocial/web/template/o
 share/examples/gotosocial/web/template/profile.tmpl
 share/examples/gotosocial/web/template/sign-in.tmpl
 share/examples/gotosocial/web/template/status.tmpl
+share/examples/gotosocial/web/template/tag.tmpl
 share/examples/gotosocial/web/template/thread.tmpl

Index: pkgsrc/www/gotosocial/distinfo
diff -u pkgsrc/www/gotosocial/distinfo:1.8 pkgsrc/www/gotosocial/distinfo:1.9
--- pkgsrc/www/gotosocial/distinfo:1.8  Sun Jul 30 20:52:52 2023
+++ pkgsrc/www/gotosocial/distinfo      Thu Aug 31 07:03:59 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2023/07/30 20:52:52 nikita Exp $
+$NetBSD: distinfo,v 1.9 2023/08/31 07:03:59 nikita Exp $
 
-BLAKE2s (gotosocial-0.10.0-source-code.tar.gz) = a2c09d7e1e04f74fa136e9b01be1bcd2d8711f9d5076b44e136a9ef3bd8f3ebb
-SHA512 (gotosocial-0.10.0-source-code.tar.gz) = fc647e6fb35ef8a9969014d4e785f868e5c85fb2305f7ac204ba830d0774cf4fa7cbb25b7a47fed0b8f592e45299cb2bdbbf5f4a6ae45915a540e9c3ab92f3c4
-Size (gotosocial-0.10.0-source-code.tar.gz) = 55714610 bytes
+BLAKE2s (gotosocial-0.11.1-source-code.tar.gz) = f1d6747ed5ffcc960f3e8307d5eac3a5cc234a7118ef3781f65dbab591602920
+SHA512 (gotosocial-0.11.1-source-code.tar.gz) = 571acf683101f844c5c6aca45d78b40aa3fe9fdc6c22cac780ec67a9ea04dbb809162bd0409b41e916662a6538e276d8e673f07cdca0487abf4aecc92525f7fe
+Size (gotosocial-0.11.1-source-code.tar.gz) = 54872499 bytes



Home | Main Index | Thread Index | Old Index