From e3a50f9779462881befe2e93f9450a0f5cff4106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 6 Nov 2026 21:45:53 +0400 Subject: [PATCH] Upgrade Sockethub to 5.0.0-beta.2 Bump the npm version to 5.0.0-beta.2 and enable the new @sockethub/platform-email platform. Also track Node.js 24.22.2 in the repo-major selector. The configuration schema change between beta.0 and beta.2 is purely additive, so the generated sockethub.config.json stays valid. Verified on sockethub-1: service active, /health ok, all platforms loaded at *-beta.2. --- site-cookbooks/sockethub/CHANGELOG.md | 5 +++++ site-cookbooks/sockethub/README.md | 2 +- site-cookbooks/sockethub/attributes/default.rb | 3 ++- site-cookbooks/sockethub/metadata.rb | 2 +- site-cookbooks/sockethub/recipes/default.rb | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/site-cookbooks/sockethub/CHANGELOG.md b/site-cookbooks/sockethub/CHANGELOG.md index 66af729..713a3d9 100644 --- a/site-cookbooks/sockethub/CHANGELOG.md +++ b/site-cookbooks/sockethub/CHANGELOG.md @@ -1,6 +1,11 @@ CHANGELOG ========= +0.5.0 +----- +- Update to sockethub 5.0.0-beta.2 +- Enable the `@sockethub/platform-email` platform + 0.4.0 ----- - Update to sockethub 5.0.0-beta.0 diff --git a/site-cookbooks/sockethub/README.md b/site-cookbooks/sockethub/README.md index 969be3b..ddc6059 100644 --- a/site-cookbooks/sockethub/README.md +++ b/site-cookbooks/sockethub/README.md @@ -10,7 +10,7 @@ Attributes | Key | Type | Description | Default | | --- | --- | --- | --- | -| `['sockethub']['version']` | String | The npm version of sockethub to install | `5.0.0-beta.0` | +| `['sockethub']['version']` | String | The npm version of sockethub to install | `5.0.0-beta.2` | | `['sockethub']['port']` | Integer | The local port to run sockethub on | `10550` | | `['sockethub']['domain']` | String | The public domain served by the openresty proxy | `sockethub.kosmos.org` | | `['sockethub']['log_level']` | String | Console log level (error, warn, info, debug) | `info` | diff --git a/site-cookbooks/sockethub/attributes/default.rb b/site-cookbooks/sockethub/attributes/default.rb index 76b08ef..2424bf3 100644 --- a/site-cookbooks/sockethub/attributes/default.rb +++ b/site-cookbooks/sockethub/attributes/default.rb @@ -1,4 +1,4 @@ -node.default['sockethub']['version'] = '5.0.0-beta.0' +node.default['sockethub']['version'] = '5.0.0-beta.2' node.default['sockethub']['port'] = '10550' node.default['sockethub']['domain'] = 'sockethub.kosmos.org' node.default['sockethub']['log_level'] = 'info' @@ -15,6 +15,7 @@ node.default['sockethub']['about'] = { node.default['sockethub']['platforms'] = [ '@sockethub/platform-carddav', '@sockethub/platform-caldav', + '@sockethub/platform-email', '@sockethub/platform-feeds', '@sockethub/platform-irc', '@sockethub/platform-metadata', diff --git a/site-cookbooks/sockethub/metadata.rb b/site-cookbooks/sockethub/metadata.rb index b586bfb..3e12acc 100644 --- a/site-cookbooks/sockethub/metadata.rb +++ b/site-cookbooks/sockethub/metadata.rb @@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org' license 'MIT' description 'Installs/Configures sockethub' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.4.0' +version '0.5.0' depends 'firewall' depends 'kosmos-base' diff --git a/site-cookbooks/sockethub/recipes/default.rb b/site-cookbooks/sockethub/recipes/default.rb index 5a86cdc..29e67b7 100644 --- a/site-cookbooks/sockethub/recipes/default.rb +++ b/site-cookbooks/sockethub/recipes/default.rb @@ -3,7 +3,7 @@ # Recipe:: default # -node.override["kosmos_nodejs"]["version"] = "24.22.1" +node.override["kosmos_nodejs"]["version"] = "24.22.2" include_recipe 'kosmos-nodejs' user = "sockethub"