Update to 0.142

- New upstream release 0.142
  Deprecations
  - Tilde expansion is deprecated due to inconsistent and bug-prone behavior
  Bug fixes
  - Prevent expansion of tildes that are not the very first character (e.g.
    "./~foo")
  - Prevent unintentional tilde expansion during internal path processing
  - Escape non-tilde glob characters before tilde expansion
  - Fixed spew/edit to a long filename approaching the filesystem length limit
  - Internal calls to 'print' are checked for possible errors
  - Internal read calls are checked for errors
  Changes
  - Path stringification now adds "./" in front of paths starting with literal
    tilde so they will round-trip; FREEZE updated to use this stringification
    rule as well
  - 'move' now uses File::Copy::move internally instead of the built-in
    'rename', allowing it to work across filesystems; it also returns an object
    for the moved location, allowing chaining
  - edit_lines_raw now uses a buffered raw I/O layer
  - edit_lines_utf8 now prefers PerlIO::utf8_strict, if available
  - lines_utf8 now consistently uses a buffered I/O layer
  - open*_utf8 now prefers PerlIO::utf8_strict, if available
  - slurp_utf8 now consistently uses an unbuffered I/O layer
  Documented
  - Changed all raw/UTF-8 layer descriptions in method documentation to match
    the code
  - Fixed SYNOPSIS syntax
  - Documented how to disable TMPDIR when making temp files/dirs
  Testing
  - Add additional tilde stringification testing
  - Fixed tilde expansion tests on Windows
  - Skip a problematic test case on Cygwin
This commit is contained in:
Paul Howarth 2022-11-09 14:11:07 +00:00
parent f22502c8e4
commit f9dde8dc7b
2 changed files with 36 additions and 2 deletions

View File

@ -6,7 +6,7 @@
%endif
Name: perl-Path-Tiny
Version: 0.130
Version: 0.142
Release: 1%{?dist}
Summary: File path utility
License: Apache-2.0
@ -123,6 +123,40 @@ make test
%{_mandir}/man3/Path::Tiny.3*
%changelog
* Wed Nov 9 2022 Paul Howarth <paul@city-fan.org> - 0.142-1
- Update to 0.142
Deprecations
- Tilde expansion is deprecated due to inconsistent and bug-prone behavior
Bug fixes
- Prevent expansion of tildes that are not the very first character (e.g.
"./~foo")
- Prevent unintentional tilde expansion during internal path processing
- Escape non-tilde glob characters before tilde expansion
- Fixed spew/edit to a long filename approaching the filesystem length limit
- Internal calls to 'print' are checked for possible errors
- Internal read calls are checked for errors
Changes
- Path stringification now adds "./" in front of paths starting with literal
tilde so they will round-trip; FREEZE updated to use this stringification
rule as well
- 'move' now uses File::Copy::move internally instead of the built-in
'rename', allowing it to work across filesystems; it also returns an object
for the moved location, allowing chaining
- edit_lines_raw now uses a buffered raw I/O layer
- edit_lines_utf8 now prefers PerlIO::utf8_strict, if available
- lines_utf8 now consistently uses a buffered I/O layer
- open*_utf8 now prefers PerlIO::utf8_strict, if available
- slurp_utf8 now consistently uses an unbuffered I/O layer
Documented
- Changed all raw/UTF-8 layer descriptions in method documentation to match
the code
- Fixed SYNOPSIS syntax
- Documented how to disable TMPDIR when making temp files/dirs
Testing
- Add additional tilde stringification testing
- Fixed tilde expansion tests on Windows
- Skip a problematic test case on Cygwin
* Thu Oct 20 2022 Paul Howarth <paul@city-fan.org> - 0.130-1
- Update to 0.130
- The 'mkdir' method no longer fails when applied to an existing directory

View File

@ -1 +1 @@
SHA512 (Path-Tiny-0.130.tar.gz) = 72808cee527c31f748393d81e80297cf17f5e077c3271cd4c9f98324b71db684c7d148e6c15ac156c1087508c7689c3cd6144a504a541eb882e2a65d392f916a
SHA512 (Path-Tiny-0.142.tar.gz) = 1587ee5edb241febb2571b758c67ec51057c79e3110faf3f5ccc7034993fa7a95e2512c3e8071dcb6ba5f83dd59d96398f95ea9ebe590078d4e54b834a4cce0b