hi-secure 1.0.18 → 1.0.19

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +24 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hi-secure",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Unified security layer for Express.js: authentication, validation, sanitization, rate limiting and CORS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
package/readme.md CHANGED
@@ -96,20 +96,38 @@ Managing these separately leads to duplicated logic, configuration drift and sub
96
96
  </tr>
97
97
 
98
98
  <tr>
99
- <td>Logging</td>
100
- <td>Better</td>
101
- <td>Structured internal logs</td>
102
- </tr>
99
+ <td>Logging</td>
100
+ <td>Improved (v1.0.17)</td>
101
+ <td>
102
+ Structured, lifecycle-aware logs with adapter, manager and fallback visibility.
103
+ Designed for production debugging without leaking sensitive data.
104
+ </td>
105
+ </tr>
106
+
107
+
103
108
  </table>
104
109
 
105
110
  <hr/>
106
111
 
112
+
113
+ <hr/>
114
+
115
+ <h2>What’s New in v1.0.18</h2>
116
+
117
+ <ul>
118
+ <li>Improved structured logging across core lifecycle</li>
119
+ <li>Clear visibility into adapter initialization and fallbacks</li>
120
+ <li>Layer-based logs (core, managers, adapters) for easier debugging</li>
121
+ <li>No public API changes (safe patch release)</li>
122
+ </ul>
123
+
124
+
107
125
  <h2>Developer Experience</h2>
108
126
 
109
127
  <ul>
110
128
  <li>Single global middleware for security</li>
111
129
  <li>No manual wiring of multiple packages</li>
112
- <li>Consistent error handling</li>
130
+ <li>Consistent error handling and lifecycle-aware logging</li>
113
131
  <li>Safe defaults with escape hatches</li>
114
132
  <li>Beginner-friendly, production-ready</li>
115
133
  </ul>
@@ -738,4 +756,4 @@ It focuses on correctness, safety and developer productivity.
738
756
  <p align="center">
739
757
  Advanced patterns, RBAC strategies, adapter extensions and deployment guides
740
758
  will be added over time.
741
- </p>
759
+ </p>