Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.5.1] 2024-03-27
[Fixed]
- The generated ID for the users in the bulk import follows the Auth0 standard of 24 only alphabetic characters.
[1.5.0] 2024-03-18
[Added]
- Fix 500 error for nested fields in request body of
PATCH /users/:id
endpoint - Add PATCH /users/import endpoint
- Update errors and failures interface for endpoints
POST /jobs/auth0-users-import
andGET /jobs/auth0-users-import/:id
- Implement handlers logic for
POST /jobs/auth0-users-import
andGET /jobs/auth0-users-import/:id
- Add ums job logic implementation for bulk import of users in Auth0
- Add interface for endpoints
POST /jobs/auth0-users-import
andGET /jobs/auth0-users-import/:id
- Add load/stress test suite
- Add rescheduling logic for UMS jobs that to poll Auth0 for users bulk import
- Add job scheduler concurrency tests
- Add logic to update job status with job scheduler
- Remove sensitive data from auth import error feedback
- Add documentation for
GET /jobs/change-password/bulk/:id
andPOST /jobs/change-password/bulk
endpoints. Update endpoints of jobs name toGET /jobs/bulk-activation/:id
andPOST /jobs/bulk-activation
- Update
PATCH /users/import
response with inserted and updated users ids - Add documentation for complete flow of users bulk operations: import, activation and change password
- Add implementation of
POST /jobs/change-password/bulk
endpoint - Add stress tests for
POST /jobs/change-password/bulk
endpoint - Add implementation of
GET /jobs/change-password/bulk/:id
endpoint - Update response of
GET /jobs/change-password/bulk/:id
with successful users ids - Add the upsert query parameter to
POST /jobs/bulk-activation
[Fixed]
- Fix CSV bulk import with array fields
- Fix CSV bulk import performance issues due to too many unnecessary requests to Crud
- Fix bulk activation of users filtering out already active users
- Fix error in documentation of
POST /users/state
- Fix error in documentation of
POST /oauth/token
- Improve
PATCH /users/import
response with array of ivalid rows
[Changed]
- Rename endpoints
POST /jobs/auth0-users-import
andGET /jobs/auth0-users-import/:id
toPOST /jobs/users/bulk-activation
andGET /jobs/users/bulk-activation/:id
respectively, and remove patch feedback from users bulk activation
[1.4.3] 2023-10-10
Changed
- Node.js updated to v18 LTS
Fixed
- Fix getAllUsers from auth0client when acl_rows is in headers
[1.4.2] 2023-10-02
Changed
- GET /users/ resolves additional properties from auth0 when a configuration file is given
Fixed
- Fix documentation links
[1.4.1] 2023-05-12
Added
- Add TIMER_SERVICE_HEADERS env var to proxy headers to Timer Service
Fixed
- Fix createUser return when an error occurs
[1.4.0] 2023-04-17
Added
- Add POST /users/:id/soft-delete to soft delete users
Changed
- Update POST /users/ to set an expiration date for a user
- Update DELETE /users/:id to delete a user with expiration
- Update PATCH /users/:id to update a user with expiration
- Update POST /users/with-id to set an expiration date for a user
[1.3.2] 2023-02-15
Fixed
- Fix error in PATCH /users/:id when the body does not contain
$set
[1.3.1] 2023-01-11
Fixed
- Fix body in 204 responses (return null instead of an empty object)
[1.3.0] 2023-01-03
Fixed
- Fix log error registation of auth user already registered on Auth Provider
Added
- Add boolean
postponeAuthUserCreation
query parameter in thePOST /users/
endpoint with afalse
default value. WhenpostponeAuthUserCreation=true
, the user is created only in the users' CRUD collection. - Add
POST /users/register
endpoint that save the user only in the Auth Provider.
[1.2.2] 2022-12-15
Fixed
- Fix users patch when email is missing in the users'
USERS_CRUD_ENDPOINT
CRUD
[1.2.1] 2022-11-18
Changed
- Update CRUD client GET and POST to match CRUD's endpoint paths
[1.2.0] 2022-11-02
Added
- User's permissions retrieval in GET /userinfo
[1.1.0] 2022-08-29
Added
- Created Rönd Client
- Binding creation when the user is created
- Binding update when the user roles are updated
[1.0.3] 2022-06-28
- Updated custom-plugin-library to version 5.0.0. This updating fixes bugs related to client-type and client-key headers.
- When creating a new user with POST /users/with-id, a check is performed in order to ensure that the authUserId does not already exist in the users collection.
[1.0.2] 2022-06-08
Changed
- userGroups and email are no longer required for GET /users
[1.0.1] 2022-06-06
Changed
- It's not possible to modify or unset the authUserId in patchById
- It's not possible to patch an user with an non-existing userGroup. The user schema is now validated against the new user group (if set)
[1.0.0] 2022-05-03
Added
- Documentation added
Changed
- Repository transfer
- New test structure
- Error messages improved
- Ensure backward compatibility
- Env var used for userinfo properties instead of configuration
BREAKING CHANGES
- This version contains changes to the error objects. This new format can be breaking if your microservices are explicitly using the old error objects content.
- This version requires at least v4.3.0 of crud service since we are using the query parameter
_rawp
in the user manager service (see here for further information). - The userinfo additional properties are now handled via the
USERINFO_ADDITIONAL_PROPERTIES
environment variable. Additional properties via configuration file are no longer available.
[0.7.4] 2022-04-14
Added
- Create users only in crud
[0.7.3] 2022-04-06
Changed
- Patched login endpoint, now cookie auth is supported
[0.7.2] 2022-03-09
Changed
POST /user
route for user creation doesn't forcibly requireusername
field anymore, if necessary it should be configured in the relativeuserGroup
configurationcrudSchema
[0.7.1] 2022-03-03
Fixed
- Fixed auth0 DB name as env var instead of hardcoded
[0.7.0] 2021-12-30
Updated
- Added /oauth/token endpoint for authentication
- Added /refreshtoken endpoint for authentication token refresh
Fixed
- Body validation when patching a user
[0.6.1] 2021-11-10
Fixed
- Hardcoded
client-type
removed
[0.6.0] 2021-10-21
POST /user/with-id
endpoint added/userinfo
endpoint added
[0.5.2] 2021-10-13
- Username ambiguities (username used for auth0 nickname and name)
[0.5.1] 2021-09-08
Fixed
- User creation inversion (creation in CRUD before Auth Client)
- Reaching total test coverage on change state function