| 1 |
# Revision history for Perl module autobox::Transform |
| 2 |
|
| 3 |
1.035 2020-07-27T15:00:22Z |
| 4 |
|
| 5 |
* Fixed #7: removed dependency on "true", thanks TBSliver/Tom Bloor |
| 6 |
* Fixed #6: improved pod, thanks manwar/Mohammad S Anwar |
| 7 |
* POD polish |
| 8 |
|
| 9 |
|
| 10 |
1.034 2019-06-19T20:22:58Z |
| 11 |
|
| 12 |
* Documentation improvements to go with new "reject", "reject_by", |
| 13 |
"reject_each" methods |
| 14 |
|
| 15 |
|
| 16 |
1.033 2019-06-19T20:15:20Z |
| 17 |
|
| 18 |
* Doc fixes |
| 19 |
|
| 20 |
|
| 21 |
1.032 2019-06-19T19:22:20Z |
| 22 |
|
| 23 |
* New @array method: ->reject, the opposite of Array->filter |
| 24 |
* New @array method: ->reject_by, the opposite of Array->filter_by |
| 25 |
* New @array method: ->reject_each, the opposite of Array->filter_each |
| 26 |
|
| 27 |
|
| 28 |
1.031 2017-11-09T00:48:09Z |
| 29 |
|
| 30 |
* Improved POD documentation |
| 31 |
|
| 32 |
|
| 33 |
1.030 2017-11-08T23:42:36Z |
| 34 |
|
| 35 |
* Document simple case for group_by $value_sub |
| 36 |
|
| 37 |
* New @array methods ->group, ->group_count, ->group_array |
| 38 |
|
| 39 |
|
| 40 |
1.029 2016-10-24T22:09:19Z |
| 41 |
|
| 42 |
* @array->to_hash, and %hash->to_array |
| 43 |
|
| 44 |
|
| 45 |
1.028 2016-10-23T20:18:46Z |
| 46 |
|
| 47 |
* Even more docs improvements for ->order, ->order_by. |
| 48 |
|
| 49 |
|
| 50 |
1.027 2016-10-23T17:41:02Z |
| 51 |
|
| 52 |
* POD fixes for order, order_by |
| 53 |
* Other docs improvements |
| 54 |
|
| 55 |
|
| 56 |
1.026 2016-10-23T16:58:04Z |
| 57 |
|
| 58 |
* New feature: sorting using @array->order and @array->order_by. |
| 59 |
|
| 60 |
|
| 61 |
1.025 2016-10-13T12:18:59Z |
| 62 |
|
| 63 |
* Document %hash->filter_each to make it official. |
| 64 |
|
| 65 |
|
| 66 |
1.024 2016-10-12T21:00:44Z |
| 67 |
|
| 68 |
* ->filter and ->filter_by now takes a dwim predicate |
| 69 |
which can be one of: subref (returns true), string (eq), regex |
| 70 |
(=~), hashref (key exists). |
| 71 |
|
| 72 |
Arrayref (in) and undef (is) will annoyingly have to wait until the |
| 73 |
old call style is removed in 2.000 . |
| 74 |
|
| 75 |
|
| 76 |
1.023 2016-10-10T21:46:35Z |
| 77 |
|
| 78 |
* Officially rename all "grep"-related methods to "filter" something, |
| 79 |
to open up for a new $array->filter() method which is more capable |
| 80 |
than autobox::Core's $array->grep(). There are aliases for all |
| 81 |
existing grep-methods. |
| 82 |
|
| 83 |
All grep-related methods will continue to work: they are not |
| 84 |
deprecated and will probably never go away. |
| 85 |
|
| 86 |
* Simple $array->filter($subref) method. |
| 87 |
|
| 88 |
|
| 89 |
1.022 2016-10-09T20:11:29Z |
| 90 |
|
| 91 |
* POD fixes and documentation improvements |
| 92 |
|
| 93 |
|
| 94 |
1.021 2016-10-09T19:33:10Z |
| 95 |
|
| 96 |
* The new call style for accessors is now the preferred one, the old |
| 97 |
one deprecated but still supported until 2.000 . |
| 98 |
|
| 99 |
If you have code with the old call style, please pin your version |
| 100 |
to < 2.000 in your cpanfile, dist.ini or whatever you use. |
| 101 |
|
| 102 |
|
| 103 |
1.020 2016-10-09T15:15:22Z |
| 104 |
|
| 105 |
* Support for new call style for accessor method calls with arguments |
| 106 |
e.g. ->map_by([ price_with_discount_code => $code ]) |
| 107 |
|
| 108 |
|
| 109 |
1.019 2016-08-21T19:32:42Z |
| 110 |
|
| 111 |
* Minor POD fixes |
| 112 |
|
| 113 |
|
| 114 |
1.018 2016-08-21T18:55:54Z |
| 115 |
|
| 116 |
* Array->to_ref, Hash->to_ref, Array->to_array, Hash->to_hash. |
| 117 |
Use these e.g. as a nicer way to enfore scalar or list context. |
| 118 |
|
| 119 |
* Use autobox::Core inside of autobox::Transform, so that e.g. String |
| 120 |
autobox methods can be used in a map_by |
| 121 |
|
| 122 |
|
| 123 |
1.017 2016-07-25T11:53:06Z |
| 124 |
|
| 125 |
* Allow empty $args arrayref when accessing hash keys |
| 126 |
|
| 127 |
|
| 128 |
1.016 2016-07-23T15:50:32Z |
| 129 |
|
| 130 |
* Improved docs |
| 131 |
|
| 132 |
|
| 133 |
1.015 2016-07-23T15:27:10Z |
| 134 |
|
| 135 |
* Make $hash->map_each_value() official by documenting it. |
| 136 |
|
| 137 |
* grep_by can now take a $grep_subref to check if each item should |
| 138 |
remain (default: check for true values). |
| 139 |
|
| 140 |
|
| 141 |
1.014 2016-07-21T17:02:10Z |
| 142 |
|
| 143 |
* map_each_value Hash method (so far undocumented) |
| 144 |
|
| 145 |
|
| 146 |
1.013 2016-07-19T12:29:41Z |
| 147 |
|
| 148 |
* Change version required to 5.010, hopefully closing #3. Thanks to |
| 149 |
https://github.com/findmo for reporting. |
| 150 |
|
| 151 |
* Make $hash->map_each(), $hash->map_each_to_array() official by |
| 152 |
documenting them. |
| 153 |
|
| 154 |
|
| 155 |
1.012 2016-07-07T17:10:47Z |
| 156 |
|
| 157 |
* Require perl 5.10, to avoid bogus test failures on unsupported |
| 158 |
versions. This resolves issue #2: Fails with perls < 5.10 |
| 159 |
|
| 160 |
|
| 161 |
1.011 2016-07-07T12:57:42Z |
| 162 |
|
| 163 |
* Rename Hash grep -> grep_each, grep_defined -> grep_each_defined |
| 164 |
- This is why they're undocumented |
| 165 |
|
| 166 |
* map_each, map_each_to_array Hash method (so far undocumented) |
| 167 |
|
| 168 |
|
| 169 |
1.010 2016-06-04T06:59:49Z |
| 170 |
|
| 171 |
* grep, grep_defined Hash methods (so far undocumented) |
| 172 |
|
| 173 |
|
| 174 |
1.009 2016-06-05T21:24:57Z |
| 175 |
|
| 176 |
* More doc improvements, examples |
| 177 |
|
| 178 |
|
| 179 |
1.008 2016-06-04T16:51:58Z |
| 180 |
|
| 181 |
* Docs fixes and improvements |
| 182 |
|
| 183 |
|
| 184 |
1.007 2016-06-04T16:19:00Z |
| 185 |
|
| 186 |
* Add new transform: uniq_by |
| 187 |
|
| 188 |
|
| 189 |
1.006 2016-04-29T08:30:01Z |
| 190 |
|
| 191 |
* key_value* Hash methods (so far undocumented) |
| 192 |
|
| 193 |
|
| 194 |
1.004 2016-03-06T12:23:17Z |
| 195 |
|
| 196 |
* Cleaner docs |
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
1.003 2016-03-05T22:02:59Z |
| 201 |
|
| 202 |
* map_by, grep_by, group_by can look up hash keys as well as make |
| 203 |
method calls |
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
1.002 2016-03-01T14:00:06Z |
| 208 |
|
| 209 |
* Fix #1: Add cpanfile deps |
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
1.001 2016-02-28T22:18:35Z |
| 214 |
|
| 215 |
* Documentation for all methods |
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
1.000 2016-02-28T21:37:22Z |
| 220 |
|
| 221 |
* Original version |