Skip to content

Update changelog and docs for 0.9.4#234

Merged
thiagoesteves merged 5 commits into
mainfrom
thiagoesteves/update-changelog
Jun 22, 2026
Merged

Update changelog and docs for 0.9.4#234
thiagoesteves merged 5 commits into
mainfrom
thiagoesteves/update-changelog

Conversation

@thiagoesteves

@thiagoesteves thiagoesteves commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

🤖 Generated with Claude Code

…cate_valid event

- Fix initialize_notification_manager/0 which was iterating the notifications
  list with Enum.each before calling start_notification_manager/1, causing it
  to receive a single struct instead of the full list and crash.

- Parse the notifications options: key into %Foundation.Yaml.Notification.Options{}
  instead of a plain atomised map, aligning runtime values with the declared @type.
  Convert the nested struct to a plain map when building the Worker so adapters
  can still access options with options[:key].

- Split request_and_import_certificate/2 return into {:ok, :renewed, cert} and
  {:ok, :valid, cert} so certificate_renewed only fires on actual renewals.
  Add a new certificate_valid event that fires when a periodic check finds an
  already-valid certificate, preventing misleading "renewed" notifications.

- Register certificate_valid in @valid_notification_events, document it in all
  adapter modules, add it to dev.exs and the installer YAML templates, and cover
  all changes with new and updated unit tests.
…orted event

When "all" is listed as the sole event in a notifications entry, the YAML parser
now expands it to all entries in @valid_notification_events. This avoids listing
every event explicitly and automatically picks up new events added in the future.

Updated docs (notifications.ex, Yaml.Notification, README.md) and installer YAML
templates to show the "all" usage. Added yaml_test covering the expansion.
@thiagoesteves thiagoesteves changed the title Updating changelog and docs Update changelog and docs for 0.9.4 Jun 22, 2026
@thiagoesteves thiagoesteves merged commit af488a5 into main Jun 22, 2026
10 of 11 checks passed
@thiagoesteves thiagoesteves deleted the thiagoesteves/update-changelog branch June 22, 2026 16:42
@github-project-automation github-project-automation Bot moved this from In Progress to Done in DeployEx Project Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant