Skip to content

Commit cd403db

Browse files
committed
feat(release): release 2.8.37
- refactor: replace system calls (whoami, hostname, printenv) with native Core Perl functions. - chore: bump version to 2.8.37.
1 parent 747ac86 commit cd403db

6 files changed

Lines changed: 66 additions & 13 deletions

File tree

.agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ This directory contains the project's technical constitution, specialized skills
5555

5656

5757
---
58-
*Generated automatically by `/doc-sync` on Fri Feb 13 09:11:08 CET 2026*
58+
*Generated automatically by `/doc-sync` on Sat Feb 14 11:35:52 CET 2026*

CURRENT_VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.36
1+
2.8.37

Changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.8.37 2026-02-14
2+
3+
- refactor: replace system calls (whoami, hostname, printenv) with native Core Perl functions.
4+
- chore: bump version to 2.8.37.
5+
16
2.8.36 2026-02-13
27

38
- fix: migrate CI workflows to native GitHub services to resolve Docker API version mismatch.

mysqltuner.pl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env perl
2-
# mysqltuner.pl - Version 2.8.36
2+
# mysqltuner.pl - Version 2.8.37
33
# High Performance MySQL Tuning Script
44
# Copyright (C) 2015-2026 Jean-Marie Renouard - jmrenouard@gmail.com
55
# Copyright (C) 2006-2026 Major Hayden - major@mhtx.net
@@ -47,6 +47,7 @@ package main;
4747
use File::Spec;
4848
use Getopt::Long;
4949
use Pod::Usage;
50+
use Sys::Hostname;
5051
use File::Basename;
5152
use Cwd 'abs_path';
5253

@@ -64,7 +65,7 @@ package main;
6465
our $is_win = $^O eq 'MSWin32';
6566

6667
# Set up a few variables for use in the script
67-
our $tunerversion = "2.8.36";
68+
our $tunerversion = "2.8.37";
6869
our ( @adjvars, @generalrec, @modeling, @sysrec, @secrec );
6970

7071
# Set defaults
@@ -700,8 +701,7 @@ sub setup_environment {
700701
$opt{nocolor} = 0 if ( ( $opt{color} // 0 ) == 1 );
701702

702703
# Setting up the colors for the print styles
703-
$me = execute_system_command('whoami');
704-
$me =~ s/\n//g;
704+
$me = ( getpwuid($<) )[0] // $ENV{USER} // $ENV{USERNAME} // 'unknown';
705705

706706
if ($is_win) { $opt{nocolor} = 1; }
707707
$good = ( $opt{nocolor} == 0 ) ? "[\e[0;32mOK\e[0m]" : "[OK]";
@@ -1889,7 +1889,7 @@ sub mysql_setup {
18891889
my $userpath =
18901890
$is_win
18911891
? ( $ENV{MARIADB_HOME} || $ENV{MYSQL_HOME} || $ENV{USERPROFILE} )
1892-
: execute_system_command("printenv HOME");
1892+
: ( $ENV{HOME} // '' );
18931893
if ( length($userpath) > 0 ) {
18941894
chomp($userpath);
18951895
}
@@ -1954,7 +1954,7 @@ sub mysql_setup {
19541954
? ( $ENV{MARIADB_HOME}
19551955
|| $ENV{MYSQL_HOME}
19561956
|| $ENV{USERPROFILE} )
1957-
: execute_system_command("printenv HOME");
1957+
: ( $ENV{HOME} // '' );
19581958
chomp($userpath);
19591959
unless ( -e "$userpath/.my.cnf" ) {
19601960
print STDERR "";
@@ -3131,14 +3131,14 @@ sub get_system_info {
31313131
? execute_system_command('ver')
31323132
: execute_system_command('uname -r');
31333133
infoprint "Kernel Release : " . infocmd_one "uname -r";
3134-
$result{'OS'}{'Hostname'} = execute_system_command('hostname');
3134+
$result{'OS'}{'Hostname'} = Sys::Hostname::hostname();
31353135
$result{'Network'}{'Internal Ip'} =
31363136
$is_win
31373137
? execute_system_command(
31383138
'ipconfig |perl -ne "if (/IPv. Address/) {print s/^.*?([\\d\\.]*)\\s*$/$1/r; exit; }"'
31393139
)
31403140
: execute_system_command('hostname -I');
3141-
infoprint "Hostname : " . infocmd_one "hostname";
3141+
infoprint "Hostname : " . Sys::Hostname::hostname();
31423142
infoprint "Network Cards : ";
31433143

31443144
if ( which( "ip", $ENV{'PATH'} ) ) {
@@ -9789,7 +9789,7 @@ sub dump_csv_files {
97899789
97909790
=head1 NAME
97919791
9792-
MySQLTuner 2.8.36 - MySQL High Performance Tuning Script
9792+
MySQLTuner 2.8.37 - MySQL High Performance Tuning Script
97939793
97949794
=head1 IMPORTANT USAGE GUIDELINES
97959795
@@ -9804,7 +9804,7 @@ =head1 OPTIONS
98049804
98059805
=head1 VERSION
98069806
9807-
Version 2.8.36
9807+
Version 2.8.37
98089808
=head1 PERLDOC
98099809
98109810
You can find documentation for this module with the perldoc command.

releases/v2.8.36.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,36 @@
2020
- docs: fix broken endoflife.date links in README files (Issue #877).
2121
```
2222

23+
## 📈 Diagnostic Growth Indicators
24+
25+
| Metric | Current | Progress | Status |
26+
| :--- | :--- | :--- | :--- |
27+
| Total Indicators | 12 | 0 | 🛡️ |
28+
| Efficiency Checks | 0 | 0 | 🛡️ |
29+
| Risk Detections | 2 | 0 | 🛡️ |
30+
| Information Points | 10 | 0 | 🛡️ |
31+
2332
## 🛠️ Internal Commit History
2433

25-
Initial release or no previous tag found.
34+
- feat(release): release 2.8.36 (2c1465c)
35+
- feat(update changelog and release notes for issue #877): docs (ce08d34)
36+
- fix(security): robust version-agnostic password column detection (Issue #22) (2450ebb)
37+
- docs: synchronize agent roadmap (8e207f7)
38+
- chore: fix typo in release-manager workflow (test-it -> test-all) (0c7a175)
39+
- docs: generate vulnerabilities list (6fc12e6)
40+
- docs: generate FEATURES.md (2b9415e)
41+
- chore: update Makefile to use Conventional Commits for generation targets (b00aedb)
42+
- style: tidy mysqltuner.pl (5ee6751)
43+
- feat: release 2.8.36 (0e84219)
44+
- fix: normalize CLI option keys in %opt to strip Getopt modifiers (79daa70)
45+
- docs: add systemic system call audit and core perl replacement candidates (daa60f8)
46+
- test: record laboratory audit findings in POTENTIAL_ISSUES (e801b8d)
47+
- chore: bump version to 2.8.36 (6a5b075)
2648

2749
## ⚙️ Technical Evolutions
2850

51+
*Internal logic hardening (no interface or diagnostic changes).*
52+
2953
## ✅ Laboratory Verification Results
3054

3155
- [x] Automated TDD suite passed.

releases/v2.8.37.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Release Notes - v2.8.37
2+
3+
**Date**: 2026-02-14
4+
5+
## 📝 Executive Summary
6+
7+
```text
8+
2.8.37 2026-02-14
9+
10+
- chore: bump version to 2.8.37.
11+
- refactor: replace system calls (whoami, hostname, printenv) with native Core Perl functions.
12+
```
13+
14+
## 🛠️ Internal Commit History
15+
16+
Initial release or no previous tag found.
17+
18+
## ⚙️ Technical Evolutions
19+
20+
## ✅ Laboratory Verification Results
21+
22+
- [x] Automated TDD suite passed.
23+
- [x] Multi-DB version laboratory execution validated.
24+
- [x] Performance indicator delta analysis completed.

0 commit comments

Comments
 (0)