Files
Lucas RayanandClaude Opus 5.5 07aaf8e1a7
CI / Trivy (dependências, segredos e configuração) (push) Successful in 1m2s
CI / Testes e imagem Docker (linux/arm64) (push) Successful in 4m24s
Release / Plano (reaproveitar a imagem?) (push) Successful in 5s
Release / ci (push) Skipped
Release / Publica a imagem (linux/arm64) (push) Successful in 18s
Release / Cria a release no Gitea (push) Successful in 4s
feat: novo site e interface; tradução Braille no navegador (1.4.0)
Interface reescrita (design próprio, tema claro/escuro, a11y WCAG 2.2 AA),
seções do site e artigo IDEIA @ CSBC 2025. Tradutor portado para JS com
paridade 100% contra o Python; sem Tailwind nem axios.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:51:53 -03:00

103 lines
5.3 KiB
Markdown

# Changelog
Everything notable in InBraille is recorded here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project follows
[Semantic Versioning](https://semver.org/).
> **Note on history.** The original Git history and the project files that are not part of
> the container image were lost with the previous GitHub account. This repository was
> rebuilt on 2026-11-02 from the production image `1.3.1` (the exact deployed code in `src/`,
> `public/`, `index.html` and `main.py`) and from the records of the work sessions that created
> the tests, the Dockerfile, the CI and the documentation. Entries for 1.2.0 and 1.3.0 left no
> record and are described only by what the code shows.
## [Unreleased]
## [1.4.0] - 2026-11-15
### Added
- New website around the converter: hero with a tactile Braille plate, "How it works", 3D printing
specs and tips, privacy, the peer-reviewed paper (IDEIA @ CSBC 2025, DOI
10.5753/ideia.2025.9057) with copyable BibTeX and ABNT citations, credits and FAQ.
- Light/dark theme (follows the system, toggle persisted), mobile navigation menu, keyboard
shortcuts (Ctrl/Cmd+Enter converts; arrow keys move between tabs; Esc closes menus), toasts and
screen-reader announcements for conversion and STL generation.
- Text↔Braille translation now runs in the browser (`public/modules/translator.js`, a port of
`src/translation` and `src/domain`, Chinese pinyin data loaded on demand). A parity script
(`scripts/paridade-tradutor.mjs`) checks it against the Python translator: 337,176 cases, 0
differences.
### Changed
- Interface rewritten from scratch: Tailwind CDN and axios removed, own design system
(Atkinson Hyperlegible, embossed-dot motif), WCAG 2.2 AA focus, contrast, targets, reduced
motion and forced colors. All rewritten copy in Portuguese, English and Chinese, plus new
title, description, Open Graph and JSON-LD (including the `ScholarlyArticle`).
- Nothing the user types leaves the browser: conversion, STL generation and preview are local.
The `/api/*` routes stay available for existing integrations.
## [1.3.3] - 2026-11-02
### Changed
- The image now ships `curl`, so the Coolify healthcheck (which runs `curl` inside the container)
works; it is enabled on `/`. The image `HEALTHCHECK` still uses Python.
- The `org.opencontainers.image.version` label comes from the first numbered CHANGELOG entry
instead of the branch name (it said `main` on the 1.3.2 image).
## [1.3.2] - 2026-11-02
### Changed
- The code, the container image and the releases now live on Gitea (`git.lucasrguerra.dev.br`);
the deployment pulls the image from its registry instead of GitHub Container Registry.
- CI moved from GitHub Actions to the Gitea runners (`.gitea/workflows`): Trivy on the
repository and on the image, the pytest suite in a Dockerfile `test` stage, an arm64 image build
and a smoke test that exercises the pages, the SEO files, the API (including a real STL
generation) and the production isolation (`--read-only`, no capabilities, non-root). The image is
built once per content hash and reused by the release.
- Dockerfile split into `base`, `test` and `runtime` stages; the runtime image is unchanged
(Python 3.14, non-root user 10001, read-only friendly).
- `SECURITY.md`: vulnerabilities are reported by e-mail instead of GitHub Security Advisories.
- `.gitattributes` forces LF line endings.
### Security
- `pillow` 12.3.0 → 13.0.0, which clears 28 advisories (5 critical, 23 high) reported by Trivy on the
pinned requirements. Pillow is pulled in by `matplotlib` (a VTK dependency); `pip check` is clean.
### Fixed
- `/robots.txt` and `/sitemap.xml` returned **500** in production since the image never contained
those files (the Dockerfile did not copy them). Both files are now part of the repository and the
image, with the `hreflang` alternates for `pt-BR`, `en` and `zh`.
## [1.3.1]
- Fixed returning visitors running stale frontend code after a deploy: HTML and `/public` assets are now served with `Cache-Control: no-cache` so browsers revalidate them.
- Release workflow now also pins `INBRAILLE_VERSION` for the Coolify preview environment, which was stuck on 1.1.0.
## [1.3.0] and [1.2.0]
No changelog was kept for these releases, so nothing is claimed here beyond what survived: the
sources of the live plate preview (`public/preview.js`) and of the browser-side STL generator
(`public/modules/client_stl_generator.js`) are part of the deployed code.
## [1.1.0]
- STL generation now goes through a bounded FIFO queue instead of rejecting requests when busy.
## [1.0.0]
- First tagged release, published as a Docker image on GitHub Container Registry.
- Security hardening of the API and the container (see SECURITY.md).
- Dependencies upgraded; all Trivy findings (critical, high and medium) resolved.
[Unreleased]: https://git.lucasrguerra.dev.br/lucasrguerra/inbraille/compare/v1.3.3...HEAD
[1.3.3]: https://git.lucasrguerra.dev.br/lucasrguerra/inbraille/compare/v1.3.2...v1.3.3
[1.3.2]: https://git.lucasrguerra.dev.br/lucasrguerra/inbraille/compare/v1.3.1...v1.3.2
[1.3.1]: https://git.lucasrguerra.dev.br/lucasrguerra/inbraille/releases/tag/v1.3.1
[1.1.0]: https://git.lucasrguerra.dev.br/lucasrguerra/inbraille/releases/tag/v1.1.0
[1.0.0]: https://git.lucasrguerra.dev.br/lucasrguerra/inbraille/releases/tag/v1.0.0