Skip to content

Support Version 16#201

Merged
shridarpatil merged 5 commits intomasterfrom
version-16
Mar 23, 2026
Merged

Support Version 16#201
shridarpatil merged 5 commits intomasterfrom
version-16

Conversation

@shridarpatil
Copy link
Owner

No description provided.

- Remove frappe.db.commit() from doc hooks, whitelisted methods, and
  patches (v16 disallows commits in document hooks)
- Defer doc event notifications to after commit via
  frappe.db.after_commit so share keys are persisted before the
  WhatsApp API call is made; falls back to direct call on older Frappe
Frappe v16 requires bounded version ranges for app dependencies.
Add hasattr fallback for frappe.db.after_commit (v16-only API) so
notifications fire directly on v14/v15. Widen dependency to >=14.0.0,<17.0.0.
@shridarpatil shridarpatil merged commit 854760c into master Mar 23, 2026
4 checks passed
@shridarpatil shridarpatil deleted the version-16 branch March 23, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant