Skip to content

fix: update default Angular Runtime version#1488

Merged
hrishikesh-k merged 1 commit into
mainfrom
hk/angular-runtime
Jun 1, 2026
Merged

fix: update default Angular Runtime version#1488
hrishikesh-k merged 1 commit into
mainfrom
hk/angular-runtime

Conversation

@hrishikesh-k
Copy link
Copy Markdown
Contributor

Thanks for contributing the Netlify plugins directory!

Are you adding a plugin or updating one?

  • Adding a plugin
  • Updating a plugin

Have you completed the following?

Test plan
https://app.netlify.com/projects/angular-runtime-demo/deploys/6a1d7dc47e89880008e9979d

@hrishikesh-k hrishikesh-k requested a review from a team as a code owner June 1, 2026 12:49
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for netlify-plugins ready!

Name Link
🔨 Latest commit 7cdbd67
🔍 Latest deploy log https://app.netlify.com/projects/netlify-plugins/deploys/6a1d7fc0d2a0d70008977709
😎 Deploy Preview https://deploy-preview-1488--netlify-plugins.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 1, 2026

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated Angular Runtime plugin to version 4.0.0.

Walkthrough

This PR updates the Angular Runtime plugin version in site/plugins.json from 3.0.1 to 4.0.0. The change reflects a single version field modification in the plugins registry configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: updating the default Angular Runtime version from 3.0.1 to 4.0.0.
Description check ✅ Passed The description is related to the changeset, following the plugin contribution template and confirming testing of the updated plugin version.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hk/angular-runtime

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@site/plugins.json`:
- Line 681: The Angular Runtime entry with "version": "4.0.0" in
site/plugins.json is missing a compatibility/migration guidance entry; add a
"compatibility": [...] object for the `@netlify/angular-runtime` v4.0.0 record
that includes a migrationGuide pointing to the release notes (e.g.,
https://github.com/netlify/angular-runtime/releases/tag/v4.0.0) and, optionally,
nodeVersion: ">=22.0.0" so consumers see the breaking changes (locate the record
by the version "4.0.0" and the `@netlify/angular-runtime` plugin name).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8ebe2575-0493-40d1-991d-f91945289956

📥 Commits

Reviewing files that changed from the base of the PR and between ea67aa2 and 7cdbd67.

📒 Files selected for processing (1)
  • site/plugins.json

Comment thread site/plugins.json
"package": "@netlify/angular-runtime",
"repo": "https://github.com/netlify/angular-runtime",
"version": "3.0.1"
"version": "4.0.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify `@netlify/angular-runtime`@4.0.0 exists and check for migration guide

echo "Checking if `@netlify/angular-runtime`@4.0.0 exists on npm..."
npm view `@netlify/angular-runtime`@4.0.0 version 2>/dev/null

echo -e "\nFetching available versions..."
npm view `@netlify/angular-runtime` versions --json | jq -r '.[]' | tail -10

echo -e "\nChecking repository for migration documentation..."
gh api repos/netlify/angular-runtime/releases --jq '.[] | select(.tag_name | contains("4.0")) | {tag_name, name, body}' | head -50

Repository: netlify/plugins

Length of output: 1768


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Locate how compatibility objects are structured in site/plugins.json
file="site/plugins.json"

echo "compatibility occurrences (showing nearby lines):"
rg -n '"compatibility"\s*:' "$file" | head -n 20

echo -e "\nShow Gatsby/Nextjs example blocks around first few compatibility occurrences:"
# Print a few relevant slices
for l in $(rg -n '"compatibility"\s*:' "$file" | head -n 5 | cut -d: -f1); do
  start=$((l-5)); end=$((l+25))
  echo -e "\n--- $file lines $start-$end (around $l) ---"
  sed -n "${start},${end}p" "$file" | nl -ba -w2 -s': ' | head -n 70
done

Repository: netlify/plugins

Length of output: 547


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="site/plugins.json"

echo "== compatibility key occurrences (first 15) =="
rg -n '"compatibility"\s*:' "$file" | head -n 15

echo -e "\n== compatibility blocks: show lines around first 4 occurrences =="
for l in $(rg -n '"compatibility"\s*:' "$file" | head -n 4 | cut -d: -f1); do
  start=$((l-5)); end=$((l+25))
  echo -e "\n--- $file lines $start-$end ---"
  sed -n "${start},${end}p" "$file" | awk '{printf "%6d: %s\n", NR+('$start'-1), $0}'
done

echo -e "\n== `@netlify/angular-runtime` entry around line 681 =="
sed -n '660,705p' "$file" | awk '{printf "%6d: %s\n", NR+660-1, $0}'

echo -e "\n== Search for angular-runtime entry =="
rg -n '"`@netlify/angular-runtime`"' "$file" -n

Repository: netlify/plugins

Length of output: 7908


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="site/plugins.json"

echo "== Find nodeVersion usage inside compatibility entries =="
rg -n '"nodeVersion"\s*:' "$file" | head -n 30

echo -e "\n== Find any migrationGuide values that point to GitHub releases tags =="
rg -n '"migrationGuide"\s*:\s*"https?://github\.com/.*/releases/tag/' "$file" | head -n 30

echo -e "\n== Find any migrationGuide values that point to github compare links =="
rg -n '"migrationGuide"\s*:\s*"https?://github\.com/.*/compare/' "$file" | head -n 30

echo -e "\n== Show full Angular Runtime entry (name/package/repo/version) =="
rg -n '"name": "Angular Runtime"' -n "$file"
start=$(rg -n '"name": "Angular Runtime"' "$file" | head -n 1 | cut -d: -f1)
sed -n "${start},$((start+25))p" "$file"

Repository: netlify/plugins

Length of output: 791


Add missing compatibility/migration guidance for @netlify/angular-runtime@4.0.0
@netlify/angular-runtime@4.0.0 exists on npm and its v4.0.0 release notes include breaking changes (Node 22+ / ESM). Add a "compatibility": [...] entry to the Angular Runtime record in site/plugins.json for "version": "4.0.0" including migrationGuide (e.g., https://github.com/netlify/angular-runtime/releases/tag/v4.0.0), optionally with nodeVersion: ">=22.0.0".

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/plugins.json` at line 681, The Angular Runtime entry with "version":
"4.0.0" in site/plugins.json is missing a compatibility/migration guidance
entry; add a "compatibility": [...] object for the `@netlify/angular-runtime`
v4.0.0 record that includes a migrationGuide pointing to the release notes
(e.g., https://github.com/netlify/angular-runtime/releases/tag/v4.0.0) and,
optionally, nodeVersion: ">=22.0.0" so consumers see the breaking changes
(locate the record by the version "4.0.0" and the `@netlify/angular-runtime`
plugin name).

@hrishikesh-k hrishikesh-k merged commit b511e11 into main Jun 1, 2026
7 of 8 checks passed
@hrishikesh-k hrishikesh-k deleted the hk/angular-runtime branch June 1, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants