Releases: getsentry/self-hosted
24.1.2
Breaking Changes
This release changes the memcached backend from django.core.cache.backends.memcached.MemcachedCache
to django.core.cache.backends.memcached.PyMemcacheCache
. This will require changing the CACHES
setting in your sentry.conf.py
file in a manner similar to what is seen here. In particular, the OPTIONS
API for PyMemcacheCache
is different from that of MemcachedCache
, and may require changes depending on how it has been configured.
Security Fix
Various fixes & improvements
- Check memcached backend in Django (#2778) by @chadwhitacre
- Fix groupedmessage indexing error (#2777) by @hubertdeng123
- build(deps): bump actions/setup-python from 4 to 5 (#2644) by @dependabot
- feat: provide csrf settings information for sentry config (#2762) by @aldy505
- Fix apt config generation when http_proxy is set (#2725) (#2734) by @lemrouch
24.1.1
Notes
- You will need to update your django cache backend to PyMemCache in your sentry.conf.py as seen here
Various fixes & improvements
- Revert "Move open ai key from env variables" (#2724) by @hubertdeng123
- Fix cache error self hosted (#2722) by @hubertdeng123
24.1.0
Various fixes & improvements
- Enable crons (#2712) by @hubertdeng123
- Parameterize backup restore script (#2412) by @hubertdeng123
- Run tests only on getsentry repository (#2681) by @aminvakil
- Tweak the template now that we can see it (#2670) by @chadwhitacre
- Nginx client request body is buffered to a temporary file (#2630) by @zKoz210
23.12.1
23.12.0
Various fixes & improvements
- test(backup): Use --no-prompt for backup tests (#2618) by @azaslavsky
23.11.2
Security Fix
23.11.1
Important changes
License change
This is self-hosted's first release under the new FSL license. Please take a minute to familiarize yourself with it.
Increased minimum RAM requirements
Some users have been reported memory troubles in certain scenarios, so we bumped the minimum RAM requirements for self-hosted to 16GB going forward.
New sentry-admin.sh interface
We've added a new tool at the top of the repository, sentry-admin.sh
, which makes it a bit easier to interact with the command line administration functions, which live inside of the web
container. While these have always been accessible via the long command line incantation docker compose run --rm -T -e SENTRY_LOG_LEVEL=CRITICAL web <MY_ADMIN_COMMAND_HERE>
, using the new shell script makes them this a bit cleaner: ./sentry-admin.sh <MY_ADMIN_COMMAND_HERE>
. The help documentation has also been improved, and is a bit easier to access: ./sentry-admin.sh --help
and ./sentry-admin.sh <SOME_ADMIN_COMMAND> --help
should both work as expected.
Profile transaction association bug fix
Associating profiles and transactions was broken at the time of the 23.11.0 release. This feature should now be working again.
Included changes
- feat: Add sentry-admin.sh tool (#2594) by @azaslavsky
- Patch for dev self-hosted environments (#2592) by @hubertdeng123
- Relicense under FSL-1.0-Apache-2.0 (#2586) by @chadwhitacre
- Bump minimum ram usage (#2585) by @hubertdeng123
23.11.0
Important Changes
- Sessions infrastructure has been deprecated. Release health now runs on the metrics backend
- Discord integration is now live!
- ProjectUserDetailsEndpoint has been deleted.
Various fixes & improvements
- feat: provide a toggle to enable discord integration (#2548) by @aldy505
- ref: fix a typo (#2556) by @asottile-sentry
- ref: use
git branch --show-current
instead of sed (#2550) by @asottile-sentry - Remove sessions infra (#2514) by @hubertdeng123
- Upgrade Clickhouse to 21.8 (#2536) by @hubertdeng123
- [Snyk] Security upgrade debian from bullseye-slim to bookworm-20231009-slim (#2511) by @Indigi-managed
- snuba: Remove deprecated CLI arg (#2515) by @lynnagara
23.10.1
Important
This patch fixes an issue on the projects page stats were not being fetched properly.
Various fixes & improvements
- Revert "feat: upgrade to zookeeper-less kafka (#2445)" (#2500) by @hubertdeng123
- Add fast revert GH workflow (#2499) by @hubertdeng123
- build(deps): bump actions/checkout from 3 to 4 (#2493) by @dependabot
- configure dependabot (#2491) by @mdtro
- deps: bump nginx to 1.25.2 (#2490) by @mdtro
- feat: upgrade to zookeeper-less kafka (#2445) by @joshuarli
- Update outdated install option in README (#2440) by @hubertdeng123
23.10.0
Further backup and restore improvements
Building off of the revamped backup and restore script introduced in 23.9.1, this release further improves the script in a couple of ways.
23.10.0 adds the --encrypt_with
option on all sentry export ...
methods, and the corresponding --decrypt_with
option on all sentry import ...
methods. Unsurprisingly, these methods can be used to encrypt and decrypt JSON backups. The --encrypt_with
option takes a path to a file containing a public 2048-bit RSA key. An export encrypted in this manner generates a tarball instead of a JSON file, which can be decrypted when passed to a sentry import ...
call with a path to the matching private key supplied to the --decrypt_with
option.
In addition to the already supported User
, Organization
, and Global
export scopes, a new scope has been added in this release: Config
. This scope is used for exporting all data related to globally configuring and administering a Sentry instance, including global options, relay configurations, and administrator accounts, privileges, and roles.
Various fixes & improvements
- Switch geoipupdate image to ghcr.io (#2442) by @hkraal
- Add system.url-prefix to config for visibility (#2426) by @hubertdeng123
- Remove CSPMiddleware since it is enabled by default in the upstream sentry (#2434) by @oioki
- Update nginx.conf (#2455) by @mwarkentin
- Update Redis container image to 6.2.13 (#2432) by @mencarellic