| 1 |
Revision history for Bread-Board |
| 2 |
|
| 3 |
0.37 2019-06-28 |
| 4 |
[ DOCUMENTATION ] |
| 5 |
- Fixed pod error as reported by CPANTS. (GH#67, Mohammad S Anwar) |
| 6 |
- remove extraneous character from synopsis |
| 7 |
- Remove extraneous character from synopsis (GH#66, Graham Knop) |
| 8 |
|
| 9 |
[ MISC ] |
| 10 |
- Fix some broken formatting in 'Changes'. (GH#65, Dave Rolsky) |
| 11 |
|
| 12 |
[ STATISTICS ] |
| 13 |
- code churn: 10 files changed, 137 insertions(+), 70 deletions(-) |
| 14 |
|
| 15 |
0.36 2017-10-15 |
| 16 |
[ BUG FIXES ] |
| 17 |
- fix pod error. (Mohammad S Anwar, GH#63) |
| 18 |
|
| 19 |
[ MISC ] |
| 20 |
- Reverting the changes of #53, as it breaks a few packages that are |
| 21 |
using `also => 'Bread::Board'` in their import, and the benefit we |
| 22 |
get from freeing ourselves from Moose::Exporter isn't that huge. |
| 23 |
|
| 24 |
[ STATISTICS ] |
| 25 |
- code churn: 4 files changed, 40 insertions(+), 44 deletions(-) |
| 26 |
|
| 27 |
0.35 2017-07-31 |
| 28 |
[ BUG FIXES ] |
| 29 |
- fixed Bread::Board::Dumper to dump parameterized containers - |
| 30 |
previously it would just ignore them entirely (#56, Dave Rolsky) |
| 31 |
- Moo classes were losing their method modifiers because of bad |
| 32 |
interaction with Class::MOP::class_of(). (GH#61) |
| 33 |
|
| 34 |
[ ENHANCEMENTS ] |
| 35 |
- Using Bread::Board no longer enables strict and warnings in the |
| 36 |
calling package. (#53, Dave Rolsky) |
| 37 |
- Bread::Board::Dumper now sorts services and sub containers - |
| 38 |
previously these came out in a random order each time (#56, Dave |
| 39 |
Rolsky) |
| 40 |
- allow a service or literal to be undefined. (#54, Dave Rolsky) |
| 41 |
|
| 42 |
[ STATISTICS ] |
| 43 |
- code churn: 13 files changed, 425 insertions(+), 237 deletions(-) |
| 44 |
|
| 45 |
0.34 2016-03-28 |
| 46 |
- Add test messages to tests which did not have them, (#50, Alex |
| 47 |
Balhatchet) |
| 48 |
|
| 49 |
[ DOCUMENTATION ] |
| 50 |
- add missing module abstracts. (GH#49, Alex Balhatchet, GH#16, |
| 51 |
Sterling Hanenkamp) |
| 52 |
|
| 53 |
[ ENHANCEMENTS ] |
| 54 |
- SetterInjection can now accept any constructor. (#43, dakkar) |
| 55 |
|
| 56 |
[ STATISTICS ] |
| 57 |
- code churn: 37 files changed, 462 insertions(+), 395 deletions(-) |
| 58 |
|
| 59 |
0.33 2015-04-26 |
| 60 |
- add 'literal' keyword (Yanick Champoux, #31) |
| 61 |
- added documentation for most of the classes (dakkar, sponsored by |
| 62 |
Net-a-Porter.com) |
| 63 |
|
| 64 |
[ STATISTICS ] |
| 65 |
- code churn: 35 files changed, 1016 insertions(+), 375 deletions(-) |
| 66 |
|
| 67 |
0.32 2014-06-03 |
| 68 |
- fixes to arrayref dependencies (dakkar, #35) |
| 69 |
|
| 70 |
0.31 2014-05-08 |
| 71 |
- allow specifying dependency values as arrayrefs, which will resolve to |
| 72 |
an arrayref containing the resolved service values (dakkar, #34) |
| 73 |
|
| 74 |
0.30 2014-02-02 |
| 75 |
- fix deprecated use of Class::MOP::load_class (Caleb Cushing, #33) |
| 76 |
|
| 77 |
0.29 2013-11-21 |
| 78 |
- Fix deprecated enum syntax |
| 79 |
|
| 80 |
0.28 2013-08-30 |
| 81 |
- Allow overriding of services and containers. This is useful when using |
| 82 |
the common pattern of "sub BUILD { my $self = shift; container $self => |
| 83 |
as { ... } }" since the BUILD method in a subclass can modify existing |
| 84 |
services and containers that were defined in a superclass, rather than |
| 85 |
only being able to replace them (Florian Ragwitz, #26, #27). |
| 86 |
|
| 87 |
0.27 2013-08-06 |
| 88 |
- allow the 'container $obj' sugar for parameterized containers (Florian |
| 89 |
Ragwitz, #25) |
| 90 |
|
| 91 |
0.26 2013-08-01 |
| 92 |
- allow cloning containers with parameterized subcontainers (Florian |
| 93 |
Ragwitz, #22) |
| 94 |
- allow referencing parent services from parameterized subcontainers |
| 95 |
(Florian Ragwitz, #23) |
| 96 |
- deprecate special case in path traversal where a path component with |
| 97 |
the name of the current container was ignored (doy, #20) |
| 98 |
- fix setting the current container multiple times from outside of a |
| 99 |
container (doy) |
| 100 |
- make some error messages more helpful (Jason Galea, #14) |
| 101 |
- doc improvements (Sterling Hanenkamp, zdk, Philippe Bruhat, and Gabor |
| 102 |
Szabo; #15, #17, #19, #21) |
| 103 |
- remove the (unmaintained) Bread::Board::GraphViz |
| 104 |
|
| 105 |
0.25 2011-10-20 |
| 106 |
- Bread::Board - the container sugar was misbehaving (since April 2010 |
| 107 |
apparently), so we have fixed it and clarified it |
| 108 |
|
| 109 |
0.24 2011-10-15 |
| 110 |
- Bread::Board::Container - make sure to clone subcontainers, this is |
| 111 |
necessary for parameterized containers to retain their connections |
| 112 |
- Bread::Board::Traversable - add some errors, be a little more defensive |
| 113 |
|
| 114 |
0.23 2011-10-14 |
| 115 |
- Bread::Board::Container::Parameterized - retain control of names of the |
| 116 |
generated containers, so if your the container being generated has a |
| 117 |
name, it keeps it. - this makes these containers more addressable when |
| 118 |
composed into higher level containers - this helps when subclassing |
| 119 |
parameterized containers - switch the generated containers to be |
| 120 |
created with builder instead of default - also helps when subclassing |
| 121 |
parameterized containers as well |
| 122 |
- t/046_custom_parameter_service.t - fixing the error about Moose |
| 123 |
deprecations |
| 124 |
|
| 125 |
0.22 2011-10-03 |
| 126 |
- When inferring a service for a type, allow subclasses to fulfill |
| 127 |
discovered types. |
| 128 |
- Converted to Dist::Zilla |
| 129 |
|
| 130 |
0.21 2011-09-06 |
| 131 |
- Bread::Board - Allow service() and alias() sugar functions to return |
| 132 |
the newly-created objects if the context container is not defined. |
| 133 |
(thanks to kip hampton) - added tests for this - this module is just an |
| 134 |
exporter, so it does not need to 'use Moose' (thanks to Tomas Doran) |
| 135 |
- fixed some spelling and grammar errors (thanks to ben hengst and Brad |
| 136 |
Bowman) |
| 137 |
- Bread::Board::Service::WithParameters - parameters attribute now has a |
| 138 |
builder instead of a default, so as to allow better tweaking in |
| 139 |
subclasses (thanks to Andre Walker) - added tests for this |
| 140 |
|
| 141 |
0.20 2011-06-13 |
| 142 |
- Bread::Board::Lifecycle::Singleton - fix bug in singletons with |
| 143 |
circular refs (thanks to doy) - added tests for this (thanks to |
| 144 |
perigrin) |
| 145 |
|
| 146 |
0.19 2011-06-01 |
| 147 |
- Bread::Board::GraphViz - added by jrockway, this allows you to |
| 148 |
visualise a Bread::Board system using GraphViz - note that this is |
| 149 |
optional and requires you to install optional dependencies |
| 150 |
- Bread::Board::Service::Alias - add the ability to alias services under |
| 151 |
another name (thanks to doy) - added tests for this |
| 152 |
- Bread::Board::Service::Inferred - improving edge cases (thanks to doy) |
| 153 |
- Bread::Board::Service::* - several code improvements (thanks to doy) |
| 154 |
- Bread::Board::Service - allow for custom Lifecycles by using the "+" |
| 155 |
prefix (thanks to jasonmay) - added tests for this |
| 156 |
|
| 157 |
0.18 2011-04-13 |
| 158 |
- Bread::Board::Service::WithParameters - added has_parameter_defaults |
| 159 |
method to check if a parameter has default values |
| 160 |
- Bread::Board::Service::WithDependencies - added a check for |
| 161 |
has_parameter_defaults before we make a Thunk - added test for this |
| 162 |
(thanks to rafl) |
| 163 |
|
| 164 |
0.17 2011-02-22 |
| 165 |
- Bread::Board::Service::Inferred - make recrusive inferrence work - add |
| 166 |
tests for this |
| 167 |
- Bread::Board::Manual::Concepts::Advanced - small doc update about |
| 168 |
subclassing and the name parameter, resolving RT#63124 (thanks to Evan |
| 169 |
Haas) |
| 170 |
- POSSIBLE BACK COMPAT BREAKAGE !! |
| 171 |
- Bread::Board::Traversal - make relative parent path traversal more |
| 172 |
sane, there should be no more need for excessive ../../ stuff in |
| 173 |
dependency service paths (thanks doy) - adjust tests accordingly - this |
| 174 |
should fix RT#64478 as well |
| 175 |
|
| 176 |
0.16 2011-01-10 |
| 177 |
- Bread::Board::service sugar - adding the 'service_class' param for the |
| 178 |
service sugar function which allows you to pass in a custom service |
| 179 |
subclass - added tests for this (062_service_class_w_sugar.t) |
| 180 |
- Bread::Board::Dependency - added the service_params attribute here so |
| 181 |
that it is possible to pass in parameters when you depend on a service |
| 182 |
which requires them - added tests for this |
| 183 |
(045_parameters_in_dependency.t) |
| 184 |
- Bread::Board::Service::Inferred - when a typemapped service is created |
| 185 |
it is now named with the special 'type:' prefix. This allows you to |
| 186 |
depend on a typemapped service in a non-typemapped service - added |
| 187 |
tests for this (079_depending_on_type.t) |
| 188 |
- Bread::Board::Traversable - improving the error messages when a |
| 189 |
container/service is not found |
| 190 |
|
| 191 |
0.15 2010-09-30 |
| 192 |
- Bread::Board::Service - removed the MooseX::Param dependency and |
| 193 |
implemented it internally so that we have more control |
| 194 |
- Bread::Board::Types - the Bread::Board::Service::Dependencies type now |
| 195 |
can also coerce ArrayRef[Str] and HashRef[Str] types correctly (doy) |
| 196 |
- Bread::Board::Service::WithDependencies - we now only create a |
| 197 |
::Deferred::Thunk object if we have non-optional params |
| 198 |
- Bread::Board::Service::WithParameters - added the |
| 199 |
has_required_parameters method, to see if there are any non-optional |
| 200 |
parameters - added tests for both the above |
| 201 |
- NEW EXPERIMENTAL FEATURE !! |
| 202 |
- Bread::Board - added the typemap and infer keyword to help in the |
| 203 |
mapping of types and construction of inferred services - added tests |
| 204 |
for this |
| 205 |
- Bread::Board::Container - added the typemap feature and added the |
| 206 |
->resolve( type => $type ) call - added tests for this |
| 207 |
- Bread::Board::Service::Inferred - added this and tests for it |
| 208 |
- Bread::Board::Manual::Concepts::Typemap - added this to help explain |
| 209 |
the typemap feature |
| 210 |
|
| 211 |
0.14 2010-08-24 |
| 212 |
- Bread::Board::Container - added the ->resolve method to replace the |
| 213 |
->fetch( $service )->get pattern that annoys mst so much. - adjusted |
| 214 |
all the tests to account for this change. - adjusted all the docs to |
| 215 |
now use this approach instead |
| 216 |
- now using Try::Tiny for all exception handling (except the Deferred |
| 217 |
service) |
| 218 |
- Bread::Board::Service::WithDependencies - if you want to depend on a |
| 219 |
parameterized service, now you can and it will return a |
| 220 |
Bread::Board::Service::Deferred::Thunk that you can call ->inflate on |
| 221 |
and pass in the parameters for it. - added tests for this |
| 222 |
- Bread::Board::Service::Deferred::Thunk - added this + tests for it |
| 223 |
|
| 224 |
0.13 2010-04-23 |
| 225 |
- Bread::Board - making the include keyword handle compilation errors |
| 226 |
better (doy) - added test for this |
| 227 |
- Bread::Board::Container Bread::Board::Container::Parameterized - it is |
| 228 |
now possible to store parameterized containers within regular |
| 229 |
containers and have them behave properly - added tests for this |
| 230 |
- Bread::Board::Manual::Example::* - adding some examples of ways to use |
| 231 |
Bread::Board to the manual - added tests to confirm they work |
| 232 |
|
| 233 |
0.12 2010-04-18 |
| 234 |
- Bread::Board - added the `include` keyword which will evaluate an |
| 235 |
external file within your Bread::Board configuration - added tests for |
| 236 |
this - added support for parameterized containers - added tests for |
| 237 |
this - the 'container' keyword will now accept an instance of |
| 238 |
Bread::Board::Container instead of the name, this makes subclassing |
| 239 |
easier - added tests for this |
| 240 |
- Bread::Board::Container::Parameterized - added this module and tests |
| 241 |
- Bread::Baord::Manual - moved, re-organizad and added too the docs that |
| 242 |
were previously in Bread::Board.pm |
| 243 |
|
| 244 |
0.11 2010-03-25 |
| 245 |
- Much improved documentation. |
| 246 |
- Fixed inc/ to include all used Module-Install extensions. |
| 247 |
|
| 248 |
0.10 2010-02-22 |
| 249 |
- Bread::Board - import strict and warnings into the caller upon import |
| 250 |
(Florian Ragwitz) - fixing the SYNOPSIS so that it will actually run |
| 251 |
(thanks to zby for spotting this) |
| 252 |
- Bread::Board::ConstructorInjection - Add a constructor_name parameter |
| 253 |
for classes using MooseX::Traits or other things which need an |
| 254 |
alternately named constructor. (Tomas Doran) |
| 255 |
|
| 256 |
0.09 2009-07-29 |
| 257 |
- Add cloning support for containers and services |
| 258 |
- (thanks to jrockway for this) - adding tests for this |
| 259 |
- Bread::Board::ConstructorInjection - use meta->constructor_name instead |
| 260 |
of "new" if possible (jrockway) |
| 261 |
- Bread::Board::Service::WithParameters - fixing a leak where we would |
| 262 |
hold onto parameters that were passed into get() |
| 263 |
|
| 264 |
0.08 2009-07-18 |
| 265 |
- updating dates on all files |
| 266 |
- Bread::Board::LifeCycle::Singleton::WithParameters - new module added |
| 267 |
to support the idea of a singleton lifecycle keyed on the parameters |
| 268 |
rather then just a per-instance item. |
| 269 |
- Bread::Board::Traversable - fixed the is_weak_ref mis-spelling |
| 270 |
|
| 271 |
0.07 2009-02-18 |
| 272 |
- Work with new MooseX::Params::Validate |
| 273 |
- Specify MX::P::Validate version number in Makefile.PL |
| 274 |
|
| 275 |
0.06 2008-11-03 |
| 276 |
- Forgot to update MANIFEST before uploading to CPAN. |
| 277 |
|
| 278 |
0.05 2008-11-03 |
| 279 |
- Applied immutablity to classes where applicable, and vigorously |
| 280 |
unimport Moose keywords when they are no longer needed. This results in |
| 281 |
x 2 performance as far as defining a Bread::Board model (Daisuke Maki). |
| 282 |
- Bread::Board - Implemented unimport(), thus allowing you to remove |
| 283 |
keywords exported by Bread::Board (Daisuke Maki). |
| 284 |
- Bread::Board::Traversable - Unrolled recursive calls to loops, and |
| 285 |
removed Sub::Current dependency (Daisuke Maki) |
| 286 |
|
| 287 |
0.04 2008-10-31 |
| 288 |
- Bread::Board Bread::Board::Traversable - fix root path handling (thanks |
| 289 |
to Daisuke Maki) - added tests for this |
| 290 |
- Bread::Board::Dumper - Simple utility for dumping containers (thanks to |
| 291 |
Daisuke Maki) |
| 292 |
- t/ - fixing the plans so that new versions of Test::More stop |
| 293 |
complaining |
| 294 |
|
| 295 |
0.03 2008-01-08 |
| 296 |
- Bread::Board::Service::WithParameters - fixed the parameter validation |
| 297 |
to use a custom cache key, this is so that it plays nicely with the new |
| 298 |
MooseX::Params::Validate - added tests for this |
| 299 |
|
| 300 |
0.02 2008-01-08 |
| 301 |
- forgot a dependency, whoops. |
| 302 |
|
| 303 |
0.01 2008-01-07 |
| 304 |
- Out with the old (IOC) and in with the new (Bread::Board) |