Skip to content

Releases: umputun/remark42

Version 1.16.4

Choose a tag to compare

@umputun umputun released this 10 Jul 03:31

Bug Fixes

  • white flash of the comments iframe on dark host pages #2127 @umputun

Fixes a regression from #2023 (shipped in v1.16.0), which set color-scheme on the iframe element to fix a Firefox dark-mode bug. The document inside the iframe got no color-scheme until its bundle ran, and a mismatch between the two makes the embedded canvas opaque instead of transparent, so it painted white. Underneath that, browsers paint a default surface for an iframe before its document is parsed at all, which WebKit renders white and Chromium hides behind paint holding.

The document now sets its color-scheme in an inline head script before first paint, and the iframe stays hidden until its document reports itself ready, with a timeout fallback.

Version 1.16.3

Choose a tag to compare

@umputun umputun released this 10 Jul 00:13

Bug Fixes

  • comments iframe collapsing to preloader height on load #2126 @paskal

Fixes a regression from the dependency refresh in #2091 (shipped in v1.16.2), where the embed iframe was shrunk to the preloader height and then grown back step by step, showing a visible blink on every page load.

Version 1.16.2

Choose a tag to compare

@umputun umputun released this 09 Jul 20:11

Improvements

  • adopt go-pkgz/rest v1.22.0: CORS Vary + enforcing Timeout, drop local reimplementations #2105 @paskal
  • replace go-chi/chi router with go-pkgz/routegroup #2103 @paskal
  • replace go-chi/cors with go-pkgz/rest CORS #2102 @paskal
  • use stdlib http.ServeMux instead of chi in cleanup_test #2101 @paskal
  • consolidate request middlewares into middleware.go #2100 @paskal
  • replace chi middleware.RealIP with rest.RealIP on the main router #2099 @paskal
  • replace chi middleware.NoCache with rest.NoCache on the main router #2098 @paskal
  • replace chi middleware.Timeout with the timeout helper, drop chi/middleware #2097 @paskal
  • replace chi middleware.Throttle with rest.Throttle on the main router #2096 @paskal
  • migrate ssl.go TLS routers from chi to routegroup #2095 @paskal
  • update frontend and site dependencies to latest, bump pnpm to 10, clear audit alerts #2091 @paskal
  • update backend dependencies to latest #2088 @paskal
  • bump the github-actions-updates group across 1 directory with 4 updates #2092 @app/dependabot
  • bump webpack-dev-server from 4.9.3 to 5.2.4 in /frontend #2063 @app/dependabot
  • bump postcss from 8.4.14 to 8.5.10 in /frontend #2056 @app/dependabot

Bug Fixes

  • sanitize comment text in email notifications (GHSA-74pc-3r2m-ppx3) #2093 @paskal
  • add --trusted-proxy to gate client-IP forwarding headers #2116 @paskal
  • warn on catch-all trusted-proxy, cover more cases, trim wording #2118 @paskal
  • surface real avatar-store errors on deleteme, tolerate only not-found #2113 @paskal
  • remove user avatar on deleteme request #2104 @paskal
  • make user deletion idempotent for users without comments 3fc5d6b
  • ui error when no auth providers configured 406df02
  • guard against falsy outputPath in eleventy htmlmin transform #2094 @paskal
  • handle REST shutdown before server start 589e956

Version 1.16.1

Choose a tag to compare

@umputun umputun released this 02 Jun 00:36

Improvements

  • rename auth.messsages.ts to auth.messages.ts #2079 @paskal
  • close backtick in smtp.login_auth default cell #2075 @paskal
  • bump remark42 image tag to v1.16.0 in kubernetes manual e8b9d70

Bug Fixes

  • fetch latest site version client-side instead of embedding at build time #2072 @paskal
  • no_footer scrollbar regression introduced in v1.16.0 #2076 @paskal
  • parameter docs + --help text inconsistencies audit #2077 @paskal

Version 1.16.0

Choose a tag to compare

@umputun umputun released this 22 May 18:29
556e0a7

New Features

Improvements

Bug Fixes

  • reject non-image content-types in image proxy and /picture/ to prevent stored XSS #2067 @paskal
  • reject decompression-bomb dimensions before raster decode #2064 @paskal
  • close OAuth open-redirect by wiring AllowedRedirectHosts #2049 @paskal
  • require explicit ?site= in matchSiteID middleware #2046 @paskal
  • reject path traversal in /picture/{user}/{id} #2045 @paskal
  • apply ssrf-safe transport to TitleExtractor + restore gosec G70x rules #2044 @paskal
  • IPv6 address truncation and image proxy SSRF vulnerabilities #2016 @umputun
  • preserve orig verbatim in edit textarea #2041 @paskal
  • Fix Firefox dark mode white background on comment iframe #2023 @amdevz
  • Fix frontend not respecting ADMIN_EDIT config #2001 @paskal
  • Fix email encoding, image cleanup CPU spin, and demo template paths #2000 @paskal
  • Fix site rebuild on release #1993 @paskal
  • fix type check failure in @remark42/api package ab9e667

