Skip to content

Commit cb8ef32

Browse files
committed
Bump version to 2.1.8 for release to CPAN
1 parent d79d3b9 commit cb8ef32

File tree

2 files changed

+65
-2
lines changed

2 files changed

+65
-2
lines changed

Changes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,68 @@
11
Revision history for Net-Jabber-Bot
22

3+
2.1.8 2026-03-20 Todd Rinaldo
4+
5+
[Fixes]
6+
- #12 Fix broken reconnection (called nonexistent InitJabber), fix
7+
IsConnected always returning truthy, handle undef jabber_client
8+
after disconnect, and plug memory leak in messages_sent_today (PR #18)
9+
- #14 Fix GTalk connection failures and from_full operator precedence bug
10+
that returned only the username instead of user@server/alias (PR #16)
11+
- #9 Update POD docs to match newline-preserving regex behavior and add
12+
multiline message tests (PR #19)
13+
- #28 Remove legacy developer names from bot_example.pl AUTHOR section
14+
(PR #29)
15+
- #30 Migrate from Moose to Moo, replace MooseX::Types with
16+
Type::Tiny/Types::Standard, remove Config::Std dependency (PR #47)
17+
- #37 Remove disproportionate sleep 30 from BUILD legacy parameter
18+
handling (PR #43)
19+
- #38 Fix MockJabberClient::Disconnect setting is_connected=1 instead
20+
of 0 (PR #44)
21+
- #39 Add missing RosterDB/RosterRequest/RosterDBJIDs stubs to mock
22+
client (PR #45)
23+
- #40 Fix uninitialized value warnings from .= on fresh variables in
24+
tests (PR #42)
25+
- #48 Suppress 'Subroutine redefined' warnings in MockJabberClient
26+
(PR #50)
27+
- #32 Eliminate unnecessary sleeps from mock test suite, cutting runtime
28+
from ~120s to ~60s (PR #51)
29+
- Fix four bugs in Bot.pm: broken string interpolation of method call,
30+
typo in error message, variable shadowing in SetForumSubject, and crash
31+
on reconnect from undefined background_function (PR #20)
32+
- Mask plaintext password in DEBUG log output and fix operator precedence
33+
bug (PR #26)
34+
- ReconnectToServer now survives _init_jabber failures instead of
35+
dying on transient server outages; partial jabber_client state is
36+
cleaned up and the retry loop continues with exponential backoff.
37+
Also fixes $] version formatting in IQ responses. (PR #53)
38+
- Don't count unsent messages toward the hourly rate limit;
39+
_send_individual_message was incrementing the counter before checking
40+
IsConnected, which could exhaust the limit during disconnection and
41+
block legitimate messages after reconnection. (PR #54)
42+
43+
[Improvements]
44+
- #13 Add optional $from parameter to SendPersonalMessage,
45+
SendGroupMessage, and SendJabberMessage for relay bots (PR #17)
46+
- #36 Make auto-subscribe to presence requests configurable via new
47+
auto_subscribe attribute (PR #46)
48+
49+
[Maintenance]
50+
- #23 Consolidate three CI workflows into single testsuite.yml, update
51+
actions/checkout v1→v4, use perldocker/perl-tester images, add
52+
dynamic perl-actions/perl-versions matrix (PR #24)
53+
- #33 Extend CI test matrix back to Perl 5.10 (PR #52)
54+
- Modernize Makefile.PL: separate TEST_REQUIRES, add CONFIGURE_REQUIRES,
55+
MIN_PERL_VERSION, upgrade META_MERGE to meta-spec v2 (PR #21)
56+
- Modernize POD: fix typos, update URLs to cpan-authors org, fix command
57+
injection in bot_example.pl, fix string comparison bug in
58+
gtalk_RSSbot.pl (PR #22)
59+
- Add cpanfile for modern CI dependency management (PR #24)
60+
- Add CLAUDE.md with project conventions (PR #25)
61+
- Move README.md to .github
62+
- New test: t/07-test_reconnect_failure.t for reconnection resilience
63+
- New test: t/07-test_disconnect_message_count.t for rate-limit
64+
accounting during disconnection
65+
366
2.1.7 2020-11-05 Todd Rinaldo
467
- #15 Fix _send_individual_message to not strip new lines.
568

lib/Net/Jabber/Bot.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ Net::Jabber::Bot - Automated Bot creation with safeties
100100
101101
=head1 VERSION
102102
103-
Version 2.1.7
103+
Version 2.1.8
104104
105105
=cut
106106

107-
our $VERSION = '2.1.7';
107+
our $VERSION = '2.1.8';
108108

109109
=head1 SYNOPSIS
110110

0 commit comments

Comments
 (0)