public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Cpanel-JSON-XS] f45: Update to 4.51
Date: Sat, 12 Sep 2026 14:56:37 GMT [thread overview]
Message-ID: <178922499752.1.3183584049075043343.rpms-perl-Cpanel-JSON-XS-207a11fa86ee@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Cpanel-JSON-XS
Branch : f45
Commit : 207a11fa86eeb40b5a8a4a0eb28403d542810f93
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-09-12T15:42:57+01:00
Stats : +24/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Cpanel-JSON-XS/c/207a11fa86eeb40b5a8a4a0eb28403d542810f93?branch=f45
Log:
Update to 4.51
- New upstream release 4.51
- Add $json->encode_to($fh, $data, [$type]) to stream encoded JSON directly
to a filehandle instead of building the whole result in memory (GH#250,
GH#58); internally flushes a bounded 8k chunk buffer as it fills, keeping
peak memory bounded for large data structures
- Encoder performance improvements suggested in GH#237:
- Large-integer encoding now uses a 100-digit lookup table instead of
snprintf, roughly 2x faster for integers outside the existing branchless
small-integer fast path (|value| > 59000)
- encode_str now bulk-copies runs of consecutive bytes that need no
escaping instead of a need()+store per byte, notably faster for strings
with few or no characters to escape
- Added eg/bench_large.pl with results
- Add faster SIMD UTF-8 validation
(GH#213, https://github.com/cyb70289/utf8, MIT)
- Fix tests for yath (GH#255): the test files now work with Test2::Harness
instead of only Test::Harness, and a yath run is added to 'make xtest' when
yath is installed
- Skip one t/117_numbers.t test on Perls with 32-bit IVs (GH#254)
---
diff --git a/perl-Cpanel-JSON-XS.spec b/perl-Cpanel-JSON-XS.spec
index a23fd2b..fab882d 100644
--- a/perl-Cpanel-JSON-XS.spec
+++ b/perl-Cpanel-JSON-XS.spec
@@ -7,7 +7,7 @@
Name: perl-Cpanel-JSON-XS
Summary: JSON::XS for Cpanel, fast and correct serializing
-Version: 4.44
+Version: 4.51
Release: 1%{?dist}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Cpanel-JSON-XS
@@ -47,6 +47,7 @@ BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Devel::Peek)
BuildRequires: perl(Encode) >= 1.9081
+BuildRequires: perl(File::Temp)
BuildRequires: perl(lib)
BuildRequires: perl(POSIX)
BuildRequires: perl(Test)
@@ -164,6 +165,27 @@ make test
%{_mandir}/man3/Cpanel::JSON::XS::Type.3*
%changelog
+* Sat Sep 12 2026 Paul Howarth <paul@city-fan.org> - 4.51-1
+- Update to 4.51
+ - Add $json->encode_to($fh, $data, [$type]) to stream encoded JSON directly
+ to a filehandle instead of building the whole result in memory (GH#250,
+ GH#58); internally flushes a bounded 8k chunk buffer as it fills, keeping
+ peak memory bounded for large data structures
+ - Encoder performance improvements suggested in GH#237:
+ - Large-integer encoding now uses a 100-digit lookup table instead of
+ snprintf, roughly 2x faster for integers outside the existing branchless
+ small-integer fast path (|value| > 59000)
+ - encode_str now bulk-copies runs of consecutive bytes that need no
+ escaping instead of a need()+store per byte, notably faster for strings
+ with few or no characters to escape
+ - Added eg/bench_large.pl with results
+ - Add faster SIMD UTF-8 validation
+ (GH#213, https://github.com/cyb70289/utf8, MIT)
+ - Fix tests for yath (GH#255): the test files now work with Test2::Harness
+ instead of only Test::Harness, and a yath run is added to 'make xtest' when
+ yath is installed
+ - Skip one t/117_numbers.t test on Perls with 32-bit IVs (GH#254)
+
* Wed Sep 2 2026 Paul Howarth <paul@city-fan.org> - 4.44-1
- Update to 4.44
- Fix canonical sort infinite loop (GH#252): malformed UTF-8 keys (e.g.
diff --git a/sources b/sources
index 03c07dc..144a383 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Cpanel-JSON-XS-4.44.tar.gz) = 53a8643c2e5fb6e958e6d20cacb847a4863ff35c12f78c08fd705ec9ccf02f3baad0a6233c0cc572f2627187f0eb58e9f2fd7996ae45c3afa4b16796b508ed95
+SHA512 (Cpanel-JSON-XS-4.51.tar.gz) = fdaa2ae525eaff7292832691da272d2b349458916f318b0381e34ed7d5f00511ee81523c283174118ca047cd452e717be68dd7e81b06209f034f0cdd94977029
reply other threads:[~2026-09-12 14:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178922499752.1.3183584049075043343.rpms-perl-Cpanel-JSON-XS-207a11fa86ee@fedoraproject.org \
--to=paul@city-fan.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox