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