bump version to 0.22
[gitmo/MooseX-Singleton.git] / lib / MooseX / Singleton.pm
index 7d00542..fde0bf1 100644 (file)
@@ -6,7 +6,7 @@ use MooseX::Singleton::Role::Object;
 use MooseX::Singleton::Role::Meta::Class;
 use MooseX::Singleton::Role::Meta::Instance;
 
-our $VERSION = '0.21';
+our $VERSION = '0.22';
 $VERSION = eval $VERSION;
 
 Moose::Exporter->setup_import_methods( also => 'Moose' );
@@ -97,6 +97,12 @@ the singleton object with the given arguments.
 This clears the existing singleton instance for the class. Obviously, this is
 meant for use only inside the class itself.
 
+=head2 Singleton->new
+
+This method currently works like a hybrid of C<initialize> and
+C<instance>. However, calling C<new> directly will probably be deprecated in a
+future release. Instead, call C<initialize> or C<instance> as appropriate.
+
 =head1 BUGS
 
 Please report any bugs or feature requests to