- updated to 1.22
see /usr/share/doc/packages/perl-File-LibMagic/Changes
1.22 2020-04-26
- This is a stable release with the same changes as 1.21. See the change logs
for 1.17 and 1.21 for details of what's new.
1.21 2020-04-04 (TRIAL RELEASE)
- Add two class methods that provide introspection on the available limit
processing parameters, max_param_constant() and
limit_key_is_supported(). Based on a PR from Paul Wise. GH #24.
1.20 2020-03-28 (TRIAL RELEASE)
- Fix one last test that assumed a limit parameter was available. Reported by
Slaven Rezić. GH #22.
1.19 2020-03-28 (TRIAL RELEASE)
- Fix tests that still mistakenly assumed that all limit parameter constants
should be exported by File::LibMagic. Reported by Slaven Rezić. GH #22.
1.18 2020-03-28 (TRIAL RELEASE)
- Not all versions of libmagic support setting processing limits, and those
that do may not support all the limit parameters that the most recent
version supports. This release fixes compilation and runtime issues that
would occur with older libmagic versions that don't support the same options
as the version I have installed locally. Reported by Slaven Rezić. GH #22.
1.17 2020-03-28 (TRIAL RELEASE)
- Switched to using GitHub issues.
- Removed embedded copy of Config::AutoConf from distro. Instead this is now a
configure phase prereq. Implemented by Paul Wise. GH #19.
- Moved list of constants in libmagic that we care about to one
module. Implemented by Paul Wise. GH #20.
- Add support for setting libmagic processing limits. Implemented by Paul
Wise. GH #15.
- Check all libmagic function return values properly and croak on
failure. Implemented by Paul Wise. GH #21.
OBS-URL: https://build.opensuse.org/request/show/798657
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-LibMagic?expand=0&rev=21
see /usr/share/doc/packages/perl-File-LibMagic/Changes
1.15 2015-09-19
- Fix the Makefile.PL so that we don't install the LibMagic.xs and typemap
files. Based on a patch from Petr Pisar. RT #107081.
1.14 2015-09-16
- Fixed handling of extra include dirs passed to Makefile.PL via the -I
flag. This wasn't working properly in previous releases. Reported by Andy
Jack. GH #6.
1.13 2015-07-12
- Fix failing tests with some versions of libmagic. PR #5 by E. Choroba.
1.12 2015-03-07
- The constructor now accepts named params. In addition to a magic_file param,
it now accepts follow_symlinks and uncompress params. These do what you'd
expect, tell the object to follow symlinks and/or uncompress files when
getting info from them. The old single parameter constructor is still
supported, but is no longer documented.
- The old APIs are now called "discouraged" rather than "deprecated" in the
documentation. I have no plan to remove these APIs any time soon or to make
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-LibMagic?expand=0&rev=16
not dead at all upstream. please forward to factory
- updated to 1.10
* Added yet another OO API to File::LibMagic. This provides a simpler and more
future-proof API which can be expanded on later. The new methods are
info_from_string(), info_from_filename(), and info_from_handle(). The latter
method allows you to get info about an open filehandle. These new methods
return the description, MIME type, and character encoding in one call. This
addresses RT #54843 and partially addresses RT #99470.
* Switched from using Devel::CheckLib to Config::AutoConf with the hope that
the latter will work with more compilers. Requested by Jens Rehsack. RT
#46543.
* Switched the primary git repo to github
(https://github.com/autarch/File-LibMagic).
* A File::LibMagic object would not close one of the handles it might have
opened, leading to leaks. Reported by Alexander Zaitsev. RT #93512.
OBS-URL: https://build.opensuse.org/request/show/286976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-LibMagic?expand=0&rev=15