Skip to content

Commit

Permalink
chore: update Changes, add Perl5 licenses to match as specified in Ma…
Browse files Browse the repository at this point in the history
…kefile.PL, bump version to v0.3.0
  • Loading branch information
G4Vi committed Dec 11, 2024
1 parent e7b3cfe commit fb010fe
Show file tree
Hide file tree
Showing 12 changed files with 759 additions and 38 deletions.
5 changes: 2 additions & 3 deletions Alien-libextism/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ b) the "Artistic License"

--- The GNU General Public License, Version 1, February 1989 ---

This software is Copyright (c) 2024 by Dylibso.
This software is Copyright (c) 2024 by Dylibso, Inc..

This is free software, licensed under:

Expand Down Expand Up @@ -267,7 +267,7 @@ That's all there is to it!

--- The Artistic License 1.0 ---

This software is Copyright (c) 2024 by Dylibso.
This software is Copyright (c) 2024 by Dylibso, Inc..

This is free software, licensed under:

Expand Down Expand Up @@ -371,4 +371,3 @@ WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The End

7 changes: 7 additions & 0 deletions Extism/Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Revision history for Extism

v0.3.0 2024-12-11
Add per call host context
Add setting fuel_limit to Extism::Plugin->new
Add allow_http_response_headers to Plugin->new to allow plugins
to access http response headers
Add compiled plugin

v0.2.0 2024-10-23
Add configure check to bail out on unsupported platforms
Update to work with latest libextism
Expand Down
373 changes: 373 additions & 0 deletions Extism/LICENSE

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions Extism/lib/Extism.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Extism;
package Extism v0.3.0;

use 5.016;
use strict;
Expand All @@ -8,8 +8,6 @@ use Extism::CompiledPlugin;
use Extism::Plugin;
use Extism::Function ':all';
use Exporter 'import';
use version 0.77;
our $VERSION = qv(v0.2.0);

sub log_custom {
my ($level) = @_;
Expand Down
4 changes: 1 addition & 3 deletions Extism/lib/Extism/CompiledPlugin.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Extism::CompiledPlugin;
package Extism::CompiledPlugin v0.3.0;

use 5.016;
use strict;
Expand All @@ -11,8 +11,6 @@ use Extism::XS qw(
use Exporter 'import';
use Data::Dumper qw(Dumper);
use Devel::Peek qw(Dump);
use version 0.77;
our $VERSION = qv(v0.2.0);

our @EXPORT_OK = qw(BuildPluginNewParams);

Expand Down
5 changes: 1 addition & 4 deletions Extism/lib/Extism/CurrentPlugin.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Extism::CurrentPlugin;
package Extism::CurrentPlugin v0.3.0;

use 5.016;
use strict;
Expand All @@ -11,9 +11,6 @@ use Extism::XS qw(current_plugin_memory
current_plugin_host_context
CopyToPtr);

use version 0.77;
our $VERSION = qv(v0.2.0);

# These functions are only valid within a host function
# instance is set by Extism::Function::host_function_caller_perl, valid only for
# the host function.
Expand Down
6 changes: 1 addition & 5 deletions Extism/lib/Extism/Function.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Extism::Function;
package Extism::Function v0.3.0;

use 5.016;
use strict;
Expand All @@ -12,10 +12,6 @@ use Exporter 'import';
use Carp qw(croak);
use Data::Dumper;

use version 0.77;
our $VERSION = qv(v0.2.0);


use constant {
Extism_I32 => 0,
Extism_I64 => 1,
Expand Down
4 changes: 1 addition & 3 deletions Extism/lib/Extism/Plugin.pm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Extism::Plugin;
package Extism::Plugin v0.3.0;

use 5.016;
use strict;
Expand Down Expand Up @@ -28,8 +28,6 @@ use Data::Dumper qw(Dumper);
use Devel::Peek qw(Dump);
use JSON::PP qw(encode_json);
use Scalar::Util qw(reftype);
use version 0.77;
our $VERSION = qv(v0.2.0);

sub new {
my ($name, $wasm, $options) = @_;
Expand Down
4 changes: 1 addition & 3 deletions Extism/lib/Extism/Plugin/CallException.pm
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package Extism::Plugin::CallException;
package Extism::Plugin::CallException v0.3.0;

use 5.016;
use strict;
use warnings;
use version 0.77;
our $VERSION = qv(v0.2.0);
use Carp qw(croak shortmess);
our @CARP_NOT = qw(Extism::Plugin);
use overload '""' => sub {
Expand Down
4 changes: 1 addition & 3 deletions Extism/lib/Extism/Plugin/CancelHandle.pm
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package Extism::Plugin::CancelHandle;
package Extism::Plugin::CancelHandle v0.3.0;

use 5.016;
use strict;
use warnings;
use Extism::XS qw(plugin_cancel);
use version 0.77;
our $VERSION = qv(v0.2.0);

sub new {
my ($name, $raw_cancel_handle) = @_;
Expand Down
7 changes: 2 additions & 5 deletions Extism/lib/Extism/XS.pm
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
package Extism::XS;

package Extism::XS v0.3.0;
use 5.016;
use strict;
use warnings;
use Exporter 'import';

use version 0.77;
our $VERSION = qv(v0.2.0);

require XSLoader;
our $VERSION;
XSLoader::load('Extism::XS', $VERSION);

our @EXPORT_OK = qw(
Expand Down
Loading

0 comments on commit fb010fe

Please sign in to comment.