@sfirew/minecraft-motd-parser 1.1.4 → 1.1.5-dev.1

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