🔨 Major Refactor: Splitting the Monolith
Developers, this one's for you! The codebase has undergone a significant transformation. The once-monolithic server/main.go has been carefully dissected into clean, modular packages. The frontend has been similarly reshaped—JavaScript, CSS, and HTML now live in their own dedicated directories (web/js/, web/css/, web/html/). This isn't just cosmetic; it sets the stage for easier maintenance, testing, and future features.
What's New
- Backend Refactor: Split the monolithic Go code into modular packages (
internal/config,internal/handlers,internal/services,internal/traefik,internal/icons,internal/i18n,internal/models) - Frontend Refactor: Extracted inline JavaScript and CSS into dedicated files (
web/js/trala.js,web/css/trala.css) - Directory Structure: Reorganized from
server/tocmd/server/andinternal/structure - Security: Added XSS protection via HTML escaping in the frontend JavaScript
- Updated Dependencies:
- Go toolchain:
v1.26.0→v1.26.1 - Node.js:
v25.6.0→v25.8.0 - GitHub Actions: Updated Docker actions to latest versions
- Go toolchain:
How to Use
No configuration changes required - just pull the latest image!
What's Changed
- chore: Update project to standard layout by @shwoop in #91
- chore(deps): update node.js to v25.6.1 by @renovate[bot] in #95
- Refactor: Extract inline CSS/JS and reorganize frontend assets by @dannybouwers in #96
- Refactor cmd/server/main.go into Internal Packages by @dannybouwers in #97
- chore(deps): update node.js to v25.8.0 by @renovate[bot] in #99
- chore(deps): update docker/login-action action to v4 by @renovate[bot] in #100
- chore(deps): update docker/setup-qemu-action action to v4 by @renovate[bot] in #101
- chore(deps): update docker/setup-buildx-action action to v4 by @renovate[bot] in #102
- chore(deps): update docker/metadata-action action to v6 by @renovate[bot] in #104
- chore(deps): update docker/build-push-action action to v7 by @renovate[bot] in #103
- chore(deps): update go toolchain to v1.26.1 by @renovate[bot] in #105
New Contributors
Full Changelog: v0.13.3...v0.14.0