diff --git a/Changes b/Changes index 9ccbf28..c20f72a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Net::Etcd +0.009 +[ ENHANCEMENTS ] + * Add intial support for Txn + * Add changepw support for users to change password. + 0.008 [ ANNOUNCEMENT ] * Namespace change Etcd3 is now Net::Etcd diff --git a/README b/README index cfb46ab..c3ffa68 100644 --- a/README +++ b/README @@ -82,6 +82,9 @@ PUBLIC METHODS range Returns a Net::Etcd::KV::Range object. + txn + Returns a Net::Etcd::KV::Txn object. + configuration Initialize configuration checks to see it etcd is installed locally. diff --git a/README.md b/README.md index 417019d..cbb2916 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,10 @@ Returns a [Net::Etcd::KV::Put](https://metacpan.org/pod/Net::Etcd::KV::Put) obje Returns a [Net::Etcd::KV::Range](https://metacpan.org/pod/Net::Etcd::KV::Range) object. +## txn + +Returns a [Net::Etcd::KV::Txn](https://metacpan.org/pod/Net::Etcd::KV::Txn) object. + ## configuration Initialize configuration checks to see it etcd is installed locally. diff --git a/lib/Net/Etcd.pm b/lib/Net/Etcd.pm index 0a6b7e3..d9df180 100644 --- a/lib/Net/Etcd.pm +++ b/lib/Net/Etcd.pm @@ -27,7 +27,7 @@ Net::Etcd =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 SYNOPSIS diff --git a/lib/Net/Etcd/Auth.pm b/lib/Net/Etcd/Auth.pm index 80a447b..71786c4 100644 --- a/lib/Net/Etcd/Auth.pm +++ b/lib/Net/Etcd/Auth.pm @@ -24,7 +24,7 @@ Net::Etcd::Auth =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Auth/Role.pm b/lib/Net/Etcd/Auth/Role.pm index 3cb39bb..8c0a01c 100644 --- a/lib/Net/Etcd/Auth/Role.pm +++ b/lib/Net/Etcd/Auth/Role.pm @@ -20,7 +20,7 @@ Net::Etcd::Auth::Role =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Config.pm b/lib/Net/Etcd/Config.pm index 93adbfc..8705ac8 100644 --- a/lib/Net/Etcd/Config.pm +++ b/lib/Net/Etcd/Config.pm @@ -13,7 +13,7 @@ Net::Etcd::Config =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 ACCESSORS diff --git a/lib/Net/Etcd/KV.pm b/lib/Net/Etcd/KV.pm index ec94684..8c8ae57 100644 --- a/lib/Net/Etcd/KV.pm +++ b/lib/Net/Etcd/KV.pm @@ -21,7 +21,7 @@ Net::Etcd::KV =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/KV/Put.pm b/lib/Net/Etcd/KV/Put.pm index 52bb32b..e35aefd 100644 --- a/lib/Net/Etcd/KV/Put.pm +++ b/lib/Net/Etcd/KV/Put.pm @@ -19,7 +19,7 @@ Net::Etcd::Put =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/KV/Range.pm b/lib/Net/Etcd/KV/Range.pm index ccdcece..881bed4 100644 --- a/lib/Net/Etcd/KV/Range.pm +++ b/lib/Net/Etcd/KV/Range.pm @@ -20,7 +20,7 @@ Net::Etcd::Range =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/KV/Txn.pm b/lib/Net/Etcd/KV/Txn.pm index 9cfa7a5..b5c50a4 100644 --- a/lib/Net/Etcd/KV/Txn.pm +++ b/lib/Net/Etcd/KV/Txn.pm @@ -20,7 +20,7 @@ Net::Etcd::KV::Txn =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Lease.pm b/lib/Net/Etcd/Lease.pm index df37b53..ca50bc0 100644 --- a/lib/Net/Etcd/Lease.pm +++ b/lib/Net/Etcd/Lease.pm @@ -20,7 +20,7 @@ Net::Etcd::Lease =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Role/Actions.pm b/lib/Net/Etcd/Role/Actions.pm index f6618ea..6f18a14 100644 --- a/lib/Net/Etcd/Role/Actions.pm +++ b/lib/Net/Etcd/Role/Actions.pm @@ -22,7 +22,7 @@ Net::Etcd::Role::Actions =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; has etcd => ( is => 'ro', diff --git a/lib/Net/Etcd/User.pm b/lib/Net/Etcd/User.pm index b8a5b5a..9648467 100644 --- a/lib/Net/Etcd/User.pm +++ b/lib/Net/Etcd/User.pm @@ -20,7 +20,7 @@ Net::Etcd::User =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/User/Role.pm b/lib/Net/Etcd/User/Role.pm index 196ff40..438dac0 100644 --- a/lib/Net/Etcd/User/Role.pm +++ b/lib/Net/Etcd/User/Role.pm @@ -17,7 +17,7 @@ Net::Etcd::User::Role =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Watch.pm b/lib/Net/Etcd/Watch.pm index 8274c6c..34eefa5 100644 --- a/lib/Net/Etcd/Watch.pm +++ b/lib/Net/Etcd/Watch.pm @@ -20,7 +20,7 @@ Net::Etcd::Range =cut -our $VERSION = '0.008'; +our $VERSION = '0.009'; =head1 DESCRIPTION