Releases: NGXSMK/ngxsmk-gatekeeper
v1.1.0 - Angular Signals Support, Autonomous Security Agent, and SEO Enhancements
π‘οΈ Gatekeeper v1.1.0
We are excited to announce the release of v1.1.0, a major update that brings cutting-edge Angular features and proactive security capabilities to your workflow. This release focuses on developer experience with Signals and application safety with the brand-new Autonomous Agent.
π What's New?
π‘ First-Class Angular Signals Support
ngxsmk-gatekeeper is now fully optimized for Angular 17, 18, 19, and 20. We have integrated Signals across all core services for a more synchronous and ergonomic developer experience:
- GatekeeperAgentService: Monitor security status reactively with the
statussignal. - ObservabilityService: Real-time stats and connection states are now available as signals.
- ShowcaseService: Synchrously access and bind gallery entries in your templates.
- VisualBuilderService: Modernized state management for a smoother drag-and-drop experience.
π€ Autonomous Gatekeeper Agent
Meet your new background security partner. The Gatekeeper Agent proactively monitors your app's security posture:
- Proactive Auditing: Automatically scans your configuration for risks using our validation engine.
- Anomaly Detection: Detects traffic spikes and high error rates in real-time.
- Dynamic Mitigation: Supports four modes: monitor,
enforce,strict, andpanicfor varying levels of automated protection. - Reactive Alerting: Exposes alerts via Signals for easy dashboard integration.
π SEO & Community Overhaul
- SEO Optimized: Improved library metadata and crawlability for search engines.
- LTS Strategy: Officially expanded support for upcoming Angular versions.
- Documentation: Comprehensive new guides for Signals and the Security Agent.
π οΈ Performance & Fixes
- Build Improvements: Resolved
inlineSourcesand source mapping issues for better debugging. - Tree-Shaking: Further optimized internal bundles to ensure zero overhead for unused middleware.
- Enhanced Schematics: Updated generators to support the new Agent configuration.
π¦ Installation
Update to the latest version via npm:
npm install ngxsmk-gatekeeper@latestv1.0.0 - Initial Release: The Ultimate Angular Route & HTTP Protection Library π‘οΈ
π ngxsmk-gatekeeper v1.0.0 - Initial Release
We're excited to announce the first stable release of ngxsmk-gatekeeper - the most powerful, developer-friendly middleware engine for Angular!
π What is ngxsmk-gatekeeper?
Stop writing duplicate route guards and HTTP interceptors. ngxsmk-gatekeeper provides a unified middleware pattern that works for both route protection and HTTP request protection. One configuration. Works everywhere. Type-safe. Tree-shakeable. Zero bloat.
β¨ Key Features
Core Capabilities
- β Route Protection - Protect routes with functional guards
- β HTTP Protection - Protect API calls with interceptors
- β Composable Middleware - Chain middleware like Next.js
- β Type-Safe - Full TypeScript support with comprehensive types
- β Tree-Shakeable - Zero bundle overhead
- β Debug Mode - Built-in debugging and benchmarking
- β Plugin Architecture - Extensible and customizable
30+ Built-in Middleware Features
Security (8 features)
- IP Whitelisting/Blacklisting
- CSRF Protection
- Session Management
- API Key Validation
- Account Lockout
- Webhook Signature Verification
- Device Fingerprinting
- User-Agent Validation
Access Control (3 features)
- Time-Based Access
- Maintenance Mode
- Geographic Restrictions
Authentication (3 features)
- Multi-Factor Authentication (MFA)
- OAuth2/OIDC
- JWT Token Refresh
Request Processing (4 features)
- Request Validation
- Request Size Limits
- Request Deduplication
- API Versioning
Advanced Control (4 features)
- Conditional Middleware
- Circuit Breaker
- Retry Logic
- Concurrent Limits
Analytics & Monitoring (3 features)
- Request Analytics
- A/B Testing
- Request Logging
Performance (2 features)
- Cache Middleware
- Request Batching
Developer Tools
- β Angular Schematics for code generation
- β Standalone CLI tool
- β Testing utilities
- β Configuration validator
- β Visual middleware builder
- β Template library
π¦ Installation
npm install ngxsmk-gatekeeper## β‘ Quick Start
ript
import { provideGatekeeper, gatekeeperGuard } from 'ngxsmk-gatekeeper';
import { createAuthMiddleware } from 'ngxsmk-gatekeeper/lib/middlewares';
// 1. Create middleware
const authMiddleware = createAuthMiddleware({ authPath: 'user.isAuthenticated' });
// 2. Configure
bootstrapApplication(AppComponent, {
providers: [
provideGatekeeper({ middlewares: [authMiddleware], onFail: '/login' }),
],
});
// 3. Protect routes
const routes: Routes = [
{ path: 'dashboard', canActivate: [gatekeeperGuard], loadComponent: () => import('./dashboard.component') },
];Done! Your routes are protected. HTTP requests too. No boilerplate. No duplication.
π Documentation
- π Full Documentation
- π Quick Start Guide
- π API Reference
- π― Examples
π― Requirements
- Angular 17+ (Standalone components required)
- TypeScript 5.9+
- Node.js 18+
π€ Contributing
We welcome contributions! Check out our Contributing Guide.
π License
MIT License - 100% open source. Free forever. No restrictions.
π Acknowledgments
Built with β€οΈ for the Angular community. Inspired by Next.js middleware pattern.
Made by developers, for developers. π
Questions? Open an issue or start a discussion. We're here to help!