forked from dagolden/Path-Tiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
233 lines (129 loc) · 5.27 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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
Revision history for Path-Tiny
{{$NEXT}}
0.024 2013-06-17 18:12:36 America/New_York
[FIXED]
- Win32 pseudo-forks don't load threads.pm, so we do that
in CLONE to ensure we get the thread ID
0.023 2013-06-12 07:18:31 America/New_York
[FIXED]
- Removing dangling symlinks now works
0.022 2013-05-28 11:57:15 America/New_York
[ADDED]
- The 'touch' method can now take an epoch secs argument
0.021 2013-05-17 22:53:18 America/New_York
[FIXED]
- Fixed fatal bug with lines_utf8 using chomp
[DOCS]
- Pod typos fixed
0.020 2013-04-13 06:58:11 Europe/London
[FIXED]
- More descriptive error message if copy() fails
0.019 2013-04-12 06:58:18 Europe/London
[FIXED]
- Fixed warning about -l on dirhandle in iterator()
0.018 2013-04-08 12:44:31 America/New_York
[ADDED]
- cwd, rootdir, tempfile and tempdir can now be exported on request
and used as functions instead of as methods
[FIXED]
- Fixed regression in lines() where it no longer returned count
of lines in scalar context
0.017 2013-03-28 16:49:15 America/New_York
[ADDED]
- path() constructor now glob-expands tildes (~)
[CHANGED]
- Improved options validation; invalid options now throw errors
0.016 2013-03-26 14:59:36 America/New_York
[ADDED]
- The iterator now has an optional recursive mode
[CHANGED]
- We no longer use autodie directly, but we throw our
own autodie::exceptions on error. This avoids the overhead
of wrapping built-ins with function calls.
- Most dependencies are now loaded on demand, reducing startup
time.
0.015 2013-03-13 13:20:38 America/New_York
[CHANGED]
- touch and touchpath now return the object to allow easy chaining
with spew
0.014 2013-03-09 08:54:26 America/New_York
[ADDED]
- parent now takes an optional argument to look upwards multiple
times in one call. e.g. $path->parent(2)
0.013 2013-02-22 10:58:05 America/New_York
[CHANGED]
- remove_tree now defaults to safe mode and will not attempt to chmod
and remove directories with insufficient permissions
- Temporary files and directories are always created with an
absolute path.
[FIXED]
- Failures from autodie are reported from our caller's location
(as if we called croak()); bumped autodie prereq to 2.14 for
this feature
- Failures from mkpath and remove_tree are now trapped and
thrown as exceptions. (Making an existing path or removing
a non-existant path return false and are not errors);
0.012 2013-02-20 09:34:50 America/New_York
[REMOVED]
- The 'remove' function no longer works on directories. The new
'remove_tree' method should be used instead.
[CHANGED]
- path() now requires a defined, positive-length argument to keep you
safe from subtle bugs in your code that pass an undef or empty
argument to path suddenly having you operating in the current
directory.
[ADDED]
- Added Path::Tiny->cwd as a constructor to give an absolute
path to the current working directory
- Added 'remove_tree' as a method for recursively removing
a directory
0.011 2013-02-19 11:08:44 America/New_York
[CHANGED]
- slurp/spew/etc and openr/openw/etc now repect default layers
set by -C or the open pragma
- spew and append can now be given array references to output
to avoid extra copying
0.010 2013-02-16 10:26:38 America/New_York
[FIXED]
- The 'tempdir' and 'tempfile' methods can now both take either leading
templates or a TEMPLATE option, so you don't have to remember which
one File::Temp wants
0.009 2013-02-15 16:05:39 America/New_York
[CHANGED]
- Dropped use of '//' to allow Path::Tiny to run on Perl 5.008
0.008 2013-02-15 13:49:54 America/New_York
[ADDED]
- Added 'touchpath' method combining 'mkpath' and 'touch'
0.007 2013-02-12 17:41:44 America/New_York
[FIXED]
- Unicode::UTF8 0.58 is necessary for optional faster
Unicode processing
0.006 2013-02-11 13:22:18 America/New_York
[FIXED]
- t/parent.t is amended to work on Windows
- new() now correctly takes multiple path arguments, like path()
0.005 2013-02-07 15:41:32 America/New_York
[FIXED]
- Fixed test for platforms with /sbin symlinked to /usr/sbin
0.004 2013-02-05 19:19:46 America/New_York
[ADDED]
- Added slurp_raw and other *_raw helper methods
- Added realpath method (with thanks to ether)
- Added canonpath method (with thanks to sjmiller)
[FIXED]
- slurp/lines/spew/append now do appropriate flocking
- Fixed test that fails if run as root (bingos)
- Fixed test that fails if cwd/getcwd don't agree
[CHANGED]
- internal optimizations
0.003 2013-01-31 06:59:50 America/New_York
[FIXED]
- lstat was calling the wrong stat [rt.cpan.org #83063]
- make atomic writes thread-safe [rt.cpan.org #83064]
[CHANGED]
- updated bugtracker to point to github
0.002 2013-01-30 22:09:37 America/New_York
[FIXED]
- s/File::Stat/File::stat/; # OMG! I hate case insensitivity
0.001 2013-01-30 19:36:22 America/New_York
- First release