Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bring library to feature parity with libextism v1.9.0 #112

Merged
merged 17 commits into from
Dec 5, 2024

Conversation

mhmd-azeez
Copy link
Collaborator

@mhmd-azeez mhmd-azeez commented Nov 20, 2024

Fixes https://github.com/dylibso/xtp/issues/955

This updates the sample apps to use the latest libextism version

  • CompiledPlugin
  • Fuel limit support
  • HTTP Response headers
  • Plugin Reset
  • Plugin ID access
  • Host Context in plugin calls
  • Update docs

Questions:

  1. Do we need a extism_compiled_plugin_new_error_free function (similar to extism_plugin_new_error_free)?
  2. Did we cahnge how we're representing/reading f32/f64 values?
  3. Breaking changes to CurrentPlugin.UserData

@nilslice
Copy link
Member

I think we actually just released 1.9.0

maybe we can take this upgrade opportunity to be sure it's in parity there? or do you want to add the log level stuff via 1.8 first and then another separate update?

@mhmd-azeez mhmd-azeez changed the title upgrade libextism to 1.8.0 upgrade samples to libextism to 1.9.0 Nov 20, 2024
@mhmd-azeez
Copy link
Collaborator Author

Good idea, will try to reach parity in this PR

@mhmd-azeez mhmd-azeez changed the title upgrade samples to libextism to 1.9.0 feat: bring library to feature parity with libextism v1.9.0 Dec 1, 2024
@mhmd-azeez mhmd-azeez marked this pull request as ready for review December 1, 2024 17:43
Copy link
Contributor

@zshipko zshipko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! The README is nice, I will have to port those changes to some of the other SDKs

@mhmd-azeez mhmd-azeez merged commit 3a6d913 into main Dec 5, 2024
3 checks passed
@mhmd-azeez mhmd-azeez deleted the upgrade-libextism branch December 5, 2024 12:48
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.

3 participants