Skip to content

Releases: silvaezequias/granular-ac

v2.1.0

07 Mar 14:21
Compare
Choose a tag to compare
v2.1.0 Pre-release
Pre-release

This release introduces updates to the README and adds the repository information to package.json, enhancing the documentation and accessibility of the GranularAC package.

Enhancements:

  • Updated the README to reflect the changes in the build method's return structure, providing clearer guidance on how to define, generate, and verify permissions.
  • Added the repository URL to package.json to improve the discoverability and accessibility of the project, making it easier for users and contributors to find the source code and related resources.

We encourage users to update to this latest version to benefit from the improved documentation and accessibility features.

v2.0.0 - Enhanced `build` Method Functionality

07 Mar 13:55
Compare
Choose a tag to compare

I am excited to announce the release of granular-ac 2.0.0! This major update introduces a significant change to the build method, enhancing its functionality and the structure of its return value.

What's Changed:

  • I have restructured the build method to return a detailed permissions object instead of an array of strings. This change allows for a more structured and accessible way to represent permissions within your application.

Breaking Changes:

  • The return type of the build method has been changed from an array to an object. This modification requires adjustments in how permissions are retrieved and processed in your existing code.

Why This Change?

  • The new structure provides a clearer, more organized representation of permissions, making it easier for developers to manage and utilize permissions effectively in their applications.

Updated Documentation and Tests:

  • I have updated the documentation and test suites to reflect these changes, ensuring you can integrate the new version smoothly and understand the new functionalities.

How to Upgrade:

  • To upgrade to version 2.0.0, please ensure you revise your code to accommodate the new return type of the build method. For detailed instructions, refer to our upgrade guide in the documentation.

Thank you for using granular-ac, and I hope you find these updates beneficial for your projects!

v1.0.0

05 Mar 12:56
Compare
Choose a tag to compare

Version 1.0.0

Initial Release

This release marks the initial version of the GranularAC library. GranularAC is a TypeScript library designed to manage granular access control in Node.js applications. It offers a flexible and customizable solution for defining and enforcing access control rules based on resources, actions, and scopes. Key features include:

  • Granularity: Define permissions at a granular level for precise control over access.
  • Flexibility: Customize access control rules to suit the requirements of your application.
  • Scalability: Scale with your application as it grows, handling complex access control requirements.
  • Security: Enhance the security of your application by ensuring that only authorized users have access to sensitive resources.
  • Ease of Use: Provides a simple and intuitive API for defining and verifying access control rules.

In this release:

  • Added core functionality for defining and verifying access control rules.
  • Included examples demonstrating how to use GranularAC with Express middleware.

For more details, refer to the documentation and the GitHub repository.

Full Changelog: https://github.com/silvaezequias/granular-ac/commits/v1.0.0