From 6e017aad099ad7f9cb47bbe963b91e2828115226 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Tue, 9 Jun 2026 18:11:24 +0800 Subject: [PATCH] chore(release): release 4.0.0 with API batch notification method names Bump to 4.0.0 for the breaking rename to scheduleApiNotifications and clearApiNotifications. Scheduling behavior and api_ identifiers are unchanged. --- CHANGELOG.md | 16 +++++++++++----- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ede1e86..410df38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,18 +5,24 @@ All notable changes to the Daily Notification Plugin will be documented in this The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.0.0] - 2026-06-09 + +### Changed + +- **Breaking**: Public batch APIs renamed to `scheduleApiNotifications` and `clearApiNotifications`, replacing `scheduleNotifications`, `clearPredictiveNotifications`, and iOS `clearAllNotifications`. Scheduling behavior and `api_*` identifiers are unchanged. +- **TypeScript**: JSDoc updated for API terminology and `api_*` identifiers. + ## [3.0.4] - 2026-06-09 ### Added -- **Android / iOS**: `scheduleApiNotifications` batch API schedules one-shot notifications at epoch-ms timestamps using deterministic `api_` identifiers. -- **Android / iOS**: `clearApiNotifications` cancels or removes only API-managed notifications (`api_*`) without affecting Daily Reminders, user schedules, dual schedules, or fetch jobs. +- **Android**: `scheduleNotifications` batch API schedules one-shot notifications at epoch-ms timestamps using deterministic `api_` schedule IDs. +- **Android**: `clearPredictiveNotifications` cancels only API-managed schedules (`api_*`) without affecting Daily Reminders, user schedules, dual schedules, or fetch jobs. ### Changed -- **Android / iOS**: Internal batch notification ID namespace renamed from `predictive_` to `api_`. Scheduling and lifecycle behavior are unchanged. -- **Breaking**: Public batch APIs renamed from `scheduleNotifications` / `clearPredictiveNotifications` / `clearAllNotifications` to `scheduleApiNotifications` / `clearApiNotifications`. -- **TypeScript**: JSDoc updated to document `api_*` identifiers and API terminology. +- **Android / iOS**: Internal batch notification ID namespace renamed from `predictive_` to `api_`. Public Capacitor method names are unchanged; scheduling and lifecycle behavior are unchanged. +- **TypeScript**: JSDoc for `scheduleNotifications` and `clearPredictiveNotifications` updated to document `api_*` identifiers. ## [3.0.3] - 2026-05-22 diff --git a/package-lock.json b/package-lock.json index 865e765..897574e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "3.0.4", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@timesafari/daily-notification-plugin", - "version": "3.0.4", + "version": "4.0.0", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index 739b3a5..9d02c54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "3.0.4", + "version": "4.0.0", "description": "TimeSafari Daily Notification Plugin - Enterprise-grade daily notification functionality with dual scheduling, callback support, TTL-at-fire logic, and comprehensive observability across Mobile (Capacitor) and Desktop (Electron) platforms", "main": "dist/plugin.js", "module": "dist/esm/index.js",