chore(release): 2.1.3

- Bump package, lockfile, iOS DailyNotificationPlugin.podspec, and synced
  version strings (definitions header, FetchWorker mock payload).
- Add CHANGELOG [2.1.3] for Android optional contentFetch fields and README.
This commit is contained in:
Jose Olarte III
2026-03-20 19:26:46 +08:00
parent 33010ad7cf
commit 4dd1aea002
6 changed files with 16 additions and 6 deletions

View File

@@ -5,6 +5,16 @@ 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.1.3] - 2026-03-20
### Fixed
- **Android**: `scheduleDualNotification` / `parseContentFetchConfig` no longer requires `timeout`, `retryAttempts`, and `retryDelay` in `contentFetch` (optional fields per TypeScript). Omitted values defer to `FetchWorker` defaults.
### Documentation
- **README**: Note default behavior when those `contentFetch` fields are omitted.
## [1.1.6] - 2026-02-16 ## [1.1.6] - 2026-02-16
### Fixed ### Fixed

View File

@@ -308,7 +308,7 @@ class FetchWorker(
"timestamp": ${System.currentTimeMillis()}, "timestamp": ${System.currentTimeMillis()},
"content": "Daily notification content", "content": "Daily notification content",
"source": "mock_generator", "source": "mock_generator",
"version": "2.1.2" "version": "2.1.3"
} }
""".trimIndent() """.trimIndent()
return mockData.toByteArray() return mockData.toByteArray()

View File

@@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'DailyNotificationPlugin' s.name = 'DailyNotificationPlugin'
s.version = '2.1.2' s.version = '2.1.3'
s.summary = 'Daily Notification Plugin for Capacitor' s.summary = 'Daily Notification Plugin for Capacitor'
s.license = 'MIT' s.license = 'MIT'
s.homepage = 'https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin' s.homepage = 'https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin'

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@timesafari/daily-notification-plugin", "name": "@timesafari/daily-notification-plugin",
"version": "2.1.2", "version": "2.1.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@timesafari/daily-notification-plugin", "name": "@timesafari/daily-notification-plugin",
"version": "2.1.2", "version": "2.1.3",
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"

View File

@@ -1,6 +1,6 @@
{ {
"name": "@timesafari/daily-notification-plugin", "name": "@timesafari/daily-notification-plugin",
"version": "2.1.2", "version": "2.1.3",
"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", "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", "main": "dist/plugin.js",
"module": "dist/esm/index.js", "module": "dist/esm/index.js",

View File

@@ -5,7 +5,7 @@
* Aligned with Android implementation and test requirements * Aligned with Android implementation and test requirements
* *
* @author Matthew Raymer * @author Matthew Raymer
* @version 2.1.2 (see package.json for source of truth) * @version 2.1.3 (see package.json for source of truth)
*/ */
// Import SPI types from content-fetcher.ts // Import SPI types from content-fetcher.ts