Skip to content

v2.0.0

Choose a tag to compare

@SumayaHasan-DSB SumayaHasan-DSB released this 22 Jan 23:40
· 41 commits to main since this release

What's New

This major update provides a robust, error-resistant, and easily integrable middleware solution for handling API endpoint requirements in compliance with CDR standards.

  • Enhanced Functionality: Introduction of new functions cdrScopeValidator, cdrEndpointValidator, and cdrResourceValidator for more granular control (#5).
  • Improved Flexibility: Implementation of a callback mechanism for scope and account ID information, decoupling the middleware from the Identity Provider (IdP) and facilitating alternative use cases. The existing cdrScopeValidator and cdrJwtScopes functions are maintained (#11).
  • Bug Fix: Resolution of a critical issue where middleware would hang on certain API calls (#10).
  • Refactoring: Break up of functions for improved clarity and efficiency.
  • Expanded Testing: Addition of unit tests for recent changes, including tests using the basePath parameter in configuration files.

Explore the latest features and improvements by visiting our npm package page here.

Full Changelog: v1.3.0...v2.0.0