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.
This commit is contained in:
16
CHANGELOG.md
16
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_<epochMillis>` 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_<epochMillis>` 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_<epochMillis>` to `api_<epochMillis>`. 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_<epochMillis>` to `api_<epochMillis>`. 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
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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/*"
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user