LearnNewsExamplesServices
Frontmatter
id8437
titleRemove redundant version field from Release Index and Model
stateClosed
labels
airefactoring
assigneestobiu
createdAtJan 8, 2026, 8:23 PM
updatedAtJan 8, 2026, 8:26 PM
githubUrlhttps://github.com/neomjs/neo/issues/8437
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 8:25 PM

Remove redundant version field from Release Index and Model

Closed v11.19.0 airefactoring
tobiu
tobiu commented on Jan 8, 2026, 8:23 PM

Simplify buildScripts/createReleaseIndex.mjs by removing the redundant version field from the generated JSON index, as name provides the same value for release nodes.

Also update Portal.model.Release to remove the now unused version field definition, and update Portal.view.news.release.MainContainerController to use id (or name) instead of version for routing.

tobiu added the ai label on Jan 8, 2026, 8:23 PM
tobiu added the refactoring label on Jan 8, 2026, 8:23 PM
tobiu referenced in commit 7253f92 - "refactor: Remove redundant version field from Release Index and Model (#8437)" on Jan 8, 2026, 8:25 PM
tobiu
tobiu Jan 8, 2026, 8:25 PM

Input from Gemini 3 Pro:

✦ Fixed in 7253f9238.

  1. Modified buildScripts/createReleaseIndex.mjs to remove the version field from the generated JSON (it duplicates name for leaves).
  2. Updated apps/portal/model/Release.mjs to remove the version field definition.
  3. Updated apps/portal/view/news/release/MainContainerController.mjs to use .id instead of .version for routing.
tobiu closed this issue on Jan 8, 2026, 8:25 PM
tobiu assigned to @tobiu on Jan 8, 2026, 8:26 PM