diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9a192c..9793e8d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -82,6 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
+| 5.18.7 | 2023-06-28 | `osInfo()` added macOS Sonoma code name (mac OS) |
| 5.18.6 | 2023-06-28 | `graphics()` fixed catched errors (mac OS) |
| 5.18.5 | 2023-06-26 | `cpu()` fixed parsing (mac OS) |
| 5.18.4 | 2023-06-22 | `graphics()` fixed parsing (mac OS) |
diff --git a/docs/history.html b/docs/history.html
index 41e55bf..ddb7d82 100644
--- a/docs/history.html
+++ b/docs/history.html
@@ -57,6 +57,11 @@
+
+ | 5.18.7 |
+ 2023-07-12 |
+ osInfo() added macOS Sonoma code name (mac OS) |
+
| 5.18.6 |
2023-06-28 |
diff --git a/docs/index.html b/docs/index.html
index cebd754..cb89cc2 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -170,7 +170,7 @@
systeminformation
- New Version: 5.18.6
+ New Version: 5.18.7
@@ -212,7 +212,7 @@
Downloads last month
diff --git a/lib/index.d.ts b/lib/index.d.ts
index 70424a6..634f6fe 100644
--- a/lib/index.d.ts
+++ b/lib/index.d.ts
@@ -2,6 +2,8 @@
// Project: https://github.com/sebhildebrandt/systeminformation
// Definitions by: sebhildebrandt
+///
+
export namespace Systeminformation {
// 1. General
diff --git a/lib/osinfo.js b/lib/osinfo.js
index 11f2a00..7f588d5 100644
--- a/lib/osinfo.js
+++ b/lib/osinfo.js
@@ -314,6 +314,7 @@ function osInfo(callback) {
result.codename = (result.release.startsWith('11.') ? 'macOS Big Sur' : result.codename);
result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename);
result.codename = (result.release.startsWith('13.') ? 'macOS Ventura' : result.codename);
+ result.codename = (result.release.startsWith('14.') ? 'macOS Sonoma' : result.codename);
result.uefi = true;
result.codepage = util.getCodepage();
if (callback) {