Commit Graph

4792 Commits

Author SHA1 Message Date
Daniel Sogl 3df16d67a2 feat(mixpanel): add serverUrl and trackAutomaticEvents to init() (#5124)
* feat(mixpanel): add serverUrl and trackAutomaticEvents params to init()

Expose the serverUrl parameter for EU data residency support and
trackAutomaticEvents for Android. This requires the corresponding
cordova-plugin-mixpanel update (samzilverberg/cordova-mixpanel-plugin).

Usage: this.mixpanel.init(token, true, 'https://api-eu.mixpanel.com')

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: regenerate plugin readmes

---------

Co-authored-by: Simon Brami <simon.brami@evy.eu>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 16:40:41 -07:00
Daniel Sogl e86ed0698c feat(cordova-plugin-unvired-sdk): Enhance LoginParameters and UMPRequestConfig (#5123)
* feat(cordova-plugin-unvired-sdk): added a new functions.

* updated getUMPRequestConfig with params.

* feat(cordova-plugin-unvired-sdk): updated getUMPRequestConfig method params.

* feat(cordova-plugin-unvired-sdk): Add `dbDeleteWithArgs`, `dbUpdateWithArgs`, and `dbExecuteStatementWithArgs` methods, and deprecate their non-argument counterparts.

* feat(cordova-plugin-unvired-sdk): add dbUpdateStatements property to LoginParameters interface

* docs: regenerate plugin readmes

---------

Co-authored-by: Venkadesh P <venkadesh.p@unvired.io>
2026-03-21 16:40:40 -07:00
Daniel Sogl 38f6eb5205 feat(airship): Added new method waitForChannelId (#5122)
* feat(airship): Added new method waitForChannelId()

* Update src/@awesome-cordova-plugins/plugins/airship/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs: regenerate plugin readmes

---------

Co-authored-by: Maxim Belov <belov1988@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-21 16:40:32 -07:00
Daniel Sogl b2f8570444 fix: exit with non-zero code when npm publish fails
The publish script was catching errors and logging them but exiting
with code 0, causing the CI workflow to show green even when publishing
failed. Now calls process.exit(1) on publish failure.
2026-03-21 16:27:56 -07:00
github-actions[bot] a164e7134a chore: release main (#5119)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
awesome-cordova-plugins-v9.0.1
2026-03-21 16:23:17 -07:00
Daniel Sogl ad6f55a85d fix: add id-token permission to release-please workflow
The publish workflow requires id-token: write for npm provenance.
When called via workflow_call, permissions are inherited from the
caller, so id-token must be declared in release-please.yml.
2026-03-21 16:22:38 -07:00
Daniel Sogl c18b91db03 fix: extract publish workflow for manual triggering
Split publish into a separate reusable workflow (publish.yml) that can
be triggered manually via workflow_dispatch or called from release-
please. This allows re-running publish independently when a release
already exists but publishing failed.
2026-03-21 16:21:15 -07:00
Daniel Sogl 4807ccdb27 fix: resolve remaining type errors in build scripts
Fix __String vs string type mismatch in imports transformer by
converting escapedText to string. Add @ts-expect-error for TypeDoc
Converter.on() which exists at runtime but is not in public type
exports.
2026-03-21 16:14:04 -07:00
Daniel Sogl 62956e429c fix: add strict types to build scripts and remove all any usage
Replace all implicit and explicit any types in build scripts with
proper TypeScript Compiler API types (Decorator, ClassDeclaration,
MethodDeclaration, Identifier, SourceFile, etc.). Add PackageJson
and InjectableClassEntry interfaces. Fix return types, null checks,
and type assertions throughout all transformer scripts.
2026-03-21 16:11:27 -07:00
Daniel Sogl 6453f2ab78 fix: add npm provenance and fix core peer dependency version
Add --provenance flag to npm publish for supply chain security.
Add id-token: write permission to release workflow for OIDC-based
provenance attestation. Fix MIN_CORE_VERSION to dynamically use
current version instead of hardcoded ^8.0.2.
2026-03-21 16:04:52 -07:00
github-actions[bot] d45a4f766c chore: release main (#5117)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
awesome-cordova-plugins-v9.0.0
2026-03-21 15:51:53 -07:00
Daniel Sogl 0cee43bbae docs: update guide to reflect latest Angular APIs 2026-03-21 15:36:48 -07:00
Daniel Sogl 555c375b60 chore: refresh package-lock.json 2026-03-21 15:27:46 -07:00
Daniel Sogl e263b0b062 chore: rename default branch from master to main
Update all workflow triggers and internal references from master to
main. The default branch on GitHub has been updated accordingly.
2026-03-21 15:20:39 -07:00
Daniel Sogl 15e7ac0c9a chore: remove unused zone.js devDependency
zone.js was listed as a devDependency but is never imported or used
in the source code or build scripts. The Angular partial compilation
does not require it. Consumers decide whether to use zone.js in their
own apps. Also removes the zone.js version constraint from renovate.
2026-03-21 15:17:23 -07:00
Daniel Sogl aaae9fc277 chore: clean up legacy references and unused code
Update renovate.json for current dependencies. Remove Commitizen badge
from README. Replace @ionic-native imports with @awesome-cordova-plugins
in plugin JSDoc examples. Fill in Kommunicate documentation links.
Add modern package exports to published plugin packages. Remove unused
shipit script and release-please scripts.
2026-03-21 15:17:16 -07:00
Daniel Sogl 01f6257ebf ci: modernize GitHub workflows and templates
Update CI workflow: restrict triggers to master+PRs, add concurrency
groups and npm cache. Update release-please and stale workflows to
latest action versions. Replace single ISSUE_TEMPLATE.md with YAML-
based templates (bug report, feature request, config). Rewrite
CONTRIBUTING.md for awesome-cordova-plugins.
2026-03-21 15:17:10 -07:00
Daniel Sogl 61970e4a8b feat: modernize TypeScript configuration
Bump targets from ES2020 to ES2022, update moduleResolution to
"bundler" for tsconfigs (modern standard for bundler-consumed
libraries) and Node16 for build scripts. Remove unused genDir: "aot"
from angularCompilerOptions. Clean up stale .gitignore entries.
2026-03-21 15:17:03 -07:00
Daniel Sogl 120e0f6d23 refactor: replace build dependencies with native Node.js APIs
Replace fs-extra/rimraf with native node:fs, lodash with
structuredClone/spread, ts-node with tsx, minimist with node:util
parseArgs, winston with console logger, async-promise-queue with
native Promise concurrency. Use promisify for child_process.exec.
Normalize all imports to use node: protocol. Extract Jest config to
jest.config.ts and replace ts-jest with @swc/jest.
2026-03-21 15:16:55 -07:00
Daniel Sogl f103f8bdae feat!: replace husky/lint-staged with lefthook v2
Migrate from husky + lint-staged to lefthook v2 for git hooks. Migrate
prettier config from CJS to ESM. Remove commitizen/cz-conventional-
changelog (release-please handles conventional commits).
2026-03-21 15:16:34 -07:00
Daniel Sogl 4e6fb01ab0 feat!: migrate ESLint 8 to ESLint 10 with flat config
Replace legacy .eslintrc with eslint.config.mjs flat config. Update to
ESLint 10, typescript-eslint v8, and eslint-plugin-jsdoc v62. Resolve
all lint warnings and tighten configuration.
2026-03-21 15:16:26 -07:00
Daniel Sogl 76b4e03d04 feat!: replace dgeni/gulp with TypeDoc for README generation
Replace the legacy dgeni/gulp documentation pipeline with TypeDoc
and typedoc-plugin-markdown. Generates plugin README files with
extracted @Plugin() decorator metadata. Register custom JSDoc tags
used by plugin source files.
2026-03-21 15:16:18 -07:00
Daniel Sogl a5e3ccd185 feat!: modernize all dependencies
Update all core dependencies to latest versions: Angular 20, TypeScript
5.8, RxJS 7.8, zone.js 0.15. Bump Node.js engine requirement to >=20.
Update all devDependencies to current versions.

BREAKING CHANGE: Requires Node.js 20+ and Angular 20+.
2026-03-21 15:16:05 -07:00
renovate[bot] 60df81e7d0 chore(deps): update dependency lint-staged to ^16.4.0 (#5113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 02:07:03 +00:00
renovate[bot] 2a24341da4 chore(deps): update dependency webpack to ^5.105.4 (#5111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 05:01:47 +00:00
renovate[bot] 656693dbab chore(deps): update dependency lint-staged to ^16.3.2 (#5110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 04:59:43 +00:00
renovate[bot] b94b0dcdf0 chore(deps): update dependency lint-staged to ^16.3.1 (#5109)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-02 14:07:41 +00:00
renovate[bot] 1d7259aad7 chore(deps): update dependency webpack to ^5.105.3 (#5108)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-02 08:58:09 +00:00
renovate[bot] e8758afacb chore(deps): update dependency rollup to ^4.59.0 (#5106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-23 08:43:56 +00:00
renovate[bot] c8689b480d chore(deps): update dependency release-please to ^17.3.0 (#5105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-23 05:19:09 +00:00
renovate[bot] 6b8a319724 chore(deps): update build and bundling tools (#5103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 06:02:36 +00:00
renovate[bot] 97d6d2eafe chore(deps): update dependency release-please to ^17.2.1 (#5102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 06:00:54 +00:00
renovate[bot] 4ddc32a736 chore(deps): update dependency webpack to ^5.105.0 (#5101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-09 04:35:08 +00:00
renovate[bot] 5f28d64e43 chore(deps): update dependency rollup to ^4.57.1 (#5100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 05:33:18 +00:00
renovate[bot] 30c72c47bc chore(deps): update dependency rollup to ^4.56.0 (#5099)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 05:03:09 +00:00
renovate[bot] 09f2522f9f chore(deps): update dependency release-please to ^17.2.0 (#5098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 05:00:30 +00:00
renovate[bot] d097f5563f chore(deps): update dependency rollup to ^4.55.1 (#5094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 05:28:52 +00:00
renovate[bot] effbc46eb9 chore(deps): update build and bundling tools (#5090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-22 07:00:28 +00:00
renovate[bot] 9a487a47f3 chore(deps): update dependency lint-staged to ^16.2.7 (#5087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 08:41:24 +00:00
renovate[bot] 75e6387028 chore(deps): update build and bundling tools (#5086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 05:02:34 +00:00
renovate[bot] d9bbabe605 chore(deps): update dependency rollup to ^4.53.2 (#5085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 04:38:00 +00:00
renovate[bot] 6fe9de5c97 chore(deps): update dependency rollup to ^4.53.1 (#5084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-10 06:44:15 +00:00
renovate[bot] b8f3941e4c chore(deps): update dependency rimraf to ^6.1.0 (#5082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 05:15:07 +00:00
renovate[bot] 722a8af45e chore(deps): update dependency lint-staged to ^16.2.6 (#5081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 06:35:06 +00:00
renovate[bot] 879659b8e6 chore(deps): update build and bundling tools (#5079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 04:57:14 +00:00
renovate[bot] e9bf647ca8 chore(deps): update dependency release-please to ^17.1.3 (#5078)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 09:40:59 +00:00
renovate[bot] c86abb86a2 chore(deps): update dependency lint-staged to ^16.2.4 (#5077)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 04:29:24 +00:00
renovate[bot] 0ef0f74357 chore(deps): update build and bundling tools (#5076)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-06 05:38:02 +00:00
renovate[bot] 0887f9f9e4 chore(deps): update dependency lint-staged to ^16.2.3 (#5075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 11:01:56 +00:00
renovate[bot] 55aabfa4ac chore(deps): update dependency rollup to ^4.52.3 (#5074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 05:38:31 +00:00