Releases: klaudsol/klaudsol-commons
Releases · klaudsol/klaudsol-commons
v1.8.1
- Added
userId
to People model.
v1.8.0
- Supports OR queries in assertUserCan (e.g. assertUserCan(['can_do_admin_stuff', 'write_contents'], req)
- Supports parameterized capabilities (e.g. assertUserCan('write_contents', req, 'blog'))
- Provides a Download to CSV mechanism for frontend and backend.
v1.7.1
- Fixed build issues involving DB#sha256
- Removed write_content_types capability from Administrator and Editor
- Removed write_settings capability from Administrator
v1.7.0
- Added Session#create() and Session#cleanupExpired
- Added @klaudsol/commons/lib/Crypto for cryptography-related functions
- Crypto#sha256 has can now be encoded as 'hex' or 'base64' (used to be 'base64' only)
v1.6.1
- Fix: Removed trailing commas on migration script
v1.6.0
- Added a method that resets a user's password (change password w/out old password)
- assertUserCan now caters to both JWT and session.
v1.5.0
- Add the S3.js file, which includes presigned URL's upload, among other things.
- Execute migrations inside plugins
v1.4.1
- Disable Cloudwatch errors when not being used