|
| 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 | + |
| 9 | + |
| 10 | +## [1.1.5] - 2025-05-31 |
| 11 | + |
| 12 | +### Added |
| 13 | +- Comprehensive test coverage for hex color parsing, performance, security, and HTML cleaning |
| 14 | +- Modern ESLint configuration with enhanced type safety and optional chaining |
| 15 | +- New test scripts for coverage, watch, performance, security, and comprehensive testing |
| 16 | + |
| 17 | +### Changed |
| 18 | +- Major refactor of HTML string generation and formatting logic with secure tag cleaning |
| 19 | +- Enhanced type checking and consistency across JSON parsing functions |
| 20 | +- Streamlined text handling in textToHTML and parser functions |
| 21 | +- Standardized code style: enforced double quotes, updated ESLint rules, improved Jest configuration |
| 22 | +- Updated package.json: replaced `format` script with `lint` script, added ESLint dependencies |
| 23 | +- Improved variable management using `const` instead of `let` where appropriate |
| 24 | +- Enhanced README structure and clarity, removed hex color support example |
| 25 | +- Merge pull request #21 from AlexTMjugador/alex/upstream-hex-color-parser-fix |
| 26 | + |
| 27 | +### Fixed |
| 28 | +- Parser behavior now precisely matches Minecraft game behavior |
| 29 | +- Hex color value validation in text components |
| 30 | +- Code consistency issues with standardized formatting |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +## [1.1.4] - 2025-04-04 |
| 35 | + |
| 36 | +### Changed |
| 37 | +- chore: update version to 1.1.4 and tsup to 8.4.0 |
| 38 | +- Merge pull request #20 from modrinth/pr-fix |
| 39 | + |
| 40 | +### Fixed |
| 41 | +- Fix SnowFireWolf/minecraft-motd-parser#19 |
| 42 | + |
| 43 | +### Added |
| 44 | +- use github registry (fix) |
| 45 | +- use github registry |
| 46 | +- bump version, modrinth namespace |
| 47 | +- Switch to pnpm |
| 48 | +- Add prepare |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +## [1.1.3] - 2024-07-13 |
| 53 | + |
| 54 | +### Changed |
| 55 | +- modify render process |
| 56 | + |
| 57 | +### Added |
| 58 | +- feat => add more clean utils: JSON to cleaned text, auto check to json |
| 59 | +- test add auto cleaned text |
| 60 | +- update packages |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | +## [1.1.2-1] - 2023-08-02 |
| 65 | + |
| 66 | +### Changed |
| 67 | +- update readme and rename function clean tags to clean codes |
| 68 | + |
| 69 | +## [1.1.2] - 2023-08-02 |
| 70 | + |
| 71 | +### Fixed |
| 72 | +- fix: motd rest tag doesn't work |
| 73 | +- fix: text reset code not work |
| 74 | + |
| 75 | +### Changed |
| 76 | +- update: trying fix something |
| 77 | +- update readme |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | +## [1.1.1] - 2023-03-13 |
| 82 | + |
| 83 | +### Changed |
| 84 | +- rename npm package name and add simple use |
| 85 | +- update readme |
| 86 | + |
| 87 | +### Added |
| 88 | +- feat: jest test, and fix parser order bug |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | +## [1.1.0] - 2023-03-13 |
| 93 | + |
| 94 | +### Changed |
| 95 | +- update |
| 96 | +- update md |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | +## [1.0.11] - 2023-03-13 |
| 101 | + |
| 102 | +### Changed |
| 103 | +- optimize own key check |
| 104 | +- Update README.md |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | +## [1.0.10] - 2023-03-13 |
| 109 | + |
| 110 | +### Changed |
| 111 | +- update |
| 112 | + |
| 113 | +### Removed |
| 114 | +- Delete main.yml |
| 115 | + |
| 116 | +### Added |
| 117 | +- Update main.yml |
| 118 | +- Create main.yml |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | +## [1.0.9-10] / [1.0.9-7] / [1.0.9-1] - 2023-03-13 |
| 123 | + |
| 124 | +### Added |
| 125 | +- new build system |
| 126 | +- multi import methods |
| 127 | +- esbuild |
| 128 | +- prettier and prepare esbuild |
| 129 | + |
| 130 | +### Changed |
| 131 | +- update build configs |
| 132 | +- remove no need codes |
| 133 | + |
| 134 | +### Fixed |
| 135 | +- update fix |
| 136 | +- test fix |
| 137 | +- remove console.log |
| 138 | +- fix plain text can't convert bug |
| 139 | +- fix some types and build |
| 140 | +- fix nuderline bug and type number content |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | +## [1.0.9] - 2023-03-13 |
| 145 | + |
| 146 | +### Changed |
| 147 | +- Update README.md |
| 148 | +- update |
| 149 | +- released 1.0.9 |
| 150 | + |
| 151 | +### Fixed |
| 152 | +- fix underline |
| 153 | +- fix styles process bug |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | +## [1.0.8] - 2023-03-13 |
| 158 | + |
| 159 | +### Added |
| 160 | +- readme wrong example |
| 161 | +- html xss formatting |
| 162 | + |
| 163 | +### Changed |
| 164 | +- html string process |
| 165 | +- update for npm |
| 166 | +- Update README.md |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | +## [1.0.7] - 2023-03-13 |
| 171 | + |
| 172 | +### Fixed |
| 173 | +- hot fix dist type |
| 174 | + |
| 175 | +### Changed |
| 176 | +- version test |
| 177 | +- released |
| 178 | +- change some type |
| 179 | +- type object |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | +## [1.0.5] - 2023-03-13 |
| 184 | + |
| 185 | +### Added |
| 186 | +- Create LICENSE |
| 187 | + |
| 188 | +### Changed |
| 189 | +- Update README.md |
| 190 | +- update version tag |
| 191 | +- prepare 1.0.5 release |
| 192 | +- update |
| 193 | +- update readme |
| 194 | +- update md |
| 195 | +- Update package.json (multiple updates) |
| 196 | +- Update README.md (multiple updates) |
| 197 | + |
| 198 | +### Fixed |
| 199 | +- index.d.ts |
| 200 | + |
| 201 | +### Removed |
| 202 | +- Revert "for deno" |
| 203 | + |
| 204 | +### Added (Deno Support) |
| 205 | +- for deno (later reverted) |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | +## [1.0.4] - 2023-03-13 |
| 210 | + |
| 211 | +### Added |
| 212 | +- update README.md (deno branch) |
| 213 | +- deno x test |
| 214 | +- for deno |
| 215 | + |
| 216 | +### Changed |
| 217 | +- preapare release |
| 218 | +- Update README.md (multiple updates) |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | +## [1.0.4-deno-main] - 2023-03-13 |
| 223 | + |
| 224 | +### Added |
| 225 | +- Deno support experimental branch |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | +## [1.0.0] - 2023-03-13 |
| 230 | + |
| 231 | +### Added |
| 232 | +- Initial release |
| 233 | +- Basic MOTD parsing functionality |
| 234 | +- Text to HTML conversion |
| 235 | +- JSON to HTML conversion |
| 236 | +- Color code support |
| 237 | +- Formatting support (bold, italic, underline, strikethrough) |
| 238 | +- TypeScript support |
| 239 | +- Build system with tsc |
| 240 | +- Basic documentation |
| 241 | + |
| 242 | +### Changed |
| 243 | +- Update README.md (multiple updates) |
| 244 | +- keywords |
| 245 | +- description |
| 246 | +- remove async |
| 247 | +- DONE (initial completion) |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | +--- |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | +## About This Changelog |
| 256 | + |
| 257 | +This changelog was generated based on the commit history of the Minecraft MOTD Parser project. The project has evolved from a simple MOTD parser to a comprehensive library supporting multiple input/output formats, hex color validation, and robust testing. |
| 258 | + |
| 259 | +### Key Milestones: |
| 260 | +- **v1.0.0**: Initial release with basic parsing functionality |
| 261 | +- **v1.0.8**: Added XSS protection for HTML output |
| 262 | +- **v1.1.0**: Major feature updates and stability improvements |
| 263 | +- **v1.1.4**: Enhanced hex color validation and game-accurate behavior |
| 264 | +- **v1.1.5**: Major HTML formatting improvements with enhanced type safety and comprehensive testing |
| 265 | + |
| 266 | +### Contributors: |
| 267 | +- **Kevin Zheng (SnowFireWolf)** - Main developer and project maintainer |
| 268 | + - Core MOTD parsing functionality |
| 269 | + - HTML/JSON conversion system |
| 270 | + - Test suite implementation |
| 271 | + - Documentation and project setup |
| 272 | +- **Alejandro González (AlexTMjugador)** - Hex color parser improvements |
| 273 | + - Enhanced hex color validation |
| 274 | + - Game-accurate behavior implementation |
| 275 | +- **Jai Agrawal (Geometrically)** - Mixed components support |
| 276 | + - Allows mixed components in MOTD parsing |
| 277 | + |
| 278 | + |
0 commit comments