Skip to content

Releases: NGXSMK/ngxsmk-gatekeeper

v1.1.0 - Angular Signals Support, Autonomous Security Agent, and SEO Enhancements

08 Feb 17:46
3f4b08c

Choose a tag to compare

πŸ›‘οΈ 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 status signal.
  • 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, and panic for 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 inlineSources and 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@latest

v1.0.0 - Initial Release: The Ultimate Angular Route & HTTP Protection Library πŸ›‘οΈ

17 Dec 11:03

Choose a tag to compare

πŸŽ‰ 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

🎯 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!