|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +### Added |
| 11 | +- Complete project reorganization from single file to modular structure |
| 12 | +- Configuration management for different environments (dev, test, prod) |
| 13 | +- Comprehensive logging throughout the application |
| 14 | +- Docker support with multi-stage builds |
| 15 | +- GitHub issue and PR templates |
| 16 | +- Security policy |
| 17 | +- Dependabot configuration |
| 18 | +- Example usage scripts |
| 19 | +- Integration tests |
| 20 | +- Helper development scripts |
| 21 | + |
| 22 | +## [0.1.0] - 2025-11-13 |
| 23 | + |
| 24 | +### Added |
| 25 | +- Initial Mix project structure with proper organization |
| 26 | +- Modular architecture with 6 core modules: |
| 27 | + - `ChatSimulator.User` - User management and validation |
| 28 | + - `ChatSimulator.Message` - Message handling and formatting |
| 29 | + - `ChatSimulator.Auth` - Authentication and registration |
| 30 | + - `ChatSimulator.Storage` - Agent-based data persistence |
| 31 | + - `ChatSimulator.CLI` - Interactive command-line interface |
| 32 | + - `ChatSimulator` - Main module with convenience functions |
| 33 | +- Password hashing using SHA256 for security |
| 34 | +- User registration with username and password validation |
| 35 | +- Message sending between users |
| 36 | +- Inbox viewing with unread message indicators |
| 37 | +- Conversation history viewing |
| 38 | +- List all registered users |
| 39 | +- Message read/unread tracking |
| 40 | +- File-based data persistence |
| 41 | +- Comprehensive ExUnit test suite |
| 42 | +- Module and function documentation with @doc and @spec |
| 43 | +- Code formatting configuration (.formatter.exs) |
| 44 | +- Credo static analysis configuration |
| 45 | +- GitHub Actions CI/CD workflow |
| 46 | +- Multi-version testing (Elixir 1.14-1.16, OTP 25-26) |
| 47 | +- Escript build support for standalone executable |
| 48 | +- README with installation and usage instructions |
| 49 | +- CONTRIBUTING.md with development guidelines |
| 50 | +- LICENSE (MIT) |
| 51 | + |
| 52 | +### Security |
| 53 | +- Implemented password hashing instead of plain text storage |
| 54 | +- Added input validation for usernames and passwords |
| 55 | +- Message content length limits |
| 56 | + |
| 57 | +## [0.0.1] - Initial Release |
| 58 | + |
| 59 | +### Added |
| 60 | +- Basic single-file chat simulator |
| 61 | +- User registration and login |
| 62 | +- Simple message sending |
| 63 | +- Basic inbox viewing |
| 64 | +- Plain text password storage (insecure) |
| 65 | + |
| 66 | +[Unreleased]: https://github.com/codeforgood-org/elixir-chat-sim/compare/v0.1.0...HEAD |
| 67 | +[0.1.0]: https://github.com/codeforgood-org/elixir-chat-sim/releases/tag/v0.1.0 |
| 68 | +[0.0.1]: https://github.com/codeforgood-org/elixir-chat-sim/releases/tag/v0.0.1 |
0 commit comments