Skip to content

Commit

Permalink
Merge 06e10c4 into b46d62c
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbn committed Jul 9, 2021
2 parents b46d62c + 06e10c4 commit 9880989
Show file tree
Hide file tree
Showing 37 changed files with 95 additions and 75 deletions.
24 changes: 22 additions & 2 deletions 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) 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.

## 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, 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)

- 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
Expand All @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow.pm
Expand Up @@ -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';

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Action.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Action/InputField.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Action/Mailer.pm
Expand Up @@ -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) = @_;
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Action/Null.pm
Expand Up @@ -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) = @_;
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Base.pm
Expand Up @@ -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 ) = @_;
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/CheckReturn.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/Evaluate.pm
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/GreedyOR.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/HasUser.pm
Expand Up @@ -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';

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/LazyAND.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/LazyOR.pm
Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/Negated.pm
Expand Up @@ -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 );

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Condition/Nested.pm
Expand Up @@ -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 );

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Config.pm
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Config/Perl.pm
Expand Up @@ -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 ) = @_;
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Config/XML.pm
Expand Up @@ -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);

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/Workflow/Context.pm
Expand Up @@ -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 ) = @_;
Expand All @@ -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
Expand Down

0 comments on commit 9880989

Please sign in to comment.