summaryrefslogtreecommitdiffstats
path: root/docs/releases/0.4.rst
blob: fd80177b6b2a9af5f268773010951ae475b582b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
0.4
===

*Released: 2022/11/27*

This release brings a whole set of new features during this alpha phase of
the project:

* Post editing
* Post deletion
* View replies under posts
* Ability to post replies
* Local-Only visibility for posts
* Discoverability toggle for identities
* Server defederation (blocking)
* Revamped settings system with better validation
* ARM64 Docker images (in addition to x64)

In addition, bugfixes have been made to post creation, search, fanout, and more.

You can download images from `Docker Hub <https://hub.docker.com/r/jointakahe/takahe>`_,
or use the image name ``jointakahe/takahe:0.4``.


Upgrade Notes
-------------

Settings
~~~~~~~~

The settings system has changed, and affected some of our environment variable
names.

* ``PGHOST``, ``PGUSER`` and similar are still supported, but a new
  ``TAKAHE_DATABASE_SERVER`` env var is now the recommended way to
  configure - it takes a URI/DSN.

* ``TAKAHE_EMAIL_HOST`` and ``TAKAHE_SENDGRID_API_KEY`` have been removed, and
  replaced with ``TAKAHE_EMAIL_SERVER``, that takes ``smtp://`` or ``sendgrid://`` URIs.

* ``TAKAHE_MEDIA_BACKEND`` now expects a URI starting with ``s3://`` or ``gcs://``.

You can see updated instructions of how to set all of these in :doc:`/installation`.


Migrations
~~~~~~~~~~

There is one new database migration - it is backwards-compatible,
so apply the migration *before* you update your webserver and stator deployments.


Stator
~~~~~~

If you have low traffic, you may now run Stator via periodic fetch of a URL
rather than a continuous background process. See :doc:`/installation` for more.