| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/release-notes", |
| 5 |
"title": "Release Notes", |
| 6 |
"description": "Structured software or product release notes with versioned sections: Added, Changed, Fixed, Removed, Security, and Deprecated.", |
| 7 |
"category": "bkbg-blog", |
| 8 |
"icon": "list-view", |
| 9 |
"keywords": [ |
| 10 |
"release", |
| 11 |
"changelog", |
| 12 |
"version", |
| 13 |
"notes", |
| 14 |
"update", |
| 15 |
"patch", |
| 16 |
"semver" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-release-notes-editor", |
| 20 |
"editorStyle": "bkbg-release-notes-style", |
| 21 |
"style": "bkbg-release-notes-style", |
| 22 |
"viewScript": "bkbg-release-notes-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"productName": { |
| 34 |
"type": "string", |
| 35 |
"default": "Acme App" |
| 36 |
}, |
| 37 |
"version": { |
| 38 |
"type": "string", |
| 39 |
"default": "2.5.0" |
| 40 |
}, |
| 41 |
"releaseDate": { |
| 42 |
"type": "string", |
| 43 |
"default": "February 24, 2026" |
| 44 |
}, |
| 45 |
"releaseType": { |
| 46 |
"type": "string", |
| 47 |
"default": "minor" |
| 48 |
}, |
| 49 |
"showMeta": { |
| 50 |
"type": "boolean", |
| 51 |
"default": true |
| 52 |
}, |
| 53 |
"showReleaseType": { |
| 54 |
"type": "boolean", |
| 55 |
"default": true |
| 56 |
}, |
| 57 |
"intro": { |
| 58 |
"type": "string", |
| 59 |
"default": "This release brings significant improvements to performance, several new developer-facing APIs, and fixes a number of reported issues. We recommend all users upgrade." |
| 60 |
}, |
| 61 |
"showIntro": { |
| 62 |
"type": "boolean", |
| 63 |
"default": true |
| 64 |
}, |
| 65 |
"sections": { |
| 66 |
"type": "array", |
| 67 |
"default": [ |
| 68 |
{ |
| 69 |
"type": "added", |
| 70 |
"items": [ |
| 71 |
"New REST API endpoint `/api/v2/users/search` with full-text filtering", |
| 72 |
"Dark mode support across the entire admin interface", |
| 73 |
"Webhook support for real-time event notifications" |
| 74 |
] |
| 75 |
}, |
| 76 |
{ |
| 77 |
"type": "changed", |
| 78 |
"items": [ |
| 79 |
"Improved pagination performance on large datasets (up to 4× faster)", |
| 80 |
"Updated authentication flow to use OAuth 2.1" |
| 81 |
] |
| 82 |
}, |
| 83 |
{ |
| 84 |
"type": "fixed", |
| 85 |
"items": [ |
| 86 |
"Fixed a race condition in the export pipeline that occasionally produced empty files", |
| 87 |
"Resolved incorrect timezone handling in scheduled tasks" |
| 88 |
] |
| 89 |
}, |
| 90 |
{ |
| 91 |
"type": "security", |
| 92 |
"items": [ |
| 93 |
"Patched XSS vulnerability in the comment rendering module (CVE-2025-1234)" |
| 94 |
] |
| 95 |
} |
| 96 |
] |
| 97 |
}, |
| 98 |
"changelogUrl": { |
| 99 |
"type": "string", |
| 100 |
"default": "" |
| 101 |
}, |
| 102 |
"compareUrl": { |
| 103 |
"type": "string", |
| 104 |
"default": "" |
| 105 |
}, |
| 106 |
"showLinks": { |
| 107 |
"type": "boolean", |
| 108 |
"default": true |
| 109 |
}, |
| 110 |
"layout": { |
| 111 |
"type": "string", |
| 112 |
"default": "stacked" |
| 113 |
}, |
| 114 |
"fontSize": { |
| 115 |
"type": "number", |
| 116 |
"default": 14 |
| 117 |
}, |
| 118 |
"titleFontSize": { |
| 119 |
"type": "number", |
| 120 |
"default": 24 |
| 121 |
}, |
| 122 |
"lineHeight": { |
| 123 |
"type": "number", |
| 124 |
"default": 168 |
| 125 |
}, |
| 126 |
"borderRadius": { |
| 127 |
"type": "number", |
| 128 |
"default": 10 |
| 129 |
}, |
| 130 |
"itemSpacing": { |
| 131 |
"type": "number", |
| 132 |
"default": 6 |
| 133 |
}, |
| 134 |
"productNameSize": { |
| 135 |
"type": "number", |
| 136 |
"default": 13 |
| 137 |
}, |
| 138 |
"titleTypo": { |
| 139 |
"type": "object", |
| 140 |
"default": {} |
| 141 |
}, |
| 142 |
"bodyTypo": { |
| 143 |
"type": "object", |
| 144 |
"default": {} |
| 145 |
}, |
| 146 |
"bgColor": { |
| 147 |
"type": "string", |
| 148 |
"default": "#ffffff" |
| 149 |
}, |
| 150 |
"borderColor": { |
| 151 |
"type": "string", |
| 152 |
"default": "#e5e7eb" |
| 153 |
}, |
| 154 |
"headerBg": { |
| 155 |
"type": "string", |
| 156 |
"default": "#0f172a" |
| 157 |
}, |
| 158 |
"headerColor": { |
| 159 |
"type": "string", |
| 160 |
"default": "#ffffff" |
| 161 |
}, |
| 162 |
"introBg": { |
| 163 |
"type": "string", |
| 164 |
"default": "#f8fafc" |
| 165 |
}, |
| 166 |
"introColor": { |
| 167 |
"type": "string", |
| 168 |
"default": "#374151" |
| 169 |
}, |
| 170 |
"textColor": { |
| 171 |
"type": "string", |
| 172 |
"default": "#374151" |
| 173 |
}, |
| 174 |
"accentColor": { |
| 175 |
"type": "string", |
| 176 |
"default": "#3b82f6" |
| 177 |
}, |
| 178 |
"addedBg": { |
| 179 |
"type": "string", |
| 180 |
"default": "#dcfce7" |
| 181 |
}, |
| 182 |
"addedColor": { |
| 183 |
"type": "string", |
| 184 |
"default": "#14532d" |
| 185 |
}, |
| 186 |
"changedBg": { |
| 187 |
"type": "string", |
| 188 |
"default": "#dbeafe" |
| 189 |
}, |
| 190 |
"changedColor": { |
| 191 |
"type": "string", |
| 192 |
"default": "#1e3a8a" |
| 193 |
}, |
| 194 |
"fixedBg": { |
| 195 |
"type": "string", |
| 196 |
"default": "#fef9c3" |
| 197 |
}, |
| 198 |
"fixedColor": { |
| 199 |
"type": "string", |
| 200 |
"default": "#713f12" |
| 201 |
}, |
| 202 |
"removedBg": { |
| 203 |
"type": "string", |
| 204 |
"default": "#fee2e2" |
| 205 |
}, |
| 206 |
"removedColor": { |
| 207 |
"type": "string", |
| 208 |
"default": "#991b1b" |
| 209 |
}, |
| 210 |
"securityBg": { |
| 211 |
"type": "string", |
| 212 |
"default": "#f3e8ff" |
| 213 |
}, |
| 214 |
"securityColor": { |
| 215 |
"type": "string", |
| 216 |
"default": "#581c87" |
| 217 |
}, |
| 218 |
"deprecatedBg": { |
| 219 |
"type": "string", |
| 220 |
"default": "#f1f5f9" |
| 221 |
}, |
| 222 |
"deprecatedColor": { |
| 223 |
"type": "string", |
| 224 |
"default": "#475569" |
| 225 |
} |
| 226 |
} |
| 227 |
} |
| 228 |
|