@luckydraw/cumulus 0.31.2 → 0.31.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.31.3
4
+
5
+ - Fix: changelog popover now renders release notes correctly (previously showed `[object Object]` for every entry)
6
+
3
7
  ## v0.31.2
4
8
 
5
9
  - Changelog popover in the web chat topbar — click the version to see what's changed across recent releases
@@ -4135,7 +4135,7 @@
4135
4135
  escapeHtml(entry.version) +
4136
4136
  '</div>' +
4137
4137
  '<div class="cumulus-changelog-entry-notes">' +
4138
- renderMarkdown(entry.notes || '') +
4138
+ renderMarkdown(entry.notes || '').html +
4139
4139
  '</div>' +
4140
4140
  '</div>';
4141
4141
  }
@@ -4168,8 +4168,7 @@
4168
4168
 
4169
4169
  var body = changelogPopover.querySelector('[data-testid="webchat-changelog-body"]');
4170
4170
  var vEl = document.querySelector('[data-testid="webchat-version"]');
4171
- var currentVersion =
4172
- vEl && vEl.textContent ? vEl.textContent.replace(/^v/, '').trim() : '';
4171
+ var currentVersion = vEl && vEl.textContent ? vEl.textContent.replace(/^v/, '').trim() : '';
4173
4172
  var render = function (entries) {
4174
4173
  if (!body) return;
4175
4174
  body.innerHTML = renderChangelogEntries(entries, currentVersion);
@@ -4188,8 +4187,7 @@
4188
4187
  })
4189
4188
  .catch(function () {
4190
4189
  if (body)
4191
- body.innerHTML =
4192
- '<div class="cumulus-changelog-error">Failed to load changelog.</div>';
4190
+ body.innerHTML = '<div class="cumulus-changelog-error">Failed to load changelog.</div>';
4193
4191
  });
4194
4192
  }
4195
4193
  if (changelogBtn) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luckydraw/cumulus",
3
- "version": "0.31.2",
3
+ "version": "0.31.3",
4
4
  "description": "RLM-based CLI chat wrapper for Claude with external history context management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",