|
2 | 2 |
|
3 | 3 | All notable changes to the Wisemapping Frontend project are documented in this file. |
4 | 4 |
|
| 5 | +## [6.0.7] - April, 2026 |
| 6 | + |
| 7 | +### 🚀 CI/CD & Release Management |
| 8 | + |
| 9 | +#### Release Tagging |
| 10 | +- **Automated Git Tagging**: Publishing a Docker App image via `workflow_dispatch` now automatically creates and pushes a git tag on both `wisemapping-open-source` and `wisemapping-frontend` repositories, ensuring every published image is traceable to an exact source snapshot |
| 11 | +- **Cross-Repository Token**: Frontend tagging is performed using a scoped fine-grained PAT (`WISEMAPPING_FRONTEND_TOKEN`) with `contents: write` permission — required even within the same org, as the default `GITHUB_TOKEN` is restricted to the triggering repository |
| 12 | +- **Release Tag in Build**: The `workflow_dispatch` tag input is forwarded to Maven as `-Dbuild.number`, so the release version is baked into the JAR at build time and visible in the Spring Boot startup banner |
| 13 | + |
| 14 | +#### Spring Boot Startup Banner |
| 15 | +- **Version Block**: Replaced the plain-text banner with a boxed format displaying the release tag, build date, Git branch and commit, and Spring Boot version at every startup |
| 16 | +- **Removed POM Version**: The Maven artifact version (`x.y.z-SNAPSHOT`) is no longer shown in the banner — the release tag is the single source of version truth, defaulting to `unknown` when no tag was provided at build time |
| 17 | + |
| 18 | +#### CORS |
| 19 | +- **Eliminated `HandlerMappingIntrospector` Warning**: Spring Security's `.cors(Customizer.withDefaults())` was silently falling back to `HandlerMappingIntrospector` on every request because no `CorsConfigurationSource` bean existed. Added an explicit `CorsConfigurationSource` bean that mirrors the existing MVC CORS mapping, resolving the `WARN` log |
| 20 | + |
| 21 | +### 🔧 Backend (wisemapping-open-source) |
| 22 | + |
| 23 | +#### Bug Fixes |
| 24 | +- **[#62](https://github.com/wisemapping/wisemapping-open-source/issues/62)**: Fixed full-stack Dockerfile missing a required layer, causing container startup failures in certain deployment configurations |
| 25 | +- **[#63](https://github.com/wisemapping/wisemapping-open-source/issues/63)**: Strengthened `GlobalExceptionHandler` with consolidated helper methods for identifying and classifying expected exceptions, reducing noise in error logs |
| 26 | +- **[#64](https://github.com/wisemapping/wisemapping-open-source/issues/64)**: Fixed CORS `HandlerMappingIntrospector` warning and improved the CI/CD release pipeline with automated tagging and build number propagation |
| 27 | +- **[#65](https://github.com/wisemapping/wisemapping-open-source/issues/65)**: Fixed exception thrown during mindmap save caused by an incorrect path configuration in the Dockerfile |
| 28 | +- **Logger Configuration**: Corrected misconfigured logger settings in `application.yml` that were producing errors at startup |
| 29 | +- **Admin Role Check**: Fixed role prefix comparison using `startsWith` across `AccountController`, `AdminController`, `UserDetailsService`, and `MindmapServiceImpl` — previously failing for users with the `ROLE_` prefix |
| 30 | +- **Admin Email**: Corrected admin contact email from `admin@wisemapping.com` to `admin@wisemapping.org` in documentation and README |
| 31 | +- **User Registration Privacy**: Added mandatory privacy policy confirmation field to user registration (`RestUserRegistration`); `UserController` now enforces its presence before account creation |
| 32 | +- **JWT Cookie Overflow**: Added an error-level log warning when a generated JWT token exceeds the maximum safe size for browser cookies, preventing silent authentication failures |
| 33 | + |
| 34 | +#### Security |
| 35 | +- **Hardcoded JWT Secret (Critical)**: The default JWT signing secret was committed to the public repository, allowing anyone to forge valid tokens for any user including admin — a full authentication bypass. `JwtTokenUtil` now detects the default secret at startup and forces operators to provide their own via the `APP_JWT_SECRET` environment variable |
| 36 | +- **Security Filter Chain Separation**: Split the single `SecurityFilterChain` into two dedicated chains — a stateless chain for `/api/**` (JWT-based) and a stateful chain for web/OAuth2 endpoints — enabling independent session and authentication policies per surface |
| 37 | + |
| 38 | +#### Features & Improvements |
| 39 | +- **OpenTelemetry Tracing**: Added OpenTelemetry tracing dependencies to enable distributed tracing in production deployments |
| 40 | +- **Validation Exception Handling**: `GlobalExceptionHandler` now handles `ValidationException` explicitly, returning structured error responses instead of generic 500s |
| 41 | +- **Reduced Log Verbosity**: Lowered Tomcat request logging level to reduce noise in production logs |
| 42 | +- **Dependency Upgrades**: Updated project dependencies to latest stable versions |
| 43 | + |
| 44 | +### 🎨 Frontend (wisemapping-frontend) |
| 45 | + |
| 46 | +#### Bug Fixes |
| 47 | +- **Consent Dialog**: Fixed consent dialog failing to render correctly on initial page load |
| 48 | + |
| 49 | +#### Features |
| 50 | +- **Consent Management**: Replaced direct AdSense script injection with Google Funding Choices CMP integration for GDPR-compliant consent handling; subsequently refactored to a delayed AdSense loader to improve initial page load performance |
| 51 | +- **Privacy Link**: Added privacy policy link to the application footer |
| 52 | + |
| 53 | +#### Dependencies & Tooling |
| 54 | +- **Vite 8**: Upgraded Vite 7 → 8 and `@vitejs/plugin-react` 5 → 6; migrated from `vite-plugin-html` to the native Vite 8 HTML transform API; replaced `vite-tsconfig-paths` with Vite's built-in `resolve.tsconfigPaths` |
| 55 | +- **Storybook 10.3**: Updated Storybook ecosystem from 10.2 to 10.3; fixed build ordering by aliasing workspace packages directly to source |
| 56 | +- **React & ESLint**: Updated React ecosystem packages; aligned ESLint React plugin to version 19.0.0 |
| 57 | +- **MUI**: Updated Material UI and styling dependencies including `@mui/lab` |
| 58 | +- **Test Infrastructure**: Updated Cypress and test dependencies; fixed `afterEach` spy assertions that were crashing when spies were uninitialized |
| 59 | +- **Linting & Formatting**: Updated ESLint, Prettier, and related tooling dependencies |
| 60 | +- **Workspace Packages**: Migrated internal workspace cross-references to wildcard versions for easier monorepo maintenance |
| 61 | + |
| 62 | +--- |
| 63 | + |
5 | 64 | ## September, 2025 |
6 | 65 |
|
7 | 66 | ### 🚀 Major Features & Enhancements |
|
0 commit comments