postchain-client 2.1.3 → 2.1.5

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 CHANGED
@@ -1,4 +1,4 @@
1
- Version 2.1.3
1
+ Version 2.1.5
2
2
 
3
3
  # Changelog
4
4
 
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
 
17
17
  ### Changed
18
18
 
19
+ - Added an optional, backward-compatible node URL filtering feature through `blockedNodeUrlSubstrings` and `nodeUrlFilter`. Existing behavior is unchanged unless filters are explicitly configured.
20
+ - Migration note: existing users do nothing. Opt-in users can configure URL filtering to exclude specific node URLs from direct pools, directory pools, and discovered pools.
21
+ - Propagated optional node URL filtering into nested internal clients used by ICCF, sticky-node flows, and system anchoring/cross-chain paths, so blocked URLs are consistently excluded in GET/POST failover during cross-chain operations.
22
+ - Added explicit filtered-pool validation errors when filtering removes all URLs from a configured pool, preventing silent fallback to blocked nodes.
23
+ - Added coverage for backward compatibility (no filters configured), enabled filtering behavior, and all-URLs-blocked edge cases.
24
+
19
25
  ## [2.1.1]
20
26
 
21
27
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postchain-client",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "main": "built/cjs/index.js",
5
5
  "browser": "built/esm/index.js",
6
6
  "types": "built/index.d.ts",