3.0.0 (2025-12-19)
- package is ESM-only (CJS/UMD entry points removed)
- unpackBitmasks now throws PermaskError on invalid input
- createPermask().create now throws PermaskError for unknown groups
2.1.1 (2025-07-06)
2.1.0 (2025-07-05)
- improve API with string group names and new helpers (dc37415)=
You can now use string names for permission groups in create() and hasGroup() for an easier development experience. This change is fully backward-compatible, so numeric IDs still work.
- The
parse()method now includesgroupNamein its output. - Added
hasAccess()to check group permissions in a single call. - Added
getGroupName()to find a group's name from a bitmask.
The playground and tests have been updated to use these new features. For more details, see the project on GitHub: https://github.com/dschewchenko/permask/
2.0.1 (2025-04-01)
2.0.0 (2025-03-29)
- size and naming changed for access part to fully match crud operations
1.1.0 (2025-03-16)
- add pack and unpack functions (cab3faf)