Changelog

Version history and improvements

📋 Changelog - Amelia Gift Cards

All notable changes to the Amelia Gift Cards plugin are documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.


[2.0.0] - 2026-01-08

🔄 Architecture Complète

  • BREAKING CHANGE: Migration complète de NestJS vers Express.js pur
  • BREAKING CHANGE: Migration de TypeScript vers JavaScript ES6+
  • BREAKING CHANGE: Suppression de toute la suite de tests
  • BREAKING CHANGE: Suppression de l'étape de build (pas de compilation)

🚀 Framework & Langage

  • Remplacé NestJS 11 par Express.js 4.18
  • Remplacé TypeScript par JavaScript ES6+ pur
  • Nouveau point d'entrée : server.js (remplace src/main.ts)
  • Structure simplifiée : routes/ + services/ (remplace modules NestJS)

📦 Dépendances

Ajoutées :

  • express (^4.18.2) - Framework web
  • nodemon (^3.0.2) - Hot-reload en développement

Conservées :

  • dotenv, hbs, marked

Supprimées (40+ packages):

  • Tous les packages @nestjs/* (core, common, platform-express, cli, schematics, testing)
  • typescript, ts-jest, ts-node, ts-loader
  • @types/* (express, jest, node, supertest, jsdom)
  • jest, supertest, jest-environment-jsdom, jsdom
  • @playwright/test, playwright
  • eslint, eslint-config-prettier, eslint-plugin-prettier
  • prettier, reflect-metadata, rxjs

🔧 Scripts npm

Avant (NestJS) :

  • build: nest build
  • postinstall: npm run build
  • dev: nest start --watch
  • test, test:e2e, test:visual, test:all

Après (Express) :

  • start: node server.js
  • dev: nodemon server.js
  • (Tous les scripts de build et test supprimés)

📁 Structure de Fichiers

Créés :

  • /server.js - Point d'entrée Express
  • /routes/pages.js - 6 routes de pages
  • /services/markdown.js - Service Markdown (classe JS)

Supprimés :

  • /src/ (tout le code TypeScript NestJS)
  • /dist/ (code compilé)
  • /test/ (suite complète de tests)
  • tsconfig.json, tsconfig.build.json, nest-cli.json
  • playwright.config.ts, eslint.config.mjs, .prettierrc

Inchangés :

  • /views/ (templates Handlebars)
  • /public/ (assets statiques)
  • .env, CHANGELOG.md, ROADMAP.md

✨ Fonctionnalités Préservées

  • 6 routes fonctionnelles : /, /installation, /changelog, /roadmap, /mentions-legales, /cgv
  • Parsing Markdown avec cache 60s (CHANGELOG.md, ROADMAP.md)
  • Templates Handlebars avec helper eq pour navigation active
  • Partials Handlebars (navigation.hbs)
  • Assets statiques avec prefix /public/
  • Variables d'environnement (PORT, LEMONSQUEEZY_URL)
  • Classes CSS personnalisées pour Markdown
  • Support des emojis de statut (, 🚧, 📅, 🔮)

🎯 Hostinger Compatibility

  • Framework détectable par Hostinger : Express.js
  • Pas de build step requis (exécution directe)
  • package.json avec "main": "server.js"
  • Scripts compatibles : npm run dev et npm start

📚 Documentation

  • Mise à jour complète de CLAUDE.md (architecture Express.js)
  • Mise à jour de README.md (commandes Express.js)
  • Mise à jour de README-DEPLOY-HOSTINGER.md (déploiement sans build)
  • Ajout de cette version 2.0.0 dans CHANGELOG.md

🔒 Impacts & Breaking Changes

  • Code : Tout le code TypeScript doit être migré vers JavaScript
  • Tests : Suite de tests complètement supprimée (à recréer si nécessaire)
  • Build : Plus d'étape de compilation (Node.js exécute directement server.js)
  • Développement : Utiliser npm run dev (nodemon) au lieu de nest start --watch
  • Déploiement : Hostinger détecte maintenant Express.js au lieu de "Framework non pris en charge"

⚡ Bénéfices

  • 🚀 Temps de démarrage serveur réduit (pas de compilation)
  • 📦 40+ dépendances supprimées (~200 MB de node_modules économisés)
  • 🎯 Compatible avec Hostinger Git auto-deployment
  • 🧹 Code plus simple et maintenable
  • 🔥 Hot-reload instantané en dev (nodemon)

[1.2.5] - 2025-08-21

🎨 Improved

  • Separation of the Roadmap page from the homepage
  • New dedicated /roadmap page with improved design
  • Interactive timeline with visual status indicators
  • Added estimated dates for each phase

📚 Documentation

  • Created ROADMAP.md file for development tracking
  • Created CHANGELOG.md file for version history
  • Updated README-DEPLOY.md with deployment procedure

[1.2.4] - 2025-08-15

🐛 Fixed

  • Fixed total calculations in admin dashboard
  • Fixed non-EUR currency display
  • Resolved email template cache issue

⚡ Performance

  • Optimized database queries (-40% loading time)
  • Cached Amelia configurations
  • Lazy loading of assets in admin

[1.2.3] - 2025-08-10

🔒 Security

  • Updated security dependencies
  • Enhanced input validation
  • Added rate limiting on sensitive endpoints

[1.2.2] - 2025-08-05

🎨 Improved

  • More intuitive admin interface
  • New search filters in card list
  • Enhanced pagination with sort options

🌍 Translations

  • Added Spanish translation
  • Updated German translation
  • Minor corrections in French texts

[1.2.1] - 2025-07-28

🐛 Fixed

  • Fixed compatibility with Divi 5.0
  • Fixed mobile display of module
  • Resolved CSS conflict with certain themes

[1.2.0] - 2025-05-15

✨ New

  • Native Divi Builder module with complete visual interface
  • 3 preset styles: Modern, Classic, Minimal
  • Advanced customization of colors and typography
  • Complete Visual Builder support with real-time preview

🎨 Improved

  • Complete frontend interface redesign
  • New responsive email templates
  • Enhanced mobile UX

🐛 Fixed

  • Fixed amount rounding bug
  • Fixed promo code validation
  • Resolved timezone issues

[1.1.2] - 2025-04-20

🔧 Technical

  • Migration to Webpack 5
  • Optimized build process
  • Reduced asset size by 35%

📚 Documentation

  • Added API documentation
  • Installation video tutorials
  • Extended FAQ

[1.1.1] - 2025-04-01

🐛 Fixed

  • Hotfix for Stripe webhook signature
  • Fixed UTF-8 encoding in emails
  • Fixed timeout on large bulk operations

[1.1.0] - 2025-03-18

✨ New

  • Manual Stripe configuration for Amelia Starter/Standard
  • Automatic configuration mode detection
  • Stripe configuration interface in admin
  • Webhook support with signature verification

🎨 Improved

  • Better payment error handling
  • Detailed transaction logs
  • Debug interface for developers

🔧 Technical

  • Configuration system refactoring
  • Improved modular architecture
  • Extended unit tests

[1.0.5] - 2025-03-10

🌍 New

  • Support for 10 new currencies
  • Real-time exchange rates via API
  • Multi-currency configuration per card type

🐛 Fixed

  • Fixed PDF generation for receipts
  • Fixed special characters in codes
  • Resolved double submission bug

[1.0.4] - 2025-02-28

⚡ Performance

  • Optimized database queries
  • Intelligent caching
  • Reduced loading time by 50%

🔒 Security

  • Complete security audit
  • Dependencies update
  • Strengthened permissions

[1.0.3] - 2025-02-20

🎨 Improved

  • New dashboard with charts
  • CSV/Excel data export
  • Advanced filters in admin

🐛 Fixed

  • Fixed date display
  • Fixed tax calculation
  • Resolved jQuery conflicts

[1.0.2] - 2025-02-10

✨ New

  • Customizable email templates
  • Custom SMTP support
  • Email preview in admin

📚 Documentation

  • Complete user guide
  • Developer documentation
  • Code examples

[1.0.1] - 2025-01-25

🐛 Fixed

  • Critical hotfix for PHP 7.4
  • Fixed MySQL 5.7 compatibility
  • Fixed multisite activation

[1.0.0] - 2025-01-15

🎉 Initial release

  • Complete gift card system for WordPress
  • Native Amelia integration with automatic synchronization
  • Unique code generation with anti-collision
  • Optimized database with custom tables
  • Administration interface intuitive
  • Email system with templates
  • Multi-currency support (20+ currencies)
  • Documented REST API
  • Complete unit tests
  • User and developer documentation

🔧 Technical

  • PSR-4 architecture
  • WordPress Coding Standards
  • Composer for dependencies
  • PHPUnit for tests
  • GitHub Actions for CI/CD

[0.9.0-beta] - 2024-12-01

🚧 Public beta

  • Beta version for community testing
  • User feedback collection
  • Performance optimizations
  • Minor bug fixes

[0.5.0-alpha] - 2024-10-15

🔬 Internal alpha

  • Functional proof of concept
  • Basic Amelia integration
  • Internal testing by Lean IT Performance
  • Architecture validation

Legend

  • New: New features
  • 🎨 Improved: Enhancements to existing features
  • 🐛 Fixed: Bug fixes
  • 🔧 Technical: Technical changes
  • 🔒 Security: Security updates
  • Performance: Performance optimizations
  • 📚 Documentation: Documentation updates
  • 🌍 Translations: New translations or updates
  • 🚧 Beta: Beta versions
  • 🔬 Alpha: Alpha versions
  • 🎉 Release: Major versions

To report a bug or suggest a feature, contact us at amelia-gift-cards@lean-it-performance.fr