Other

  • Migrate remaining BEM components to CSS Modules (final batch) #2015 @paskal
  • Migrate batch 1 components from BEM to CSS Modules #2014 @paskal
  • Migrate 4 BEM components to CSS Modules #2013 @paskal
  • Clean up deprecated CSS and fix silent CSS bugs in frontend #2012 @paskal
  • Document EDIT_TIME=0 disables comment editing and image cleanup #2010 @paskal
  • Add X-Content-Type-Options and Referrer-Policy security headers #2008 @paskal
  • Drop GitHub token permissions on deploy jobs #2007 @paskal
  • Sync example dependencies after go-modules-updates bump #2005 @app/copilot-swe-agent
  • Document email template variables and plain-text email setup #2003 @paskal
  • Clear user placeholder content when comments iframe loads #2002 @paskal
  • Fix typo in Spanish localization for sort-by #2043 @aroman-arvo
  • Probe /auth/status from frontend to avoid 401 on /user a4c5e17
  • Update backend base image to buildgo-v1.17.0 in Dockerfile cdad560
  • dependency bumps (dependabot): #2053 #2052 #2050 #2034 #2032 #2030 #2028 #1997 #1995 #1994 #1984

Version 1.15.0

Choose a tag to compare

@umputun umputun released this 24 Dec 08:43
307e69e

What's Changed

New Features

Bug Fixes

New Translations

UI Improvements

  • Update Google and X (Twitter) logos to latest brand versions by @gatezh in #1969

Documentation

  • Add system requirements section to installation guide by @paskal in #1914
  • Add install instructions for setting up Remark42 as a systemd service by @paskal in #1918
  • Improve backup instructions by @schnerring in #1947
  • Update Telegram configuration with group notification details by @paskal in #1937
  • Docs update describing available variables for webhook templating by @cubismod in #1878
  • Add display name format to EMAIL_FROM examples by @paskal in #1973
  • Update docker-compose.yml with example for local reverse proxy by @paskal in #1853
  • Modify the example to avoid misunderstanding by @km0e in #1960

Infrastructure

  • Migrate Docker images from Docker Hub to GitHub Container Registry by @paskal in #1907
  • Migrate Docker builds to native GitHub ARM64 runners by @paskal in #1976
  • Improve GitHub Actions workflows security and performance by @paskal in #1977
  • Update to go-pkgz/auth/v2 and golang-jwt/jwt/v5 by @paskal in #1758
  • Migrate golangci-lint to v2 and update Go version by @umputun in #1965
  • Multiple improvements to CI by @paskal in #1846

Dependencies

Internal

New Contributors

Full Changelog: v1.14.0...v1.15.0

Version 1.14.0

Choose a tag to compare

@umputun umputun released this 27 Oct 17:28

What's Changed

  • Add Content-Security-Policy and Permissions-Policy headers by @paskal in #1805
  • add RTL support by @adueck in #1799
  • fix: Apple login integration by @tomy0000000 in #1806
  • Fix problem with logout button by @paskal in #1815
  • Fix restrictions for anonymous usernames by @paskal in #1809
  • Add missing AUTH_APPLE_KID env variable cleanup by @paskal in #1826
  • Detect proper avatar type to return instead of returning image/* by @paskal in #1817
  • Switch playwright (e2e) to latest stable version by @paskal in #1802
  • Update go modules by @paskal in #1801
  • Move gcc installation before backend files addition by @paskal in #1814
  • Bump path-to-regexp from 6.2.1 to 6.3.0 in /site by @dependabot in #1811
  • docs: fix frontend paths in translation guide by @rusxg in #1807
  • Bump micromatch from 4.0.5 to 4.0.8 in /site by @dependabot in #1808
  • Fix CSP img-src directive to allow everything without proxy by @paskal in #1825
  • Update docker-compose command to docker compose by @paskal in #1827
  • Clarify ALLOWED_HOSTS description and usage by @paskal in #1829
  • Deprecate Twitter OAuth and remove from feature list by @paskal in #1828
  • fix: missing comma in example frontend configuration by @wtchangdm in #1830

New Contributors

Full Changelog: v1.13.1...v1.14.0

Version 1.13.1

Choose a tag to compare

@umputun umputun released this 20 Jul 16:12

What's Changed

New Contributors

Full Changelog: v1.13.0...v1.13.1

Version 1.13.0

Choose a tag to compare

@umputun umputun released this 12 May 19:56

What's Changed

New Contributors

Full Changelog: v1.12.1...v1.30.0

Version 1.12.1

Choose a tag to compare

@umputun umputun released this 21 Aug 17:03

Full Changelog: v1.12.0...v1.12.1