Skip to content

feat: update plugin to new Nova format - #16

Merged
Taure merged 4 commits into
masterfrom
feat/update-plugin-format
Mar 18, 2026
Merged

feat: update plugin to new Nova format#16
Taure merged 4 commits into
masterfrom
feat/update-plugin-format

Conversation

@Taure

@Taure Taure commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace thoas with Erlang/OTP json module
  • Update pre_request/post_request to 4-arity callbacks matching current nova_plugin behaviour
  • Add init/0 callback to start jesse database and preload schemas
  • Update plugin_info to return a map instead of a tuple

Taure added 3 commits March 18, 2026 07:43
Use json:encode/1 and json:decode/1 directly instead of the
configurable json_lib approach via nova:get_env. The json_lib
config option was removed from Nova.
Update pre_request/post_request to 4-arity callbacks matching
the current nova_plugin behaviour. Update plugin_info to return
a map instead of a tuple.
@github-actions

github-actions Bot commented Mar 18, 2026

Copy link
Copy Markdown

🛡️ Security Audit

No vulnerabilities found in 9 dependencies.


ℹ️ 1 OTP CVE auto-ignored (already fixed in running version)

These CVEs are patched in the installed OTP version but NVD data
has not been updated to reflect this. They are excluded from the
scan via an auto-generated .trivyignore.

CVE Details
CVE-2025-4748 Fixed in 28.0.1, running 28.0.1 — Absolute Path in Zip Module

- Bump nova dep to 0.13.7 (matches 4-arity plugin API)
- Add xref_ignores for init/0, pre_request/4, post_request/4
- Apply erlfmt formatting
@Taure
Taure merged commit ab3ca9e into master Mar 18, 2026
16 checks passed
@Taure
Taure deleted the feat/update-plugin-format branch March 18, 2026 07:24
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