Releases: haniot/notification
Releases · haniot/notification
v1.5.5
Adjustments and Improvements:
- Adds
extra
attribute in Push model; - Updates
mountPayloads()
method of PushRepository:- Replaces
user_id
byrecipient_id
; - Adds
user_id
with the value of the attribute of the same name from the Push model; - Adds
extra
key.
- Replaces
- Updates versions of the project dependencies.
v1.5.4
Adjustments and Improvements:
- Adds
timestamp
in Push model; - Adds
timestamp
,user_id
(direct push),topic
(topic push) andweb_url
in mount of firebase payloads; - Adds
DASHBOARD_HOST
env variable; - Updates versions of the project dependencies.
v1.5.3
Adjustments and Improvements:
- Adding ISO 639-1 standardization in PushMessage model;
- Updates versions of the project dependencies.
v1.5.2
Adjustments and Improvements:
- Changes MongoDB connection configs to access certificates path instead of certificates content;
- Updates versions of the project dependencies.
v1.5.1
Adjustments and Improvements:
- Adjusts ConnectionFactoryMongodb's
createConnection
method options; - Changes the BaseRepository constructor access modifier from protected to public;
- Fixes type of some catch errors;
- Updates versions of the project dependencies:
- Unlocks
mongoose
version.
- Unlocks
v1.5.0
Adjustments and Improvements:
- Adding general adjustments in EmailRepository;
- Updating EmailValidator;
- Updating EventBusRabbitMQ;
- Updating
.env.example
; - Updates versions of the project dependencies.
v1.4.0
New Features and Adjustments:
- Adding
user_id
attribute in Push resource; - Updates versions of the project dependencies.
v1.3.2
Adjustments and Improvements:
- Adds the possibility to use custom email templates through an environment variable in
EmailRepository
; - Updates
.env.example
; - Updates versions of the project dependencies.
v1.3.1
Adjustments and Improvements:
- Adds environment variable to the email sender's name;
- Fixes some repository and service interfaces;
- Updates versions of the project dependencies.
v1.3.0
New Features
- Adds endpoints to manage email templates:
PUT /v1/emails/templates/{type}
GET /v1/emails/templates/{type}/{resource}
- Adds support for push notifications:
- users.push.tokens
GET /v1/users/{user_id}/push/tokens
PUT /v1/users/{user_id}/push/{client_type}/tokens
DELETE /v1/users/{user_id}/push/{client_type}/tokens
- push
POST /v1/push
DELETE /v1/push/{push_id}
POST /v1/push/{push_id}/read
- users.push
GET /v1/users/{user_id}/push
- users.push.tokens
- Adds refactorings and code improvements.