Upgrade elixir phoenix deps#1
Merged
Merged
Conversation
Comprehensive review covering architecture, security, efficiency, and code quality findings for the Moth/Tambola game server.
- Elixir 1.4 → 1.19, Erlang/OTP → 28 - Phoenix 1.3 → 1.7.21, Ecto 2 → 3.13, Plug 1.4 → 1.19 - Cowboy 1 → 2 via plug_cowboy, PubSub 1 → 2 - Replace Poison with Jason for JSON encoding - Remove Guardian beta (unused), ja_serializer (abandoned) - Remove mix_test_watch + fs GitHub dep - Modernize config: import Config, config_env(), runtime.exs - Move PubSub from endpoint config to supervision tree - Update socket transport, Gettext.Backend, Ecto sandbox API - Fix deprecated Logger, system_time, and flash calls
Sqids is the official successor to Hashids by the same author. Hashids is in maintenance mode; Sqids is actively maintained with a cleaner API and built-in profanity filtering.
- Remove 5 view modules (BaseView, GameView, LayoutView, ErrorView, ErrorHelpers) - Remove old templates/ directory with .eex templates - Add HTML modules with embed_templates and HEEx templates - Update MothWeb to use Phoenix.Component-based :html macro - Colocate templates with their controller modules
- Remove Brunch, babel-brunch, and all npm build tooling - Add esbuild for fast zero-config asset bundling - Add Phoenix LiveDashboard at /dashboard for BEAM observability - Add Telemetry supervisor with Phoenix, Ecto, and VM metrics - Add Req HTTP client for modern HTTP/2 requests - Simplify JS to plain ES module imports without Brunch wrappers
hashd
added a commit
that referenced
this pull request
Apr 13, 2026
…validation - Filter struck set per-ticket in prize claims to prevent cross-ticket fraud (#1) - Filter prize progress per-ticket to prevent cross-ticket info leak (#9) - Strip join_secret from sanitized state (#2) - Filter REST show endpoint to only return requesting user's data (#3) - Filter player_tickets_updated broadcast to target user only (#4) - Add chat text length limit (500 chars) and validation (#13) - Add reaction emoji allowlist (#14) - Add max players per game limit (100) (#11) - Add input validation for game creation params (#23) - Remove inspect(reason) from error responses (#22) - Store rich metadata in Registry for O(1) game listing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.