Compare commits

...
2 Commits
Author SHA1 Message Date
trentlarson 6c17111055 bump version and add '-beta' 2026-11-18 21:14:19 -07:00
trentlarson aa0953ea39 bump to version 0.2.8 2026-11-18 21:04:12 -07:00
3 changed files with 8 additions and 6 deletions
+4 -1
View File
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.2.8]
### Added
- A renewal reminder on each channel. Each scheduler pass ends with a sweep for users whose newest batch on that channel has no JWT dated today or later; from the day after the last JWT day, at the user's hour, each gets one push (`Keep your alerts going`, data `type: alert_search` with `reason: renewal`) or one text (`Gift Economies: your text alerts have ended. Open the app to renew them: https://giftopia.me/deep-link/new-activity Reply STOP to end.`) pointing at New Activity, where the app re-authorizes. Once per uploaded batch; a user whose inventory was already spent gets it on the first pass. Before this a user who never opened New Activity used their last JWT and went silent.
- A renewal reminder on each channel. Each scheduler pass ends with a sweep for users whose newest batch on that channel has no JWT dated today or later; from the day after the last JWT day, at the user's hour, each gets one push (`Keep your alerts going`, data `type: alert_search` with `reason: renewal`) or one text (`Gift Economies: your text alerts have ended. Open the app to renew them: https://giftopia.me/deep-link/new-activity Reply STOP to end.`) pointing at New Activity, where the app re-authorizes.
### Changed in DB or environment
- New column `renewal_reminded_at` on `alert_authorization_batches` and `sms_alert_authorization_batches`, added on startup to an existing database.
- New `sms_phone_log` actions `renewal-sent` and `renewal-send-failed`.
+3 -4
View File
@@ -845,9 +845,7 @@ Optional: `DEFAULT_ENDORSER_API_SERVER` / `DEFAULT_PARTNER_API_SERVER` are honor
```bash
docker build --no-cache -t notify-wakeup-api:amd-$NOTIFY_WAKEUP_API_VERSION --platform linux/amd64 .
docker run --env-file notify-wakeup-api.env -p 3003:3003 \
-v notify-wakeup-data:/app/data \
notify-wakeup-api
sudo docker run -d -p 3003:3003 --env-file ~/notify-wakeup-api.env -v ~/notify-wakeup-api-db:/data --name notify-wakeup-api notify-wakeup-api:amd-$NOTIFY_WAKEUP_API_VERSION
```
The image runs `node dist/index.js`. Mount a volume at `/app/data` (or set `NOTIFY_DATA_DIR` to another mounted path). Do not scale this container to multiple replicas.
@@ -874,7 +872,8 @@ beside the running service, and it reads the service's own environment, so it
needs no configuration of its own:
```
docker exec -it <container> node dist/tools/smsWatch.js
docker exec -it notify-wakeup-api node dist/tools/smsWatch.js
# ... or:
pkgx pnpm run sms:watch -- --db path/to/notify.sqlite # a local copy
```
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "notification-wakeup-service",
"version": "0.2.8-beta",
"version": "0.2.9-beta",
"private": true,
"type": "module",
"packageManager": "pnpm@11.4.0",