Skip to content

Merge into 21R4 branch#118

Merged
yannicktrinh merged 9 commits into
21R4from
main
Jun 30, 2026
Merged

Merge into 21R4 branch#118
yannicktrinh merged 9 commits into
21R4from
main

Conversation

@yannicktrinh

Copy link
Copy Markdown
Contributor

No description provided.

[Bug]: no error thrown when the server is started in TLS v1.3
#22761

Microsoft Graph webhook subscriptions require the notification endpoint
to accept TLS 1.2 connections. If the host web server is already running
with minTLSVersion set above TLSv1.2 (e.g. TLSv1.3 only), Graph
subscription callbacks silently fail during validation with no
actionable error message.

Changes:
- _NotificationHelper.ensureWebServer: when reusing the host HTTPS
  server, check that minTLSVersion <= TLSv1_2; return
  {success: False; tlsVersionInsufficient: True} otherwise
- GraphNotification._startPush, GoogleNotification._startCalendarPush,
  GoogleNotification._startMailPush: distinguish tlsVersionInsufficient
  from a port-conflict and raise error 18 instead of error 7
- Add ERR_4DNK_18 to all six localization files (EN, FR, DE, ES, JA, PT)
…ons for improved readability and performance
…cond argument.

GoogleNotification already supported labelIds, but the value was never propagated from GoogleMail.notifier.

- add support for Google.mail.notifier(param; labelId)
- map labelId to param.labelIds (initialize when needed)
- prevent duplicates in labelIds
- keep Google.calendar.notifier(param; calendarId) behavior unchanged
- update notification docs (signatures and examples)

Fixes #22966
… pull mode (#22967)

Fixes a bug where the expiration attribute could be returned in timer (pull) mode.

- Keep expirationMs as a numeric source of truth
- Convert to GMT ISO datetime string only in the expiration getter
- Add validation to prevent silent fallback to pull when Gmail is configured with endPoint but without topicName
- Explicitly reset expiration when starting in pull mode
- Add defensive guardrails: never assign expiration in pull mode, and always return empty expiration in pull mode

Issue: #22967
Fixes: #22967
- Changed parameter syntax for notifier methods in Google and Graph sections to use curly braces for object parameters.
@yannicktrinh yannicktrinh merged commit f8a8f8f into 21R4 Jun 30, 2026
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant