Skip to content

Commit b65da87

Browse files
committed
update changelog and mark addEntity deprecated
1 parent c2ca631 commit b65da87

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Note: Due to some last quick changes on v4, detail of v4.5.3 & v4.5.4 are not updated here. v4.5.4x is the last tag of v4 in github repository. I'm extremely sorry for the confusion
44

5+
**5.7.3**
6+
- fix: alwaysCreateTextNode should create text node when attributes are present for self closing node
7+
- fix stop node expression when ns prefix is removed (found by [iruizsalinas](https://github.com/iruizsalinas))
8+
- update XML Builder to 1.1.6
9+
- mark addEntity deprecated
10+
11+
512
**5.7.2 / 2026-04-25**
613
- allow numerical external entity for backward compatibility
714
- fix #705: attributesGroupName working with preserveOrder

lib/fxp.d.cts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ declare class XMLParser {
707707
* Add Entity which is not by default supported by this library
708708
* @param entityIdentifier {string} Eg: 'ent' for &ent;
709709
* @param entityValue {string} Eg: '\r'
710+
* @deprecated Use `entityDecoder` instead
710711
*/
711712
addEntity(entityIdentifier: string, entityValue: string): void;
712713

src/fxp.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ export class XMLParser {
701701
* Add Entity which is not by default supported by this library
702702
* @param entityIdentifier {string} Eg: 'ent' for &ent;
703703
* @param entityValue {string} Eg: '\r'
704+
* @deprecated Use `entityDecoder` instead
704705
*/
705706
addEntity(entityIdentifier: string, entityValue: string): void;
706707

0 commit comments

Comments
 (0)