Skip to content

JSON Module Support for Elixir 1.18 and CI Environment Updates - #264

Open
michelboaventura wants to merge 1 commit into
akoutmos:masterfrom
michelboaventura:master
Open

JSON Module Support for Elixir 1.18 and CI Environment Updates#264
michelboaventura wants to merge 1 commit into
akoutmos:masterfrom
michelboaventura:master

Conversation

@michelboaventura

Copy link
Copy Markdown

This PR introduces conditional JSON handling and updates our CI environment:

  • Adds a new PromEx.JSON module that automatically uses Elixir 1.18's built-in JSON module when available, falling back to Jason otherwise
  • Makes the Jason dependency optional
  • Adds Elixir 1.18 to the testing matrix
  • Updates actions/cache action to v4

Change description

What problem does this solve?

Issue number: (if applicable)

Example usage

Additional details and screenshots

Checklist

  • I have added unit tests to cover my changes.
  • I have added documentation to cover my changes.
  • My changes have passed unit tests and have been tested E2E in an example project.

 This PR introduces conditional JSON handling and updates our CI environment:

* Adds a new PromEx.JSON module that automatically uses Elixir 1.18's built-in JSON module when available, falling back to Jason otherwise
* Makes the Jason dependency optional
* Adds Elixir 1.18 to the testing matrix
* Updates `actions/cache` action to v4
@michelboaventura

Copy link
Copy Markdown
Author

hey @akoutmos do you think this approach is a good one for we to start using JSON on the lib? Thanks!

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