Skip to content

v6.0.0

Compare
Choose a tag to compare
@caputomarcos caputomarcos released this 21 May 10:50
· 43 commits to main since this release
c4b5357

Release Notes for Version 6.0.0

Release Date: May 21, 2024

New Features and Enhancements:

  • Enhanced OAuth2 Node:

    • Implemented support for the OAuth2 implicit flow, allowing client applications (typically SPAs) to obtain access tokens directly.
    • Added new configuration fields: access_type, response_type, and prompt. These fields enhance flexibility in OAuth2 configurations, accommodating a wider range of authentication scenarios.
    • Improved input handling and proxy configuration within the OAuth2Node class for more reliable network request handling during the OAuth2 process.
  • Configuration Updates:

    • Updated .eslintrc.yml to exclude console logs in test files, ensuring cleaner and more readable test outputs.
    • Bumped the package version in package.json to 6.0.0 to reflect significant updates and improvements.
    • Updated dependencies to include mocha for enhanced testing capabilities and additional dev dependencies for improved development workflows.
  • Locales and UI Enhancements:

    • Added support for new fields in locales/en-US/oauth2.json to enable comprehensive configuration options.
    • Updated the OAuth2 HTML file (oauth2.html) to include input fields for access_type, response_type, and prompt, allowing users to configure these parameters through the Node-RED UI.
  • Testing and Documentation:

    • Added extensive tests for the new fields and implicit flow to ensure robustness and functionality.
    • Updated documentation to reflect new features, providing detailed examples of using the implicit flow and configuring the additional fields.

Bug Fixes:

  • Issue #79:
    • Resolved an issue with Google API authentication where users received an HTTP 200 response with an HTML sign-in page payload instead of the expected OAuth2 token.
    • Properly handled the redirect to the Google sign-in page, including the additional confirmation screen, ensuring seamless user authentication.

Upgrade Notes:

  • Breaking Changes:
    • Users upgrading from previous versions should update their configurations to utilize the new fields and implicit flow support.
    • Review the updated documentation for detailed guidance on configuring the OAuth2 node with the new enhancements.

For detailed information on the changes, please refer to the pull request and the updated documentation.

Contributors:

We appreciate the community's feedback and contributions. Thank you for helping us improve the node-red-contrib-oauth2 project!

What's Changed

New Contributors

Full Changelog: 5.0.2...v6.0.0