90b8229
# Run extra test
90b8229
%if ! (0%{?rhel})
90b8229
%bcond_without perl_Cpanel_JSON_XS_enables_extra_test
90b8229
%else
90b8229
%bcond_with perl_Cpanel_JSON_XS_enables_extra_test
90b8229
%endif
90b8229
f40360d
Name:		perl-Cpanel-JSON-XS
f40360d
Summary:	JSON::XS for Cpanel, fast and correct serializing
eb182d0
Version:	4.31
eb182d0
Release:	1%{?dist}
f40360d
License:	GPL+ or Artistic
570a27f
URL:		https://metacpan.org/release/Cpanel-JSON-XS
570a27f
Source0:	https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-%{version}.tar.gz
21fe49f
Patch0:		Cpanel-JSON-XS-4.20-signature.patch
f40360d
# Module Build
37844ab
BuildRequires:	coreutils
37844ab
BuildRequires:	findutils
37844ab
BuildRequires:	gcc
37844ab
BuildRequires:	make
37844ab
BuildRequires:	perl-devel
9c94701
BuildRequires:	perl-generators
8d490cd
BuildRequires:	perl-interpreter
3ce4cc1
BuildRequires:	perl(Config)
f40360d
BuildRequires:	perl(ExtUtils::MakeMaker)
f40360d
# Module Runtime
f40360d
BuildRequires:	perl(Carp)
f40360d
BuildRequires:	perl(Exporter)
f40360d
BuildRequires:	perl(overload)
c0e27f2
BuildRequires:	perl(Scalar::Util)
4153bc2
BuildRequires:	perl(strict)
4153bc2
BuildRequires:	perl(warnings)
f40360d
BuildRequires:	perl(XSLoader)
f40360d
# Script Runtime
1bf997b
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
1bf997b
BuildRequires:	perl(CBOR::XS)
1bf997b
%endif
2ae1fcb
BuildRequires:	perl(Compress::LZF)
f40360d
BuildRequires:	perl(Convert::Bencode)
9c94701
BuildRequires:	perl(CPAN::Meta::YAML)
f40360d
BuildRequires:	perl(Data::Dump)
f40360d
BuildRequires:	perl(YAML)
1bf997b
BuildRequires:	perl(YAML::Syck)
1bf997b
BuildRequires:	perl(YAML::XS)
f40360d
# Test Suite
6e4c94b
BuildRequires:	perl(B)
72b945c
BuildRequires:	perl(charnames)
b50d30a
BuildRequires:	perl(constant)
f40360d
BuildRequires:	perl(Data::Dumper)
c9b085c
BuildRequires:	perl(Devel::Peek)
f40360d
BuildRequires:	perl(Encode) >= 1.9081
c9b085c
BuildRequires:	perl(lib)
ae3500c
BuildRequires:	perl(POSIX)
f40360d
BuildRequires:	perl(Test)
b50d30a
BuildRequires:	perl(Test::More) >= 0.88
66f88a4
BuildRequires:	perl(Test::Simple)
21fe49f
BuildRequires:	perl(threads)
94a7b9c
BuildRequires:	perl(threads::shared) >= 1.21
f40360d
BuildRequires:	perl(Tie::Array)
f40360d
BuildRequires:	perl(Tie::Hash)
f40360d
BuildRequires:	perl(utf8)
66f88a4
# Optional Tests
07af685
# Cycle: perl-Cpanel-JSON-XS → perl-Test-LeakTrace → perl-Module-Install
07af685
# → perl-YAML-Tiny → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
07af685
# Cycle: perl-Cpanel-JSON-XS → perl-Perl-MinimumVersion → perl-PPI
07af685
# → perl-List-MoreUtils → perl-Test-LeakTrace → perl-Module-Install
07af685
# → perl-YAML-Tiny → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
07af685
# Cycle: perl-Cpanel-JSON-XS → perl-Test-MinimumVerion → perl-YAML-Tiny
07af685
# → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
07af685
# Cycle: perl-Cpanel-JSON-XS → perl-Test-Kwalitee → perl-Module-CPANTS-Analyse
07af685
# → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
66f88a4
%if !%{defined perl_bootstrap}
37844ab
BuildRequires:	perl(common::sense) >= 3.5
37844ab
BuildRequires:	perl(Hash::Util)
94a7b9c
BuildRequires:	perl(JSON) >= 2.09
3ef2d01
BuildRequires:	perl(JSON::PP) >= 2.09
37844ab
BuildRequires:	perl(JSON::XS)
ff79969
BuildRequires:	perl(Math::BigFloat) >= 1.16
c9b085c
BuildRequires:	perl(Math::BigInt)
25f5419
%if 0%{?fedora:1}
37844ab
BuildRequires:	perl(Mojo::JSON) >= 6.11
37844ab
%endif
07af685
BuildRequires:	perl(Test::LeakTrace)
c9b085c
BuildRequires:	perl(Tie::IxHash)
37844ab
BuildRequires:	perl(Time::Piece)
6e4c94b
# Maintainer Tests (Test::Spelling intentionally omitted as associated test would fail due to various technical terms)
90b8229
%if %{with perl_Cpanel_JSON_XS_enables_extra_test}
37844ab
BuildRequires:	perl(Class::XSAccessor)
37844ab
BuildRequires:	perl(List::MoreUtils)
f40360d
BuildRequires:	perl(Perl::MinimumVersion) >= 1.20
6e4c94b
BuildRequires:	perl(Pod::Spell::CommonMistakes)
bed221f
BuildRequires:	perl(Test::CheckChanges)
bed221f
BuildRequires:	perl(Test::CPAN::Changes)
f40360d
BuildRequires:	perl(Test::CPAN::Meta) >= 0.12
f40360d
BuildRequires:	perl(Test::Kwalitee)
f40360d
BuildRequires:	perl(Test::MinimumVersion) >= 0.008
f40360d
BuildRequires:	perl(Test::Pod) >= 1.00
f40360d
BuildRequires:	perl(Test::Pod::Coverage) >= 1.04
37844ab
BuildRequires:	perl(Text::CSV_XS)
07af685
%endif
90b8229
%endif
f40360d
# Runtime
f40360d
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
f40360d
Requires:	perl(Carp)
4153bc2
Requires:	perl(overload)
c0e27f2
Requires:	perl(Scalar::Util)
1bf997b
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
1bf997b
Suggests:	perl(CBOR::XS)
1bf997b
%endif
1bf997b
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
ff79969
Recommends:	perl(Math::BigFloat) >= 1.16
ff79969
Recommends:	perl(Math::BigInt)
8d490cd
Suggests:	perl(Bencode)
1bf997b
Suggests:	perl(Compress::LZF)
9c94701
Suggests:	perl(CPAN::Meta::YAML)
1bf997b
Suggests:	perl(Data::Dump)
1bf997b
Suggests:	perl(Data::Dumper)
8d490cd
Suggests:	perl(Sereal::Decoder)
8d490cd
Suggests:	perl(Sereal::Encoder)
1bf997b
Suggests:	perl(YAML)
1bf997b
Suggests:	perl(YAML::Syck)
1bf997b
Suggests:	perl(YAML::XS)
1bf997b
%else
2ae1fcb
Requires:	perl(Compress::LZF)
f40360d
Requires:	perl(Convert::Bencode)
9c94701
Requires:	perl(CPAN::Meta::YAML)
f40360d
Requires:	perl(Data::Dump)
1bf997b
Requires:	perl(Data::Dumper)
ff79969
Requires:	perl(Math::BigFloat) >= 1.16
ff79969
Requires:	perl(Math::BigInt)
8d490cd
Requires:	perl(Sereal::Decoder)
8d490cd
Requires:	perl(Sereal::Encoder)
f40360d
Requires:	perl(YAML)
1bf997b
Requires:	perl(YAML::Syck)
1bf997b
Requires:	perl(YAML::XS)
1bf997b
%endif
f40360d
f40360d
# Avoid unwanted provides and dependencies
f40360d
%{?perl_default_filter}
f40360d
f40360d
%description
f40360d
This module converts Perl data structures to JSON and vice versa. Its
f40360d
primary goal is to be correct and its secondary goal is to be fast. To
f40360d
reach the latter goal it was written in C.
f40360d
f40360d
%prep
f40360d
%setup -q -n Cpanel-JSON-XS-%{version}
f40360d
f40360d
# Fix shellbangs
f40360d
perl -pi -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' eg/*
f40360d
25f5419
# Skip the signature check as we've tweaked some files
25f5419
%patch0
25f5419
f40360d
%build
f40360d
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
f40360d
make %{?_smp_mflags}
f40360d
f40360d
%install
f40360d
make pure_install DESTDIR=%{buildroot}
9c94701
find %{buildroot} -type f -name .packlist -delete
9c94701
find %{buildroot} -type f -name '*.bs' -empty -delete
a37a8b5
%{_fixperms} -c %{buildroot}
f40360d
f40360d
%check
90b8229
%if !%{defined perl_bootstrap} && %{with perl_Cpanel_JSON_XS_enables_extra_test}
7793c64
make test xtest AUTHOR_TESTING=1
90b8229
%else
90b8229
make test
90b8229
%endif
f40360d
f40360d
%files
9572c40
%license COPYING
9572c40
%doc Changes README eg/
f40360d
%{_bindir}/cpanel_json_xs
f40360d
%{perl_vendorarch}/auto/Cpanel/
f40360d
%{perl_vendorarch}/Cpanel/
f40360d
%{_mandir}/man1/cpanel_json_xs.1*
2347e54
%{_mandir}/man3/Cpanel::JSON::XS.3*
2347e54
%{_mandir}/man3/Cpanel::JSON::XS::Boolean.3*
4153bc2
%{_mandir}/man3/Cpanel::JSON::XS::Type.3*
f40360d
f40360d
%changelog
eb182d0
* Wed Aug 10 2022 Paul Howarth <paul@city-fan.org> - 4.31-1
eb182d0
- Update to 4.31
eb182d0
  - Adjust t/20_unknown.t pp bool tests for native bool when supported (GH#198)
eb182d0
bf475df
* Tue Aug  2 2022 Paul Howarth <paul@city-fan.org> - 4.30-3
341cc22
- Re-apply test fixes for t/20_unknown.t now that JSON::PP native bool support
341cc22
  is back
341cc22
5c3bbfb
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.30-2
5c3bbfb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5c3bbfb
9088d03
* Fri Jun 17 2022 Paul Howarth <paul@city-fan.org> - 4.30-1
9088d03
- Update to 4.30
9088d03
  - Fix perl 5.37 utf8n_to_uvuni deprecation (GH#196)
9088d03
1ee9c90
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4.29-3
1ee9c90
- Perl 5.36 re-rebuild of bootstrapped packages
1ee9c90
d984d05
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4.29-2
d984d05
- Perl 5.36 rebuild
d984d05
3ad6c72
* Fri May 27 2022 Paul Howarth <paul@city-fan.org> - 4.29-1
3ad6c72
- Update to 4.29
3ad6c72
  - Hack: Revert native bool (unblessed) overloads via JSON::PP 4.08; JSON::PP
3ad6c72
    ignores unblessed bools for now (GH#194)
3ad6c72
8fcd5dc
* Thu May  5 2022 Paul Howarth <paul@city-fan.org> - 4.28-1
8fcd5dc
- Update to 4.28
8fcd5dc
  - Validate the JSON struct, which might get corrupted by wrong FREEZE/THAW
8fcd5dc
    methods, or other serializers, or corrupting our magic object (GH#192)
8fcd5dc
  - Improve our DESTROY and END methods to avoid NULL dereferences
8fcd5dc
    (https://github.com/rurban/perl-compiler/issues/438)
8fcd5dc
  - Fix 3 tests in t/20_unknown.t with the latest 5.35.10 bool enhancements and
8fcd5dc
    JSON::PP (GH#194)
8fcd5dc
  - Fix t/118_type.t with Windows ivtype long long (GH#178)
8fcd5dc
  - Added GitHub actions
8fcd5dc
5b34e62
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.27-2
5b34e62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5b34e62
ec0f089
* Fri Oct 15 2021 Paul Howarth <paul@city-fan.org> - 4.27-1
ec0f089
- Update to 4.27
ec0f089
  - Only add -Werror=declaration-after-statement for 5.035004 and earlier
ec0f089
    (GH#186)
ec0f089
  - Fix 125_shared_boolean.t for threads (GH#184)
ec0f089
- Drop support for building for targets older than EL-7
ec0f089
328ca6b
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.26-4
328ca6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
328ca6b
59b7028
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.26-3
59b7028
- Perl 5.34 re-rebuild of bootstrapped packages
59b7028
377a5f4
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.26-2
377a5f4
- Perl 5.34 rebuild
377a5f4
651bf8c
* Mon Apr 12 2021 Paul Howarth <paul@city-fan.org> - 4.26-1
651bf8c
- Update to 4.26
651bf8c
  - Fix compilation with C++ (GH#177)
651bf8c
- Use %%license unconditionally
651bf8c
d38c4d0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.25-2
d38c4d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d38c4d0
fd67605
* Wed Oct 28 2020 Paul Howarth <paul@city-fan.org> - 4.25-1
fd67605
- Update to 4.25
fd67605
  - Fix decode relaxed with comment at the end of the buffer (GH#174), a
fd67605
    regression introduced with 3.0220, to fix n_number_then_00
fd67605
  - Possible fix for a gcc-9 optimizer bug (GH#172)
fd67605
0f6742c
* Fri Oct  2 2020 Paul Howarth <paul@city-fan.org> - 4.24-1
0f6742c
- Update to 4.24
0f6742c
  - Fix decode_json(scalar, 0), check 2nd arg for true-ness (GH#171)
0f6742c
94a7b9c
* Sat Sep  5 2020 Paul Howarth <paul@city-fan.org> - 4.23-1
94a7b9c
- Update to 4.23
94a7b9c
  - Fix t/54_stringify needs JSON 2.09 for allow_unknown (GH#169)
94a7b9c
  - Fix t/118_type.t for 5.6
94a7b9c
  - Fix t/96_interop.t for missing JSON::XS
94a7b9c
  - Possible fix for s390x with long double, untested (GH#83)
94a7b9c
b1a814c
* Thu Aug 13 2020 Paul Howarth <paul@city-fan.org> - 4.21-1
b1a814c
- Update to 4.21
b1a814c
  - Fix not enough HEK memory allocation for the new canonical tied hashes
b1a814c
    feature (GH#168)
b1a814c
  - TODO broken JSON::PP::Boolean versions 2.9x - 4.0 with threads::shared in
b1a814c
    125_shared_boolean.t
b1a814c
21fe49f
* Wed Aug 12 2020 Paul Howarth <paul@city-fan.org> - 4.20-1
21fe49f
- Update to 4.20
21fe49f
  - New feature: sort tied hashes with canonical (GH#167)
21fe49f
  - Fix encode of threads::shared boolean (GH#166); this was broken with 4.00
21fe49f
  - Fix some stringify overload cases via convert_blessed (GH#105)
21fe49f
  - Fix a compat case with JSON::XS, when convert_blessed is set, but
21fe49f
    allow_blessed not (GH#105)
21fe49f
  - Improve blessed and stringify tests
21fe49f
  - Work on better inf/nan detection on AIX (GH#165)
21fe49f
  - Fix documentation for booleans and their types (GH#162)
21fe49f
02c1982
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.19-4
02c1982
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
02c1982
3149c60
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.19-3
3149c60
- Perl 5.32 re-rebuild of bootstrapped packages
3149c60
0e8ec68
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.19-2
0e8ec68
- Perl 5.32 rebuild
0e8ec68
386a307
* Thu Feb  6 2020 Paul Howarth <paul@city-fan.org> - 4.19-1
386a307
- Update to 4.19
386a307
  - Fix typed decode memory leak (GH#160)
386a307
b8fe284
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.18-2
b8fe284
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b8fe284
ff79969
* Fri Dec 13 2019 Paul Howarth <paul@city-fan.org> - 4.18-1
ff79969
- Update to 4.18
ff79969
  - Add new method ->type_all_string (GH#156); when type_all_string is set then
ff79969
    the encode method produces stable deterministic string types in the
ff79969
    resulting JSON - this can be an alternative to Cpanel::JSON::XS::Type when
ff79969
    having deterministic output is required but string JSON types are enough
ff79969
    for any output
ff79969
  - Move SvGETMAGIC() from encode_av() and encode_hv() to encode_sv() (GH#156)
ff79969
  - Add Math::BigInt and Math::BigFloat as recommended dependencies (GH#157)
ff79969
bed221f
* Tue Nov  5 2019 Paul Howarth <paul@city-fan.org> - 4.17-1
bed221f
- Update to 4.17
bed221f
  - Add Changes tests and fixups (GH#155)
bed221f
2345e72
* Mon Nov  4 2019 Paul Howarth <paul@city-fan.org> - 4.16-1
2345e72
- Update to 4.16
bed221f
  - Use Perl_strtod instead of self-made atof (via pow), to minimize
bed221f
    differences from core string-to-float conversions (GH#154); this fixes
bed221f
    float representation regressions (in the 1e-6 to 1e-16 range) since 5.22
2345e72
ee67354
* Tue Oct 22 2019 Paul Howarth <paul@city-fan.org> - 4.15-1
ee67354
- Update to 4.15
ee67354
  - Fix more tests for nvtype long double
ee67354
cf8752d
* Tue Oct 15 2019 Paul Howarth <paul@city-fan.org> - 4.14-1
cf8752d
- Update to 4.14
cf8752d
  - Fix tests for nvtype long double (GH#153)
cf8752d
  - Fix PREREQ's, e.g. CentOS 7 has not Test::More anymore (GH#152)
cf8752d
3a0c9ae
* Mon Oct 14 2019 Paul Howarth <paul@city-fan.org> - 4.13-1
3a0c9ae
- Update to 4.13
3a0c9ae
  - For JSON_TYPE_INT and JSON_TYPE_FLOAT, allow to encode numeric values above
3a0c9ae
    2^64 in PV slot via Math::BigInt/Float (GH#145, GH#148, GH#149)
3a0c9ae
  - For JSON_TYPE_INT and JSON_TYPE_FLOAT encoder, allow to pass Math::BigInt
3a0c9ae
    and Math::BigFloat objects with allow_bignum (GH#147)
3a0c9ae
  - Fix encoding floating point values above 2^64 in PV slot to JSON_TYPE_INT
3a0c9ae
    (GH#148, GH#150)
3a0c9ae
  - Do not allow serializing objects when convert_blessed is not enabled
3a0c9ae
    (GH#146)
3a0c9ae
6066de0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.12-2
6066de0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6066de0
4831384
* Tue Jun 11 2019 Paul Howarth <paul@city-fan.org> - 4.12-1
4831384
- Update to 4.12
4831384
  - Make encoder independent of Math::BigInt version (GH#140)
4831384
  - Rethrow error from eval_sv and eval_pv() (GH#138, GH#139), e.g. when
4831384
    Math::BigInt/BigFloat fails
4831384
  - Fix encoding Inf and NaN from PV and NV slots to JSON_TYPE_INT (GH#137)
4831384
  - Fix memory corruption in sv_to_ivuv() function (GH#136)
4831384
  - Add new method ->require_types (GH#135)
4831384
  - Fix typed json encoder conversion from scalar's PV and NV slot to
4831384
    JSON_TYPE_INT (GH#133, GH#134)
4831384
  - Fix inconsistency with warnings in typed json encoder (GH#131)
4831384
  - Fix Perl 5.8.0 support (GH#130)
4831384
  - Fixed minor pod typo (GH#129)
4831384
  - Document invalid recursive callbacks or overloads (GH#128)
4831384
b95271f
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.11-3
b95271f
- Perl 5.30 re-rebuild of bootstrapped packages
b95271f
a3ea908
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.11-2
a3ea908
- Perl 5.30 rebuild
a3ea908
72b945c
* Wed Mar 27 2019 Paul Howarth <paul@city-fan.org> - 4.11-1
72b945c
- Update to 4.11
72b945c
  - Fix unicode strings with BOM corrupt ->utf8 state (GH#125); the BOM
72b945c
    encoding affects only its very own decode call, not its object
72b945c
1548ef2
* Mon Mar 18 2019 Paul Howarth <paul@city-fan.org> - 4.10-1
1548ef2
- Update to 4.10
1548ef2
  - Fix incr_text refcounts (GH#123)
1548ef2
  - Add incr_reset testcase (GH#123)
1548ef2
  - Fix encode_stringify string-overload refcnt problem (GH#124)
1548ef2
  - "Attempt to free unreferenced scalar" with convert_blessed and overload
1548ef2
dad7e17
* Fri Feb 15 2019 Paul Howarth <paul@city-fan.org> - 4.09-1
dad7e17
- Update to 4.09
dad7e17
  - Add separate allow_dupkeys property, in relaxed (GH#122)
dad7e17
  - Fixed allow_dupkeys for the XS slow path
dad7e17
  - Silence 2 -Wunused-value warnings
dad7e17
  - Fix ->unblessed_bool to produce modifiable perl structures (GH#121)
dad7e17
8d5a5c4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.08-2
8d5a5c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8d5a5c4
72e8e14
* Wed Nov 28 2018 Paul Howarth <paul@city-fan.org> - 4.08-1
72e8e14
- Update to 4.08
72e8e14
  - Add unblessed_bool property (GH#118)
72e8e14
1a15aa2
* Mon Nov  5 2018 Paul Howarth <paul@city-fan.org> - 4.07-1
1a15aa2
- Update to 4.07
1a15aa2
  - Silence Gconvert -Wunused-result
1a15aa2
e908874
* Thu Aug 23 2018 Paul Howarth <paul@city-fan.org> - 4.06-1
e908874
- Update to 4.06
e908874
  - Fix overloaded eq/ne comparisons (GH#116, GH#117): detect strings, protect
e908874
    from endless recursion; false is now ne "True"; clarify eq/ne rules in the
e908874
    docs
e908874
c0e27f2
* Mon Aug 20 2018 Paul Howarth <paul@city-fan.org> - 4.05-1
c0e27f2
- Update to 4.05
c0e27f2
  - Set decoded type (GH#115)
c0e27f2
  - Add json_type_weaken (GH#114)
c0e27f2
  - Fix tests for 5.6
c0e27f2
f1d301c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.04-4
f1d301c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f1d301c
aedfb07
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.04-3
aedfb07
- Perl 5.28 re-rebuild of bootstrapped packages
aedfb07
2fadeeb
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.04-2
2fadeeb
- Perl 5.28 rebuild
2fadeeb
7793c64
* Sat Jun 23 2018 Paul Howarth <paul@city-fan.org> - 4.04-1
7793c64
- Update to 4.04
7793c64
  - Fix bignum NaN/inf handling (GH#78)
7793c64
  - Move author tests to xt/ as suggested in GH#106, added a make xtest target
7793c64
    (fixes a test fail with ASAN)
7793c64
8d490cd
* Thu Jun 21 2018 Paul Howarth <paul@city-fan.org> - 4.03-1
8d490cd
- Update to 4.03
8d490cd
  - Add sereal cpanel_json_xs type (GH#110)
8d490cd
  - Fix bencode/bdecode methods in cpanel_json_xs (GH#111)
8d490cd
  - Overload ne operator for JSON::PP::Boolean (GH#107)
8d490cd
  - Add a missing semicolon to a documentation example (GH#104)
8d490cd
- Switch upstream from search.cpan.org to metacpan.org
8d490cd
- Add suggestions for Sereal::Decoder and Sereal::Encoder
8d490cd
- Switch suggestion of Convert::Bencode to Bencode
8d490cd
- Work around failing t/z_meta.t
8d490cd
25e434e
* Thu Mar  1 2018 Florian Weimer <fweimer@redhat.com> - 4.02-2
25e434e
- Rebuild with new redhat-rpm-config/perl build flags
25e434e
672cf74
* Tue Feb 27 2018 Paul Howarth <paul@city-fan.org> - 4.02-1
672cf74
- Update to 4.02
8d490cd
  - Add encoder indent_length method, previously hard-coded to 3 (GH#103)
672cf74
41fc05e
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.01-2
41fc05e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
41fc05e
a9e73d7
* Sat Feb  3 2018 Paul Howarth <paul@city-fan.org> - 4.01-1
a9e73d7
- Update to 4.01
a9e73d7
  - Fix locale crash with threaded perls < 5.22 and glibc (GH#101)
a9e73d7
4153bc2
* Fri Feb  2 2018 Paul Howarth <paul@city-fan.org> - 4.00-1
4153bc2
- Update to 4.00
a9e73d7
  - Simplify allow_singlequote check (coverity cid#165321)
4153bc2
  - Deprecate UTF-16 or UTF-32 BOM's: RFC 8259
4153bc2
  - Added Cpanel::JSON::XS::Type as 2nd optional encode argument (GH#94)
4153bc2
  - Removed calling get magic hooks twice in encode
4153bc2
  - Avoid setlocale race in threads with non-C locales, where the threads
4153bc2
    differ in the LC_NUMERIC locale (GH#99)
4153bc2
  - Fix uselocale() code
4153bc2
  - Probe for uselocale and xlocale.h with <5.22 threaded
4153bc2
ae3500c
* Tue Aug 29 2017 Paul Howarth <paul@city-fan.org> - 3.0239-1
ae3500c
- Update to 3.0239
ae3500c
  - Make printing of numbers on perls earlier than 5.22 locale-insensitive, to
ae3500c
    produce a dot as decimal separator (#96)
ae3500c
  - Fix compilation under Windows (#98)
ae3500c
81abfe4
* Mon Jul 31 2017 Paul Howarth <paul@city-fan.org> - 3.0237-1
81abfe4
- Update to 3.0237
81abfe4
  - Relax inf/nan tests as in t/op/infnan.t for windows: we cannot know if
81abfe4
    msvcrt.dll or the new ucrt.dll is used, so try a list of valid values
81abfe4
cb7f52d
* Fri Jul 28 2017 Paul Howarth <paul@city-fan.org> - 3.0236-1
cb7f52d
- Update to 3.0236
cb7f52d
  - Fix and unify utf8 handling with 5.6.2, improve many utf8 tests (GH#88)
cb7f52d
  - Add tests for boolean sv_yes and sv_no (GH#88)
cb7f52d
  - Check for correct module in %%INC (GH#89)
cb7f52d
  - Fix appveyor smoke with latest strawberry, use $Config{make} (GH#91)
cb7f52d
  - Fix inf/nan for strawberry 5.26
cb7f52d
  - Disallow duplicate keys by default; only allow them in relaxed mode (GH#75)
cb7f52d
  - De-fragilize t/96_mojo.t false test to ""
cb7f52d
  - Stringify true again as "1", not as "true" due to popular demand (GH#87)
cb7f52d
c67563f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0233-4
c67563f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c67563f
de3dd08
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0233-3
de3dd08
- Perl 5.26 re-rebuild of bootstrapped packages
de3dd08
d9f70dc
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0233-2
d9f70dc
- Perl 5.26 rebuild
d9f70dc
3ef2d01
* Tue May  2 2017 Paul Howarth <paul@city-fan.org> - 3.0233-1
3ef2d01
- Update to 3.0233
3ef2d01
  - 5.6 test fixes, silence some cc warnings, add coverage and release targets,
3ef2d01
    fix appveyor
3ef2d01
40b935c
* Mon May  1 2017 Paul Howarth <paul@city-fan.org> - 3.0232-1
40b935c
- Update to 3.0232
40b935c
  - Fix for MSVC 2015/14.0 and newer with changed nan/inf (GH#85)
40b935c
  - Added appveyor CI
40b935c
  - Silence 32bit debugging format warning
40b935c
  - Stabilize decode_hv hook (Coverity)
40b935c
  - Ignore sv_utf8_downgrade errors (Coverity)
40b935c
- BR: perl-generators unconditionally
40b935c
00a82a8
* Wed Mar 29 2017 Paul Howarth <paul@city-fan.org> - 3.0231-1
00a82a8
- Update to 3.0231
00a82a8
  - Fix need() overallocation (GH#84) and missing need() calls
00a82a8
b9ebcd0
* Sun Mar 12 2017 Paul Howarth <paul@city-fan.org> - 3.0230-1
b9ebcd0
- Update to 3.0230
b9ebcd0
  - Fix minor gcc compilation warnings
b9ebcd0
  - Add some core compat. warnings for gcc/clang compat. compilers
b9ebcd0
cafcfcf
* Wed Mar  8 2017 Paul Howarth <paul@city-fan.org> - 3.0228-1
cafcfcf
- Update to 3.0228
cafcfcf
  - Fix decode_prefix offset when the string was re-allocated: rather return
cafcfcf
    the offset, not the pointer to the old start (GH#82)
cafcfcf
91bfd07
* Tue Feb 14 2017 Paul Howarth <paul@city-fan.org> - 3.0227-1
91bfd07
- Update to 3.0227
91bfd07
  - Fix CLONE and END, broken with 3.0226 (GH#80); these methods are usually
91bfd07
    called with arguments, which we ignore
91bfd07
a37a8b5
* Sun Feb 12 2017 Paul Howarth <paul@city-fan.org> - 3.0226-1
a37a8b5
- Update to 3.0226
a37a8b5
  - Relax longdouble Gconvert test on ppc64le and aarch64-linux-ld, with
a37a8b5
    apparent HW quadmath without USE_QUADMATH (older perls)
91bfd07
  - Fixed 2 uninit warnings in the XS
a37a8b5
0e4bbf1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0225-2
0e4bbf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0e4bbf1
c9ff67e
* Thu Nov 24 2016 Paul Howarth <paul@city-fan.org> - 3.0225-1
c9ff67e
- Update to 3.0225
c9ff67e
  - UTF8 decode security fixes for perl 5.6
c9ff67e
  - Added extra detection code for overflows and non-continuations; this
c9ff67e
    broke one 5.6 test with an overlong multi-byte character, which previously
c9ff67e
    worked accidentally, i.e. decode "\ud801\udc02\x{10204}"
c9ff67e
  - Added tests for ill-formed utf8 sequences from Encode
c9ff67e
2c758fe
* Sun Nov 20 2016 Paul Howarth <paul@city-fan.org> - 3.0224-1
2c758fe
- Update to 3.0224
2c758fe
  - Fixes for g++-6, stricter -fpermissive and -Wc++11-compat
2c758fe
5b54639
* Thu Nov 17 2016 Paul Howarth <paul@city-fan.org> - 3.0223-1
5b54639
- Update to 3.0223
5b54639
  - Fixed decode bignum with a string prefix (GH#76)
5b54639
f75dcdc
* Sun Oct 30 2016 Paul Howarth <paul@city-fan.org> - 3.0222-1
f75dcdc
- Update to 3.0222
f75dcdc
  - Fixed documentation of decode for unicode noncharacters
f75dcdc
  - Added correct code to warn as in core
f75dcdc
  - No replacement, ignore warnings when in relaxed mode
f75dcdc
  - We used a wrong range too, but the wrong code from 3.0220 was never
f75dcdc
    executed because of an coding error (GH#73, GH#74)
f75dcdc
  - Fixed a perl 5.6 compilation regression from 3.0220
f75dcdc
  - Improve decode_bom for multibyte encoding, but not yet enabled
f75dcdc
  - Fix refcount error
f75dcdc
  - Add 5.24 to travis tests
f75dcdc
  - Enable decode_bom for multibyte encodings UTF16 and UTF32
f75dcdc
  - Encode internally to UTF-8
f75dcdc
62e1502
* Fri Oct 28 2016 Paul Howarth <paul@city-fan.org> - 3.0220-1
62e1502
- Update to 3.0220
62e1502
  - Add comprehensive JSON decode spectests from
62e1502
    http://seriot.ch/parsing_json.html (GH#72)
62e1502
  - Decode with BOM (UTF-8, UTF-16, or UTF-32); for now only UTF-8, the others
62e1502
    error
62e1502
  - Fixed detection of final \0 as illegal non-whitespace garbage; fixes
62e1502
    spectest 'n_number_then_00' (GH#72)
62e1502
  - Changed decode of unicode noncharacters between U+FFFD and U+10FFFF to the
62e1502
    recommended U+FFFD REPLACEMENT CHARACTER, when not in the binary or relaxed
62e1502
    mode
62e1502
22a87d3
* Wed Oct 26 2016 Paul Howarth <paul@city-fan.org> - 3.0219-1
22a87d3
- Update to 3.0219
22a87d3
  - Work around mingw 4.0 modfl() bug (Perl RT#125924)
22a87d3
66f88a4
* Thu Oct 13 2016 Paul Howarth <paul@city-fan.org> - 3.0218-1
66f88a4
- Update to 3.0218
66f88a4
  - Detect INF/NAN: ?/++/-?/--- on HP-UX (GH#56)
66f88a4
  - New stringify_infnan(3) infnan_mode; easy to detect platform-independent
66f88a4
    "inf", "-inf" or "nan" strings with double quotes, with qnan, snan or
66f88a4
    negative nan unified to "nan"
66f88a4
  - Use faster strEQc macros from cperl with constant strings
66f88a4
  - Prefer memEQ for systems without memcmp, to use bcmp there
66f88a4
  - Add more expect_false() to inf/nan branches
66f88a4
  - expect_false() macro fix for MSVC
66f88a4
  - Fix av and hv length types: protect from security sensitive overflows, add
66f88a4
    HVMAX_T and RITER_T
66f88a4
  - Add new "Hash key too large" error; perl5 silently truncates it, we prefer
66f88a4
    errors
66f88a4
  - Fix broken 5.8.1 SvPOK_only, i.e. assert_not_ROK
66f88a4
  - Fix and document wrong strEQc usage in new() (GH#70)
66f88a4
  - Fix t/gh70-asan.t for older perls < 5.14
66f88a4
  - Fix DPPP_dummy_PL_parser warnings
66f88a4
03eff6e
* Sat Jun 18 2016 Paul Howarth <paul@city-fan.org> - 3.0217-1
03eff6e
- Update to 3.0217
03eff6e
  - Improve test t/20_unknown.t for older JSON::PP
03eff6e
a1f01a8
* Mon Jun 13 2016 Paul Howarth <paul@city-fan.org> - 3.0216-1
a1f01a8
- Update to 3.0216
a1f01a8
  - Fix wrong test 117 for 5.10.0
a1f01a8
1b3c31a
* Sun Jun 12 2016 Paul Howarth <paul@city-fan.org> - 3.0215-1
1b3c31a
- Update to 3.0215
1b3c31a
  - Fix wrong test 117
1b3c31a
  - TODO the fragile mojo boolean interop test
1b3c31a
  - Improve error message with class-based method calls, when forgetting ->new
1b3c31a
    (GH#66)
1b3c31a
9c94701
* Fri Jun  3 2016 Paul Howarth <paul@city-fan.org> - 3.0214-1
9c94701
- Update to 3.0214
9c94701
  - Preserve numbers as numbers, enforce an added .0; also note that 42+"bar"
9c94701
    will result > 5.10 in numbers, not integers, ⇒ 42.0
9c94701
  - 5.6 compilation fixes
9c94701
  - Add yaml-tiny formats to cpanel_json_xs
9c94701
  - Remove author-only Pod::Usage dependency
9c94701
  - Fix an off-by-one IV_MIN -> NV overflow in decode_json (GH#67)
9c94701
  - Avoid encode_sv SEGV with -Dusequadmath (GH#62)
9c94701
  - Fix quadmath NV stringification
9c94701
- Simplify find commands using -empty and -delete
9c94701
- BR: perl-generators where available
9c94701
7c399d5
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.0213-3
7c399d5
- Perl 5.24 re-rebuild of bootstrapped packages
7c399d5
97cbdcf
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.0213-2
97cbdcf
- Perl 5.24 rebuild
97cbdcf
07e7b49
* Wed Mar  2 2016 Paul Howarth <paul@city-fan.org> - 3.0213-1
07e7b49
- Update to 3.0213
07e7b49
  - Silence JSON::PP::Boolean redefine warnings (GH#60)
07e7b49
1bf997b
* Sat Feb 27 2016 Paul Howarth <paul@city-fan.org> - 3.0212-1
1bf997b
- Update to 3.0212
1bf997b
  - Merge with JSON-XS-3.02:
1bf997b
    - docs: add some INTEROP, stricter nonref RFC 7159 and TAGGED VALUE
1bf997b
      SYNTAX AND STANDARD JSON EN/DECODERS paragraphs
1bf997b
    - Use 7159 nonref detection from JSON-XS: json_nonref()
1bf997b
    - Add some SAVESTACK_POS calls
1bf997b
    - Add -f cbor decode option (via CBOR::XS) to cpanel_json_xs
1bf997b
  - Fixed many spelling errors in the new docs
1bf997b
  - Fixed errors with threaded perls
1bf997b
  - Improved code quality in new merged code and fixed new warnings found with
1bf997b
    gcc-5
1bf997b
  - Add -f and -t yaml-xs and yaml-syck options to cpanel_json_xs
1bf997b
- Soften optional script dependencies to Suggests: if we have rpm ≥ 4.12
1bf997b
e62e21e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0211-2
e62e21e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e62e21e
1b65a3f
* Mon Jan 11 2016 Paul Howarth <paul@city-fan.org> - 3.0211-1
1b65a3f
- Update to 3.0211
1b65a3f
  - Relax Mojo interop test strictness ('' or 0 for false)
1b65a3f
  - t/z_pod.t as author test
1b65a3f
  - t/z_kwalitee.t accepts now RELEASE_TESTING
1b65a3f
  - Fix mingw64 inf/nan with uselongdouble, strawberry 5.22.1 (GH#57)
1b65a3f
6e4c94b
* Thu Dec  3 2015 Paul Howarth <paul@city-fan.org> - 3.0210-1
6e4c94b
- Update to 3.0210
6e4c94b
  - Fix nasty regression bug with allow_singlequote or relaxed, hanging with
6e4c94b
    single quotes in normal strings (GH#54)
6e4c94b
  - Improve cpanel_json_xs: more input and output formats
6e4c94b
  - Improved various spellings and add test
6e4c94b
  - Much faster t/99_binary.t test
6e4c94b
8d025ed
* Thu Dec  3 2015 Paul Howarth <paul@city-fan.org> - 3.0208-1
8d025ed
- Update to 3.0208
8d025ed
  - Fix regression decoding big strings (>16384) (GH#50)
8d025ed
  - Ignore allow_barekey if we detect quotes (GH#51)
8d025ed
  - Skip some unicode tests with 5.6
8d025ed
  - Fix regression for is_bool([]), with unblessed references (GH#53)
8d025ed
c9b085c
* Tue Dec  1 2015 Paul Howarth <paul@city-fan.org> - 3.0206-1
c9b085c
- Update to 3.0206
c9b085c
  - Add support for escape_slash from JSON::PP (GH#47)
c9b085c
  - Map sort_by to canonical from JSON::PP (GH#47); reverse sort or sort by
c9b085c
    custom keys not yet possible/silently ignored
c9b085c
  - Add support for allow_singlequote from JSON::PP (GH#47)
c9b085c
  - Add support for allow_barekey from JSON::PP (GH#47)
c9b085c
  - Add support for allow_bignum from JSON::PP (GH#47)
c9b085c
  - relaxed uses now also allow_singlequote and allow_barekey
c9b085c
  - Fixed t/20_unknown.t: SKIP when JSON is not available (GH#45)
c9b085c
  - Fixed t/55_modifiable.t: Broaden the is check of true <5.12 (GH#45)
c9b085c
  - Add t/zero-mojibake.t from JSON::PP testing all supported decoding options:
c9b085c
    none, utf8, ascii, latin1, binary
c9b085c
2726934
* Mon Nov 30 2015 Paul Howarth <paul@city-fan.org> - 3.0205-1
2726934
- Update to 3.0205
2726934
  - Add t/20_unknown.t tests from JSON::PP, extended
2726934
  - Fix convert_blessed, disallow invalid JSON (GH#46); convert_blessed always
2726934
    now returns a string, even for numbers
2726934
  - Fix encountered GLOB error message (still in JSON::XS, and JSON::PP took
2726934
    over the wrong message too)
2726934
  - Fixed regression of immediate raw values for null/true/false to be
2726934
    modifiable again (GH#45, broken with 3.0201-3.0204)
2726934
25f5419
* Fri Nov 27 2015 Paul Howarth <paul@city-fan.org> - 3.0204-1
25f5419
- Update to 3.0204
25f5419
  - Fix is_bool with JSON::XS >3.0 interop (GH#44)
25f5419
- Avoid running signature tests as we fix shellbangs in example code
25f5419
37844ab
* Thu Nov 26 2015 Paul Howarth <paul@city-fan.org> - 3.0203-1
37844ab
- Update to 3.0203
37844ab
  - Simplify handling of references, removing all the complicated work-around
37844ab
    for reblessing; breaks overloaded values, but fixes serialising refs to
37844ab
    read-only values (GH#21); schmorp thinks that overloading is broken with
37844ab
    this patch, but reblessing and breaking read-only is worse
37844ab
  - Stabilize Test::Kwalitee with missing XS dependencies
37844ab
  - Suggests common::sense, not recommend (GH#36)
37844ab
  - Boolean interop: use only JSON::PP::Boolean (GH#40)
37844ab
    - Remove our own JSON::XS::Boolean, and solely use JSON::PP::Boolean and
37844ab
      accept Mojo::JSON::_Bool (GH#37) and Types::Serialiser::Boolean, which is
37844ab
      aliased to JSON::PP::Boolean
37844ab
    - JSON::YAJL::Parser just produces an unbless IV (0|1)
37844ab
    - Fix overload of our bools
37844ab
    - Stringify true to "true", false to "0"
37844ab
    - Accept is_bool as method call also
37844ab
  - Implement native encode_sv of the internal sv_yes/sv_no values (GH#39) and
37844ab
    map them to json true/false (YAML::XS compatible)
37844ab
  - pod: add SECURITY CONSIDERATIONS; added a table of safe and unsafe
37844ab
    serializers for comparison (only JSON and Data::MessagePack are safe by
37844ab
    default)
37844ab
  - New feature: convert_blessed for encode; stringify overloaded perl objects
37844ab
    and with allow_blessed even without string overload (GH#37)
37844ab
  - New optional decode_json() argument to set allow_nonref as in RFC 7159 and
37844ab
    PHP; before 3.02, JSON::XS and Cpanel::JSON::XS always allowed nonref
37844ab
    values for decode_json due to an internal bug
25f5419
  - With canonical only skip hash keys sorting for actually tied hashes (GH#42)
37844ab
- Explicitly BR: perl-devel, needed for EXTERN.h
37844ab
8f7b7ba
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0115-4
8f7b7ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8f7b7ba
f856624
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.0115-3
f856624
- Perl 5.22 re-rebuild of bootstrapped packages
f856624
9281281
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.0115-2
9281281
- Perl 5.22 rebuild
9281281
b866e60
* Mon Feb  2 2015 Paul Howarth <paul@city-fan.org> - 3.0115-1
b866e60
- Update to 3.0115
b866e60
  - Fix stack corruption when encoding nested objects with FREEZE method
b866e60
    (GH#35)
b866e60
69a5a82
* Tue Jan  6 2015 Paul Howarth <paul@city-fan.org> - 3.0114-1
69a5a82
- Update to 3.0114
69a5a82
  - Fix bad powl() with Freebsd 10 -Duselongdouble; rather use strtold
69a5a82
    (GH#34, CPAN RT#101265)
69a5a82
fba9be6
* Thu Dec 18 2014 Paul Howarth <paul@city-fan.org> - 3.0113-1
fba9be6
- Update to 3.0113
fba9be6
  - Relax the tests for negative NaN in t/117_number.t, as BSDs also cannot
fba9be6
    deal with it (GH#33)
fba9be6
3ce4cc1
* Mon Dec 15 2014 Paul Howarth <paul@city-fan.org> - 3.0112-1
3ce4cc1
- Update to 3.0112
3ce4cc1
  - Change encode of numbers with dual-strings (int and float); integers and
3ce4cc1
    numbers are now not mishandled anymore by dual-vars' temporary string
3ce4cc1
    representations
3ce4cc1
  - Add t/117_numbers.t from JSON::PP (GH#10)
3ce4cc1
  - Change stringification of false and true to 0 and 1, matching upstream
3ce4cc1
    JSON and JSON::XS (GH#29); this didn't affect string comparisons, just e.g.
3ce4cc1
    print decode_json("false")
3ce4cc1
  - Tolerate literal ASCII TABs in strings in relaxed mode (GH#22) (from
3ce4cc1
    JSON::XS)
3ce4cc1
  - Revise pod, merge updates from JSON::XS
3ce4cc1
  - Fix pod typo (PR#30)
3ce4cc1
  - Fixed detecting 1.#INF/1.#IND on Windows (GH#28)
3ce4cc1
  - Also detect now -inf and -nan (GH#28)
3ce4cc1
  - Fixed STRINGIFY_INFNAN return string, length off by one (GH#28)
3ce4cc1
  - Fixed a non-C99 declaration error in XS.xs, broken with older MSVC
3ce4cc1
  - Add {get_,}stringify_infnan methods and use it in the test, now run-time
3ce4cc1
    (GH#32); mode 0: null, 1: stringify, 2: inf/nan (invalid JSON) as before
3ce4cc1
  - Fix t/117_number tests for Solaris and MSWin32
3ce4cc1
  - Improve docs
3ce4cc1
- Add patch to make NaN encoding tests TODO (GH#33)
3ce4cc1
2347e54
* Fri Nov 28 2014 Paul Howarth <paul@city-fan.org> - 3.0107-1
2347e54
- Update to 3.0107
2347e54
  - Fix fatal stack corruption with perl callbacks in list context (GH#27)
2347e54
19db9c8
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 3.0106-1
19db9c8
- Update to 3.0106
19db9c8
  - More minor doc improvements (GH#26)
19db9c8
9572c40
* Thu Nov  6 2014 Paul Howarth <paul@city-fan.org> - 3.0105-1
9572c40
- Update to 3.0105
9572c40
  - Minor doc improvements (GH#25)
9572c40
  - Fix d_Gconvert test in t/11_pc_expo.t for 5.6
9572c40
- Upstream no longer shipping SIGNATURE file
9572c40
- Use %%license where possible
9572c40
07af685
* Wed Oct 22 2014 Petr Pisar <ppisar@redhat.com> - 3.0104-5
07af685
- Break build cycles
07af685
7f135ba
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.0104-4
7f135ba
- Perl 5.20 rebuild
7f135ba
dc74ff5
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0104-3
dc74ff5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
dc74ff5
acdd78b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0104-2
acdd78b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
acdd78b
b50d30a
* Sat Apr 26 2014 Paul Howarth <paul@city-fan.org> - 3.0104-1
b50d30a
- Update to 3.0104
b50d30a
  - Add t/z_leaktrace.t
b50d30a
  - Restore build on C89
b50d30a
  - Fix small cxt->sv_json leak on interp exit
b50d30a
0237a93
* Tue Apr 22 2014 Paul Howarth <paul@city-fan.org> - 3.0103-1
0237a93
- Update to 3.0103
0237a93
  - Change booleans interop logic (again) for JSON-XS-3.01
0237a93
    - Check now for Types::Serialiser::Boolean i.e. JSON::PP::Boolean refs
0237a93
      (https://github.com/rurban/Cpanel-JSON-XS/issues/18) to avoid
0237a93
      allow_blessed for JSON-XS-3.01 booleans
0237a93
  - Fix boolean representation for JSON-XS-3.01/Types::Serialiser::Boolean
0237a93
    interop (arrayref, not hashref)
0237a93
  - Add t/52_object.t from JSON::XS
0237a93
  - Backport encode_hv HE sort on stack < 64 or heap to avoid stack overflows
0237a93
    from JSON-XS-3.01; do not use alloca
0237a93
  - Backport allow_tags, decode_tag, FREEZE/THAW callbacks from JSON-XS-3.01
0237a93
  - Added pod for OBJECT SERIALISATION (allow_tags, FREEZE/THAW)
0237a93
2ae1fcb
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 3.0102-1
2ae1fcb
- Update to 3.0102
2ae1fcb
  - Added PERL_NO_GET_CONTEXT for better performance on threaded Perls
2ae1fcb
  - MANIFEST: added t/96_interop.t
2ae1fcb
  - Document deprecated functions
2ae1fcb
  - Change booleans interop logic for JSON-XS-3.01
2ae1fcb
- Enable CLZF support via Compress::LZF
2ae1fcb
76ce489
* Wed Apr 16 2014 Paul Howarth <paul@city-fan.org> - 3.0101-1
76ce489
- Update to 3.0101
76ce489
  - Added ithreads support: Cpanel::JSON::XS is now thread-safe
76ce489
  - const'ed a translation table for memory savings
76ce489
  - Fixed booleans for JSON 2.9 and JSON-XS-3.01 interop; JSON does not
76ce489
    support JSON::XS booleans anymore, so I cannot think of any reason to
76ce489
    still use JSON::XS
76ce489
f40360d
* Thu Apr 10 2014 Paul Howarth <paul@city-fan.org> - 2.3404-2
f40360d
- Incorporate feedback from package review (#1085975)
f40360d
  - Simplify %%summary
f40360d
  - Temporarily drop Compress::LZF format support from cpanel_json_xs client
f40360d
  - Add optional dependencies for module, tests and cpanel_json_xs client
f40360d
f40360d
* Wed Apr  9 2014 Paul Howarth <paul@city-fan.org> - 2.3404-1
f40360d
- Initial RPM version