From e1260541acc8bcf5a9a5b2c9f9c80efba0217379 Mon Sep 17 00:00:00 2001 From: jonasbn Date: Fri, 9 Jul 2021 22:17:41 +0200 Subject: [PATCH 1/3] Preparing release 1.55 --- Changes.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index 383df615..cfc1b8bb 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,25 @@ # Revision history for the Workflow Perl Distribution +## DEPRECATION NOTICE + +- With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underlines this fact. + +SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow. + +## 1.55 2021-07-09 Minor feature release, update not required + +- PR [#119](https://github.com/jonasbn/perl-workflow/pull/119) adds capability of configuring custom workflow classes addressing issue [#107](https://github.com/jonasbn/perl-workflow/issues/107) + +- Simplified logging handing in code base via PR [#108](https://github.com/jonasbn/perl-workflow/pull/108) investigation into possible performance issue described in [#89](https://github.com/jonasbn/perl-workflow/issues/89) determined penalty to be insignificant + +- `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements was is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix + +- Issue with broken support action attribute specified in the state config has been addressed via PR [#123](https://github.com/jonasbn/perl-workflow/pull/123) described in issue [#113](https://github.com/jonasbn/perl-workflow/issues/113) + +- A warning emitted from the test suite has been addressed via PR [#115](https://github.com/jonasbn/perl-workflow/pull/115) + +- A timing issue observed with the Travis CI setup have been addressed in PR [#112](https://github.com/jonasbn/perl-workflow/pull/112) + ## 1.54 2021-04-25 Minor feature release, update not required - The existing private API: `Workflow->_get_action()` has been made public as: `get_action()` via PR [#56](https://github.com/jonasbn/perl-workflow/pull/56) addressing issue [#54](https://github.com/jonasbn/perl-workflow/issues/54), a private version is still available as `_get_action()` ensuring backwards compatibility. The change should improve and ease implementations where actions are consumed @@ -25,13 +45,13 @@ - Improvements to Dist::Zilla config, only ExtUtils::MakeMaker supported via Dist::Zilla now. Module::Build support having been removed. See the [article by Neil Bowers](https://neilb.org/2015/05/18/two-build-files-considered-harmful.html) (NEILB) on the topic. Thanks to Karen Etheridge (ETHER) for information and link to the above-mentioned article (issue [#93](https://github.com/jonasbn/perl-workflow/issues/95), resolved via PR [#98](https://github.com/jonasbn/perl-workflow/pull/98)) -- Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99)) +- Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99)) - Some URLs fixed via PR [#97](https://github.com/jonasbn/perl-workflow/pull/97), thanks to Michiel W. Beijen for the contribution - More unit-tests added via PR [#94](https://github.com/jonasbn/perl-workflow/pull/94), continued work on issue [#36](https://github.com/jonasbn/perl-workflow/pull/94) improving test coverage -## 1.51 2021-01-31 Bug fix release, update recommended +## 1.51 2021-01-31 Bug fix release, update recommended - Addressed bug/issue [#10](https://github.com/jonasbn/perl-workflow/issues/10) of failing observers test, ref PR [#61](https://github.com/jonasbn/perl-workflow/pull/61). Documentation also updated accordingly via PR [#66](https://github.com/jonasbn/perl-workflow/pull/66) From 903854310880b96e9739c3be18092fe5a67d8ada Mon Sep 17 00:00:00 2001 From: jonasbn Date: Fri, 9 Jul 2021 22:18:07 +0200 Subject: [PATCH 2/3] Bumped version numbers --- lib/Workflow.pm | 4 ++-- lib/Workflow/Action.pm | 4 ++-- lib/Workflow/Action/InputField.pm | 4 ++-- lib/Workflow/Action/Mailer.pm | 4 ++-- lib/Workflow/Action/Null.pm | 4 ++-- lib/Workflow/Base.pm | 4 ++-- lib/Workflow/Condition.pm | 4 ++-- lib/Workflow/Condition/CheckReturn.pm | 4 ++-- lib/Workflow/Condition/Evaluate.pm | 4 ++-- lib/Workflow/Condition/GreedyOR.pm | 4 ++-- lib/Workflow/Condition/HasUser.pm | 4 ++-- lib/Workflow/Condition/LazyAND.pm | 4 ++-- lib/Workflow/Condition/LazyOR.pm | 4 ++-- lib/Workflow/Condition/Negated.pm | 4 ++-- lib/Workflow/Condition/Nested.pm | 4 ++-- lib/Workflow/Config.pm | 4 ++-- lib/Workflow/Config/Perl.pm | 4 ++-- lib/Workflow/Config/XML.pm | 4 ++-- lib/Workflow/Context.pm | 4 ++-- lib/Workflow/Exception.pm | 4 ++-- lib/Workflow/Factory.pm | 4 ++-- lib/Workflow/History.pm | 4 ++-- lib/Workflow/Persister.pm | 4 ++-- lib/Workflow/Persister/DBI.pm | 4 ++-- lib/Workflow/Persister/DBI/AutoGeneratedId.pm | 4 ++-- lib/Workflow/Persister/DBI/ExtraData.pm | 4 ++-- lib/Workflow/Persister/DBI/SequenceId.pm | 4 ++-- lib/Workflow/Persister/File.pm | 4 ++-- lib/Workflow/Persister/RandomId.pm | 4 ++-- lib/Workflow/Persister/SPOPS.pm | 4 ++-- lib/Workflow/Persister/UUID.pm | 4 ++-- lib/Workflow/State.pm | 6 +++--- lib/Workflow/Validator.pm | 4 ++-- lib/Workflow/Validator/HasRequiredField.pm | 4 ++-- lib/Workflow/Validator/InEnumeratedType.pm | 4 ++-- lib/Workflow/Validator/MatchesDateFormat.pm | 4 ++-- 36 files changed, 73 insertions(+), 73 deletions(-) diff --git a/lib/Workflow.pm b/lib/Workflow.pm index c8892bea..72eec59c 100644 --- a/lib/Workflow.pm +++ b/lib/Workflow.pm @@ -16,7 +16,7 @@ my @FIELDS = qw( id type description state last_update time_zone ); my @INTERNAL = qw( _factory _observers ); __PACKAGE__->mk_accessors( @FIELDS, @INTERNAL ); -$Workflow::VERSION = '1.54'; +$Workflow::VERSION = '1.55'; use constant NO_CHANGE_VALUE => 'NOCHANGE'; @@ -377,7 +377,7 @@ Workflow - Simple, flexible system to implement workflows =head1 VERSION -This documentation describes version 1.54 of Workflow +This documentation describes version 1.55 of Workflow =head1 SYNOPSIS diff --git a/lib/Workflow/Action.pm b/lib/Workflow/Action.pm index 7738d031..eed0dbc8 100644 --- a/lib/Workflow/Action.pm +++ b/lib/Workflow/Action.pm @@ -12,7 +12,7 @@ use Workflow::Validator::HasRequiredField; use Workflow::Factory qw( FACTORY ); use Carp qw(croak); -$Workflow::Action::VERSION = '1.54'; +$Workflow::Action::VERSION = '1.55'; my @PROPS = qw( name class description ); my @INTERNAL = qw( _factory ); @@ -166,7 +166,7 @@ Workflow::Action - Base class for Workflow actions =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Action/InputField.pm b/lib/Workflow/Action/InputField.pm index 38330c24..2f91ccef 100644 --- a/lib/Workflow/Action/InputField.pm +++ b/lib/Workflow/Action/InputField.pm @@ -7,7 +7,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error ); use English qw( -no_match_vars ); -$Workflow::Action::InputField::VERSION = '1.54'; +$Workflow::Action::InputField::VERSION = '1.55'; my @PROPS = qw( name label description type requirement source_class source_list class ); @@ -121,7 +121,7 @@ Workflow::Action::InputField - Metadata about information required by an Action =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Action/Mailer.pm b/lib/Workflow/Action/Mailer.pm index 6440774b..50b54871 100644 --- a/lib/Workflow/Action/Mailer.pm +++ b/lib/Workflow/Action/Mailer.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Workflow::Action ); -$Workflow::Action::Mailer::VERSION = '1.54'; +$Workflow::Action::Mailer::VERSION = '1.55'; sub execute { my ($self) = @_; @@ -23,7 +23,7 @@ Workflow::Action::Mailer - a stub for a SMTP capable action =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Action/Null.pm b/lib/Workflow/Action/Null.pm index 44828e93..9e412a50 100644 --- a/lib/Workflow/Action/Null.pm +++ b/lib/Workflow/Action/Null.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Workflow::Action ); -$Workflow::Action::Null::VERSION = '1.54'; +$Workflow::Action::Null::VERSION = '1.55'; sub execute { my ($self) = @_; @@ -23,7 +23,7 @@ Workflow::Action::Null - Workflow action for the terminally lazy =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Base.pm b/lib/Workflow/Base.pm index 75a3b338..e693393b 100644 --- a/lib/Workflow/Base.pm +++ b/lib/Workflow/Base.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Class::Accessor ); use Log::Log4perl; -$Workflow::Base::VERSION = '1.54'; +$Workflow::Base::VERSION = '1.55'; sub new { my ( $class, @params ) = @_; @@ -102,7 +102,7 @@ Workflow::Base - Base class with constructor =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition.pm b/lib/Workflow/Condition.pm index 2b42c850..ac2fa3b0 100644 --- a/lib/Workflow/Condition.pm +++ b/lib/Workflow/Condition.pm @@ -9,7 +9,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( workflow_error condition_error ); $Workflow::Condition::CACHE_RESULTS = 1; -$Workflow::Condition::VERSION = '1.54'; +$Workflow::Condition::VERSION = '1.55'; my $log; my @FIELDS = qw( name class ); @@ -117,7 +117,7 @@ Workflow::Condition - Evaluate a condition depending on the workflow state and e =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition/CheckReturn.pm b/lib/Workflow/Condition/CheckReturn.pm index 9c8180a4..4b0aaf76 100644 --- a/lib/Workflow/Condition/CheckReturn.pm +++ b/lib/Workflow/Condition/CheckReturn.pm @@ -3,7 +3,7 @@ package Workflow::Condition::CheckReturn; use strict; use warnings; -our $VERSION = '1.54'; +our $VERSION = '1.55'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -90,7 +90,7 @@ Workflow::Condition::CheckReturn =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/Evaluate.pm b/lib/Workflow/Condition/Evaluate.pm index ee8b8092..4db03fe8 100644 --- a/lib/Workflow/Condition/Evaluate.pm +++ b/lib/Workflow/Condition/Evaluate.pm @@ -8,7 +8,7 @@ use Safe; use Workflow::Exception qw( condition_error configuration_error ); use English qw( -no_match_vars ); -$Workflow::Condition::Evaluate::VERSION = '1.54'; +$Workflow::Condition::Evaluate::VERSION = '1.55'; my @FIELDS = qw( test ); __PACKAGE__->mk_accessors(@FIELDS); @@ -68,7 +68,7 @@ Workflow::Condition::Evaluate - Inline condition that evaluates perl code for tr =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition/GreedyOR.pm b/lib/Workflow/Condition/GreedyOR.pm index 7b60c249..0b7ac248 100644 --- a/lib/Workflow/Condition/GreedyOR.pm +++ b/lib/Workflow/Condition/GreedyOR.pm @@ -3,7 +3,7 @@ package Workflow::Condition::GreedyOR; use strict; use warnings; -our $VERSION = '1.54'; +our $VERSION = '1.55'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -57,7 +57,7 @@ Workflow::Condition::GreedyOR =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/HasUser.pm b/lib/Workflow/Condition/HasUser.pm index e17c0660..d79e7409 100644 --- a/lib/Workflow/Condition/HasUser.pm +++ b/lib/Workflow/Condition/HasUser.pm @@ -6,7 +6,7 @@ use base qw( Workflow::Condition ); use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( condition_error ); -$Workflow::Condition::HasUser::VERSION = '1.54'; +$Workflow::Condition::HasUser::VERSION = '1.55'; my $DEFAULT_USER_KEY = 'current_user'; @@ -41,7 +41,7 @@ Workflow::Condition::HasUser - Condition to determine if a user is available =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition/LazyAND.pm b/lib/Workflow/Condition/LazyAND.pm index cfe98986..8ac195f1 100644 --- a/lib/Workflow/Condition/LazyAND.pm +++ b/lib/Workflow/Condition/LazyAND.pm @@ -3,7 +3,7 @@ package Workflow::Condition::LazyAND; use strict; use warnings; -our $VERSION = '1.54'; +our $VERSION = '1.55'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -57,7 +57,7 @@ Workflow::Condition::LazyAND =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/LazyOR.pm b/lib/Workflow/Condition/LazyOR.pm index 6f4b044b..2c68648d 100644 --- a/lib/Workflow/Condition/LazyOR.pm +++ b/lib/Workflow/Condition/LazyOR.pm @@ -3,7 +3,7 @@ package Workflow::Condition::LazyOR; use strict; use warnings; -our $VERSION = '1.54'; +our $VERSION = '1.55'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -55,7 +55,7 @@ Workflow::Condition::LazyOR =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/Negated.pm b/lib/Workflow/Condition/Negated.pm index 6e38e69a..20a3afd8 100644 --- a/lib/Workflow/Condition/Negated.pm +++ b/lib/Workflow/Condition/Negated.pm @@ -3,7 +3,7 @@ package Workflow::Condition::Negated; use strict; use warnings; -our $VERSION = '1.54'; +our $VERSION = '1.55'; use base qw( Workflow::Condition ); @@ -36,7 +36,7 @@ Workflow::Condition::Negated - Negate workflow condition result =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/Nested.pm b/lib/Workflow/Condition/Nested.pm index eeff07ef..9a1cf19c 100644 --- a/lib/Workflow/Condition/Nested.pm +++ b/lib/Workflow/Condition/Nested.pm @@ -3,7 +3,7 @@ package Workflow::Condition::Nested; use strict; use warnings; -our $VERSION = '1.54'; +our $VERSION = '1.55'; use base qw( Workflow::Condition ); @@ -19,7 +19,7 @@ Workflow::Condition::Nested - Evaluate nested workflow conditions =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Config.pm b/lib/Workflow/Config.pm index db0e6f62..78dbb4c4 100644 --- a/lib/Workflow/Config.pm +++ b/lib/Workflow/Config.pm @@ -7,7 +7,7 @@ use Data::Dumper qw( Dumper ); use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error ); -$Workflow::Config::VERSION = '1.54'; +$Workflow::Config::VERSION = '1.55'; # Map the valid type to the top-level XML tag or data # structure to look for. @@ -114,7 +114,7 @@ Workflow::Config - Parse configuration files for the workflow components =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Config/Perl.pm b/lib/Workflow/Config/Perl.pm index 768a9cb2..4d924d9c 100644 --- a/lib/Workflow/Config/Perl.pm +++ b/lib/Workflow/Config/Perl.pm @@ -8,7 +8,7 @@ use Workflow::Exception qw( configuration_error ); use Data::Dumper qw( Dumper ); use English qw( -no_match_vars ); -$Workflow::Config::Perl::VERSION = '1.54'; +$Workflow::Config::Perl::VERSION = '1.55'; sub parse { my ( $self, $type, @items ) = @_; @@ -104,7 +104,7 @@ Workflow::Config::Perl - Parse workflow configurations as Perl data structures =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Config/XML.pm b/lib/Workflow/Config/XML.pm index 51f1ae39..e0e83d05 100644 --- a/lib/Workflow/Config/XML.pm +++ b/lib/Workflow/Config/XML.pm @@ -8,7 +8,7 @@ use Workflow::Exception qw( configuration_error ); use Carp qw(croak); use English qw( -no_match_vars ); -$Workflow::Config::XML::VERSION = '1.54'; +$Workflow::Config::XML::VERSION = '1.55'; my ($log); @@ -107,7 +107,7 @@ Workflow::Config::XML - Parse workflow configurations from XML content =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Context.pm b/lib/Workflow/Context.pm index 3dc81440..78e8274a 100644 --- a/lib/Workflow/Context.pm +++ b/lib/Workflow/Context.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Workflow::Base ); -$Workflow::Context::VERSION = '1.54'; +$Workflow::Context::VERSION = '1.55'; sub merge { my ( $self, $other ) = @_; @@ -26,7 +26,7 @@ Workflow::Context - Data blackboard for Workflows, Actions, Conditions and Valid =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Exception.pm b/lib/Workflow/Exception.pm index f2f4aefa..b1b1593a 100644 --- a/lib/Workflow/Exception.pm +++ b/lib/Workflow/Exception.pm @@ -44,7 +44,7 @@ my %TYPE_LOGGING = ( ); -$Workflow::Exception::VERSION = '1.54'; +$Workflow::Exception::VERSION = '1.55'; @Workflow::Exception::ISA = qw( Exporter Exception::Class::Base ); @Workflow::Exception::EXPORT_OK = keys %TYPE_CLASSES; @@ -129,7 +129,7 @@ Workflow::Exception - Base class for workflow exceptions =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Factory.pm b/lib/Workflow/Factory.pm index 7c555885..5065c57c 100644 --- a/lib/Workflow/Factory.pm +++ b/lib/Workflow/Factory.pm @@ -8,7 +8,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error workflow_error ); use Carp qw(croak); use English qw( -no_match_vars ); -$Workflow::Factory::VERSION = '1.54'; +$Workflow::Factory::VERSION = '1.55'; # Extra action attribute validation is off by default for compatibility. our $VALIDATE_ACTION_CONFIG = 0; @@ -811,7 +811,7 @@ Workflow::Factory - Generates new workflow and supporting objects =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/History.pm b/lib/Workflow/History.pm index 3d69895a..e1127ca7 100644 --- a/lib/Workflow/History.pm +++ b/lib/Workflow/History.pm @@ -5,7 +5,7 @@ use strict; use base qw( Class::Accessor ); use DateTime; -$Workflow::History::VERSION = '1.54'; +$Workflow::History::VERSION = '1.55'; my @FIELDS = qw( id workflow_id action description date user state time_zone ); @@ -66,7 +66,7 @@ Workflow::History - Recorded work on a workflow action or workflow itself =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister.pm b/lib/Workflow/Persister.pm index d8e47189..86103dd2 100644 --- a/lib/Workflow/Persister.pm +++ b/lib/Workflow/Persister.pm @@ -9,7 +9,7 @@ use Workflow::Exception qw( persist_error ); use constant DEFAULT_ID_LENGTH => 8; -$Workflow::Persister::VERSION = '1.54'; +$Workflow::Persister::VERSION = '1.55'; my @FIELDS = qw( name class use_random use_uuid @@ -160,7 +160,7 @@ Workflow::Persister - Base class for workflow persistence =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI.pm b/lib/Workflow/Persister/DBI.pm index ff7c69b7..bf4e91b9 100644 --- a/lib/Workflow/Persister/DBI.pm +++ b/lib/Workflow/Persister/DBI.pm @@ -15,7 +15,7 @@ use Workflow::Persister::DBI::SequenceId; use Carp qw(croak); use English qw( -no_match_vars ); -$Workflow::Persister::DBI::VERSION = '1.54'; +$Workflow::Persister::DBI::VERSION = '1.55'; my @FIELDS = qw( _wf_fields _hist_fields handle dsn user password driver workflow_table history_table date_format parser autocommit); @@ -459,7 +459,7 @@ Workflow::Persister::DBI - Persist workflow and history to DBI database =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI/AutoGeneratedId.pm b/lib/Workflow/Persister/DBI/AutoGeneratedId.pm index 2cb24ba6..5ac099e2 100644 --- a/lib/Workflow/Persister/DBI/AutoGeneratedId.pm +++ b/lib/Workflow/Persister/DBI/AutoGeneratedId.pm @@ -6,7 +6,7 @@ use base qw( Class::Accessor ); use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error ); -$Workflow::Persister::DBI::AutoGeneratedId::VERSION = '1.54'; +$Workflow::Persister::DBI::AutoGeneratedId::VERSION = '1.55'; my @FIELDS = qw( log from_handle handle_property func_property ); __PACKAGE__->mk_accessors(@FIELDS); @@ -65,7 +65,7 @@ Workflow::Persister::DBI::AutoGeneratedId - Pull IDs from databases that autogen =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI/ExtraData.pm b/lib/Workflow/Persister/DBI/ExtraData.pm index f355d2d9..ee967a1a 100644 --- a/lib/Workflow/Persister/DBI/ExtraData.pm +++ b/lib/Workflow/Persister/DBI/ExtraData.pm @@ -7,7 +7,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error persist_error ); use English qw( -no_match_vars ); -$Workflow::Persister::DBI::ExtraData::VERSION = '1.54'; +$Workflow::Persister::DBI::ExtraData::VERSION = '1.55'; my @FIELDS = qw( table data_field context_key ); __PACKAGE__->mk_accessors(@FIELDS); @@ -104,7 +104,7 @@ Workflow::Persister::DBI::ExtraData - Fetch extra data with each workflow and pu =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI/SequenceId.pm b/lib/Workflow/Persister/DBI/SequenceId.pm index 57257903..4fbabcbc 100644 --- a/lib/Workflow/Persister/DBI/SequenceId.pm +++ b/lib/Workflow/Persister/DBI/SequenceId.pm @@ -8,7 +8,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( persist_error ); use English qw( -no_match_vars ); -$Workflow::Persister::DBI::SequenceId::VERSION = '1.54'; +$Workflow::Persister::DBI::SequenceId::VERSION = '1.55'; my @FIELDS = qw( log sequence_name sequence_select ); __PACKAGE__->mk_accessors(@FIELDS); @@ -53,7 +53,7 @@ Workflow::Persister::DBI::SequenceId - Persister to fetch ID from a sequence =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/File.pm b/lib/Workflow/Persister/File.pm index b7f05fb2..1959b879 100644 --- a/lib/Workflow/Persister/File.pm +++ b/lib/Workflow/Persister/File.pm @@ -11,7 +11,7 @@ use Workflow::Persister::RandomId; use File::Slurp qw(slurp); use English qw( -no_match_vars ); -$Workflow::Persister::File::VERSION = '1.54'; +$Workflow::Persister::File::VERSION = '1.55'; my @FIELDS = qw( path ); __PACKAGE__->mk_accessors(@FIELDS); @@ -178,7 +178,7 @@ Workflow::Persister::File - Persist workflow and history to the filesystem =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/RandomId.pm b/lib/Workflow/Persister/RandomId.pm index 4d646ba1..2e0356ff 100644 --- a/lib/Workflow/Persister/RandomId.pm +++ b/lib/Workflow/Persister/RandomId.pm @@ -8,7 +8,7 @@ use constant DEFAULT_ID_LENGTH => 8; use constant RANDOM_SEED => 26; use constant CONSTANT_INCREMENT => 65; -$Workflow::Persister::RandomId::VERSION = '1.54'; +$Workflow::Persister::RandomId::VERSION = '1.55'; my @FIELDS = qw( id_length ); __PACKAGE__->mk_accessors(@FIELDS); @@ -42,7 +42,7 @@ Workflow::Persister::RandomId - Persister to generate random ID =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/SPOPS.pm b/lib/Workflow/Persister/SPOPS.pm index 4b9905f3..e7227dfe 100644 --- a/lib/Workflow/Persister/SPOPS.pm +++ b/lib/Workflow/Persister/SPOPS.pm @@ -8,7 +8,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error persist_error ); use English qw( -no_match_vars ); -$Workflow::Persister::SPOPS::VERSION = '1.54'; +$Workflow::Persister::SPOPS::VERSION = '1.55'; my @FIELDS = qw( workflow_class history_class ); __PACKAGE__->mk_accessors(@FIELDS); @@ -143,7 +143,7 @@ Workflow::Persister::SPOPS - Persist workflows using SPOPS =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/UUID.pm b/lib/Workflow/Persister/UUID.pm index 60482a9e..65fad010 100644 --- a/lib/Workflow/Persister/UUID.pm +++ b/lib/Workflow/Persister/UUID.pm @@ -4,7 +4,7 @@ use warnings; use strict; use Data::UUID; -$Workflow::Persister::UUID::VERSION = '1.54'; +$Workflow::Persister::UUID::VERSION = '1.55'; sub new { my ( $class, $params ) = @_; @@ -31,7 +31,7 @@ Workflow::Persister::UUID - Persister to generate Universally Unique Identifiers =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/State.pm b/lib/Workflow/State.pm index a2aa9e21..78a9bbcb 100644 --- a/lib/Workflow/State.pm +++ b/lib/Workflow/State.pm @@ -11,7 +11,7 @@ use Exception::Class; use Workflow::Factory qw( FACTORY ); use English qw( -no_match_vars ); -$Workflow::State::VERSION = '1.54'; +$Workflow::State::VERSION = '1.55'; my @FIELDS = qw( state description type ); my @INTERNAL = qw( _test_condition_count _factory ); @@ -344,7 +344,7 @@ Workflow::State - Information about an individual state in a workflow =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS @@ -494,7 +494,7 @@ Returns name of action to be used for autorunning the state. =head3 clear_condition_cache ( ) -Deprecated, kept for 1.54 compatibility. +Deprecated, kept for 1.55 compatibility. Used to empties the condition result cache for a given state. diff --git a/lib/Workflow/Validator.pm b/lib/Workflow/Validator.pm index 66c988d8..fcdb25ac 100644 --- a/lib/Workflow/Validator.pm +++ b/lib/Workflow/Validator.pm @@ -5,7 +5,7 @@ use strict; use base qw( Workflow::Base ); use Carp qw(croak); -$Workflow::Validator::VERSION = '1.54'; +$Workflow::Validator::VERSION = '1.55'; my @FIELDS = qw( name class ); __PACKAGE__->mk_accessors(@FIELDS); @@ -43,7 +43,7 @@ Workflow::Validator - Ensure data are valid =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Validator/HasRequiredField.pm b/lib/Workflow/Validator/HasRequiredField.pm index bfbe9b19..da230987 100644 --- a/lib/Workflow/Validator/HasRequiredField.pm +++ b/lib/Workflow/Validator/HasRequiredField.pm @@ -5,7 +5,7 @@ use strict; use base qw( Workflow::Validator ); use Workflow::Exception qw( validation_error ); -$Workflow::Validator::HasRequiredField::VERSION = '1.54'; +$Workflow::Validator::HasRequiredField::VERSION = '1.55'; sub validate { my ( $self, $wf, @required_fields ) = @_; @@ -34,7 +34,7 @@ Workflow::Validator::HasRequiredField - Validator to ensure certain data are in =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Validator/InEnumeratedType.pm b/lib/Workflow/Validator/InEnumeratedType.pm index 3dc0ac81..e71932f6 100644 --- a/lib/Workflow/Validator/InEnumeratedType.pm +++ b/lib/Workflow/Validator/InEnumeratedType.pm @@ -5,7 +5,7 @@ use strict; use base qw( Workflow::Validator ); use Workflow::Exception qw( configuration_error validation_error ); -$Workflow::Validator::InEnumeratedType::VERSION = '1.54'; +$Workflow::Validator::InEnumeratedType::VERSION = '1.55'; sub _init { my ( $self, $params ) = @_; @@ -59,7 +59,7 @@ Workflow::Validator::InEnumeratedType - Ensure a value is one of a declared set =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Validator/MatchesDateFormat.pm b/lib/Workflow/Validator/MatchesDateFormat.pm index 81030c29..29949c17 100644 --- a/lib/Workflow/Validator/MatchesDateFormat.pm +++ b/lib/Workflow/Validator/MatchesDateFormat.pm @@ -8,7 +8,7 @@ use Workflow::Exception qw( configuration_error validation_error ); use English qw( -no_match_vars ); use Carp qw(carp); -$Workflow::Validator::MatchesDateFormat::VERSION = '1.54'; +$Workflow::Validator::MatchesDateFormat::VERSION = '1.55'; __PACKAGE__->mk_accessors('formatter'); @@ -64,7 +64,7 @@ Workflow::Validator::MatchesDateFormat - Ensure a stringified date matches a giv =head1 VERSION -This documentation describes version 1.54 of this package +This documentation describes version 1.55 of this package =head1 SYNOPSIS From 06e10c449df94a506758c13810355a848ce1981d Mon Sep 17 00:00:00 2001 From: jonasbn Date: Fri, 9 Jul 2021 23:40:05 +0200 Subject: [PATCH 3/3] Corrected based on feedback from Erik --- Changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index cfc1b8bb..234e58e8 100644 --- a/Changes.md +++ b/Changes.md @@ -2,7 +2,7 @@ ## DEPRECATION NOTICE -- With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underlines this fact. +- With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underline this fact. SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow. @@ -12,7 +12,7 @@ SPOPS was developed by the original author of Workflow and the two have worked i - Simplified logging handing in code base via PR [#108](https://github.com/jonasbn/perl-workflow/pull/108) investigation into possible performance issue described in [#89](https://github.com/jonasbn/perl-workflow/issues/89) determined penalty to be insignificant -- `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements was is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix +- `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements, what is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix - Issue with broken support action attribute specified in the state config has been addressed via PR [#123](https://github.com/jonasbn/perl-workflow/pull/123) described in issue [#113](https://github.com/jonasbn/perl-workflow/issues/113)