Releases: nis2shield/react-guard
Releases · nis2shield/react-guard
v0.2.5 — DEPRECATED
v0.2.4 — DEPRECATED
This repository has been merged into the NIS2 Shield Frontend Monorepo.
Please use @nis2shield/react-guard from the monorepo (packages/react) for the latest updates and security patches.
This standalone repository is now ARCHIVED and will no longer receive updates.
v0.2.3 (Deprecated)
Final release marking the repository as deprecated. Moved to @nis2shield/frontend.
v0.2.1 - LLM Optimization
What's Changed
Documentation
- Added 'Why this package?' section to README for AI discoverability
- Added 'Recipes' section with 3 common patterns
- Added JSDoc @example to SessionWatchdog component
- Added keywords: cybersecurity, auto-logout, session-timeout, tab-napping, enterprise
- Created llms.txt for AI agent context
CI/CD
- Added publish.yml workflow for automated npm releases
- Added workflow_dispatch with dry_run option
v0.2.0 - Device Fingerprinting & Security Banner
🎉 v0.2.0 Release
✨ New Features
- useDeviceFingerprint - Passive device fingerprint collection for session hijacking detection
- SecurityBanner - Warns users about insecure connections (HTTP) and outdated browsers
📦 Components
Nis2Provider- Main context providerSessionWatchdog- Idle detection & tab nappingAuditBoundary- React Error Boundary with telemetrySecurityBanner- Security warnings banner
🪝 Hooks
useSecureStorage- AES-GCM encrypted localStorageuseSecureInput- Anti-paste, autocomplete offuseNis2Log- Manual telemetry logginguseDeviceFingerprint- Device fingerprint collection
📊 Stats
- 35 tests passing
- Bundle: 34.58 KB (ES), 23.43 KB (CJS)
📥 Installation
npm install @nis2shield/react-guard