Skip to content

v2.0.0 - Enhanced `build` Method Functionality

Latest
Compare
Choose a tag to compare
@silvaezequias silvaezequias released this 07 Mar 13:55
· 11 commits to main since this release

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!