Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
eaed7d3
Enhance CodeQL with telemetry logging and error handling (#1279)
amitjoshi438 Sep 2, 2025
8230f26
[PowerPages][BL] Refactor completion item handling for namespaces and…
amitjoshi438 Sep 2, 2025
76eb6d7
[PowerPages][ActionsHub][Codespaces] Update Actions Hub visibility co…
amitjoshi438 Sep 2, 2025
962ede1
Update localization pipeline node version (#1287)
priyanshu92 Sep 3, 2025
df15218
Fix token handling in localization update workflow (#1288)
priyanshu92 Sep 3, 2025
94c5c70
Remove paths-ignore from PullRequest workflow (#1290)
priyanshu92 Sep 3, 2025
68b5f70
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Sep 3, 2025
32c0dc3
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Sep 4, 2025
0f7d716
Bump PAC to 1.48.2 (#1293)
priyanshu92 Sep 4, 2025
510b389
[Uri Handler] Refactoring Error Handling and Experience (#1291)
amitjoshi438 Sep 5, 2025
59beebd
Enhance website data retrieval with fallback support and new Git ALM …
amitjoshi438 Sep 5, 2025
20ad9ff
Refactor CodeQL screening and clean up dispose method (#1297)
amitjoshi438 Sep 9, 2025
d85e5a1
Update CHANGELOG for pac CLI 1.48.2 release (#1298)
amitjoshi438 Sep 9, 2025
55c0872
Add user roles and authentication token to Server API definitions (#1…
amitjoshi438 Sep 10, 2025
5ce555d
Update CHANGELOG for pac CLI version bump to 2.0.100 (#1301)
amitjoshi438 Sep 10, 2025
f749b2c
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Sep 10, 2025
c6b2117
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Sep 11, 2025
e7896ea
Refactor HTTP method names for new changes. (#1304)
amitjoshi438 Sep 12, 2025
e27ad13
Bump axios from 1.11.0 to 1.12.1 (#1305)
dependabot[bot] Sep 15, 2025
02b3ed4
Refactor CodeQL command execution for paths with spaces (#1306)
amitjoshi438 Sep 22, 2025
79a2ee8
Add welcome message for non-interactive login in actions hub (#1308)
amitjoshi438 Sep 23, 2025
24b32db
Preserve insertion order and add duplicate file handling feature flag…
amitjoshi438 Sep 24, 2025
fdf642d
Update CHANGELOG.md for version 2.0.102 with new features and bug fix…
amitjoshi438 Sep 24, 2025
c8a631e
Add comprehensive Memory Bank documentation (#1314)
priyanshu92 Sep 25, 2025
e424058
Add telemetry events for desktop opening actions (#1315)
amitjoshi438 Sep 26, 2025
75d03fa
Bump tar-fs from 3.1.0 to 3.1.1 (#1312)
dependabot[bot] Sep 29, 2025
478a1f5
Address CodeQL Issues (#1319)
sanxsth Sep 30, 2025
c38331c
Add automated workflows for release synchronization and manual syncin…
amitjoshi438 Sep 30, 2025
7033e0e
Update the Suppression Rule ID (#1321)
sanxsth Sep 30, 2025
8d6f983
Add mermaid code block for memory bank instructions (#1322)
priyanshu92 Oct 1, 2025
2e92b2a
Update GOV Instrumentation Key (#1323)
priyanshu92 Oct 6, 2025
33d9015
Bump PAC to 1.49.3 (#1324)
priyanshu92 Oct 7, 2025
60bec49
Update CHANGELOG for pac CLI 1.49.3 release (#1327)
amitjoshi438 Oct 8, 2025
42e6f17
Bump PAC to 1.49.4 (#1330)
priyanshu92 Oct 8, 2025
837cd4b
Update CHANGELOG for pac CLI 1.49.4 release (#1331)
amitjoshi438 Oct 8, 2025
5ede327
Remove redundant parameters when initializing for VS Code Web (#1325)
priyanshu92 Oct 8, 2025
8b93cbb
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Oct 8, 2025
adcf034
Update documentation for desktop and web extensions (#1334)
priyanshu92 Oct 9, 2025
8c52267
Add mapping for 'serverlogics' in DataverseEntityNameMap (#1335)
amitjoshi438 Oct 9, 2025
eb88acb
Add CodeQl and SARIF Viewer in Extension Pack (#1336)
amitjoshi438 Oct 9, 2025
492d2a3
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Oct 13, 2025
119d0ce
Bump PAC to 1.50.1 (#1341)
priyanshu92 Oct 27, 2025
5725a4e
Update CHANGELOG for pac CLI 1.50.1 release and Extension Pack additi…
amitjoshi438 Nov 10, 2025
22948b7
Revert 'Remove redundant parameters when initializing for VS Code Web…
amitjoshi438 Nov 14, 2025
1399d9d
Update CHANGELOG for version 2.0.109: add bug fix for VSCode Web laun…
amitjoshi438 Nov 14, 2025
ee140b4
Enhance documentation structure and clarity (#1350)
priyanshu92 Nov 18, 2025
f0a7958
Update unsupportedProDevCopilotGeoList fallback to empty string (#1351)
amitjoshi438 Nov 18, 2025
e41e443
Enhance authentication session handling (#1352)
priyanshu92 Nov 20, 2025
264e8c2
Updated server logic file to add customjs as suffix (#1353)
ashwani123p Nov 21, 2025
60f1568
Add MCP configuration for GitHub and Microsoft Docs (#1354)
priyanshu92 Nov 26, 2025
3dc4e15
Fix Invalid URL error in Page Template Autocomplete for VSCode Deskto…
Copilot Dec 4, 2025
5ac7725
Bump PAC to 1.51.1 (#1355)
priyanshu92 Dec 9, 2025
2fd0e66
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 9, 2025
a629ac2
Refactor Actions Hub (#1360)
priyanshu92 Dec 9, 2025
b729a60
Update CHANGELOG.md for version 2.0.110 with bug fix for page-templat…
amitjoshi438 Dec 9, 2025
3875aef
Add support for optional parameters and new EnvironmentVariable metho…
amitjoshi438 Dec 9, 2025
2508d33
Update CHANGELOG.md for version 2.0.111 with pac CLI 1.51.1 (#1364)
amitjoshi438 Dec 10, 2025
85b0a07
[Powerpages] Add support for blogs, ideas & forums entity in web ext …
amitjoshi438 Dec 10, 2025
c006bf9
[MDiff] Add compare with local action in Power Pages Actions (#1363)
priyanshu92 Dec 15, 2025
07e29d5
Updated schema of server logic for sdm sites (#1373)
ashwani123p Dec 16, 2025
3136f62
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 16, 2025
092ae7e
[MDiff] Add metadata diff file decoration and view mode handlers (#1366)
priyanshu92 Dec 16, 2025
9c8c949
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 17, 2025
34b8ac6
Add permissions section to GitHub workflows (#1382)
priyanshu92 Dec 17, 2025
e98177c
Potential fix for code scanning alert no. 33: Incomplete string escap…
priyanshu92 Dec 17, 2025
87d2857
[MDiff] Update metadata diff handlers and tests (#1376)
priyanshu92 Dec 17, 2025
95483db
Add missing loc files (#1383)
priyanshu92 Dec 17, 2025
81855b4
[MDiff] Hide discard actions for imported comparison (#1384)
priyanshu92 Dec 17, 2025
bbb4b98
Fix dependabot alerts (#1387)
priyanshu92 Dec 18, 2025
64a9288
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 18, 2025
656cb35
Fix remaining dependabot alerts (#1388)
priyanshu92 Dec 18, 2025
5e84b2a
Add Claude Code project instructions (#1389)
priyanshu92 Dec 18, 2025
18b3b50
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 19, 2025
41aaf89
[ServerLogic] Add Server Logic Debugger with CodeLens and Runtime Loa…
amitjoshi438 Dec 19, 2025
bda3173
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 22, 2025
71e8a2e
Add tenantId to initialization context in activate function (#1393)
amitjoshi438 Dec 22, 2025
b9e97b7
Add server logic debug command and welcome notification (#1394)
amitjoshi438 Dec 22, 2025
77cda07
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 23, 2025
553332c
Add URL-encoded body processing and refactor HTTP methods (#1397)
amitjoshi438 Dec 24, 2025
5de53d0
[Actions Hub] Implement pre-authentication for website fetching (#1398)
priyanshu92 Dec 24, 2025
418939b
[MDiff] Update command order (#1399)
priyanshu92 Dec 24, 2025
673c03c
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 26, 2025
4dbd2b7
Add input validation and error handling (#1402)
priyanshu92 Dec 26, 2025
e75f416
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 29, 2025
6154131
Update runtime loader filename in Server Logic debugger constants (#1…
amitjoshi438 Dec 30, 2025
e6c3000
[MDiff] Implement read-only file support in metadata diff (#1404)
priyanshu92 Dec 30, 2025
eaf8683
Add localization for server logic debugging commands and update RUNTI…
amitjoshi438 Dec 30, 2025
ee89dea
[MDiff] Add remote site information in HTML and JSON reports (#1405)
priyanshu92 Dec 30, 2025
7ef94ca
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Dec 31, 2025
c9da940
[MDiff] Update metadata diff labels and add clear functionality (#1409)
priyanshu92 Dec 31, 2025
7a57d7a
[MDiff] Add welcome experience and site-level discard functionality (…
priyanshu92 Jan 5, 2026
4f4dcbd
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 5, 2026
73f1c25
Fix qs vulnerability (#1415)
priyanshu92 Jan 5, 2026
ea4d407
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 6, 2026
2079bbd
Remove server logic debugging ECS flag (#1417)
amitjoshi438 Jan 6, 2026
cd8c0bb
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 8, 2026
2629c64
Bump PAC to 1.52.1 (#1420)
priyanshu92 Jan 8, 2026
84fde2f
[MDiff] Support comparing BYOC Sites (#1418)
priyanshu92 Jan 8, 2026
0eb6fbc
Update CHANGELOG for pac CLI 1.52.1 and other changes (#1421)
amitjoshi438 Jan 8, 2026
16e7bd4
Update CHANGELOG for version 2.0.116 (#1423)
amitjoshi438 Jan 8, 2026
1df7348
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 9, 2026
b969a33
Update multi-file fetch queries to use _adx_powerpagesiteid_value (#1…
amitjoshi438 Jan 12, 2026
e1c02e2
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 13, 2026
b3afee4
Fix high severity tar vulnerability (CVE-2026-23745) (#1433)
priyanshu92 Jan 19, 2026
0c1c6e4
Migrate Copilot instructions to Agents.md format (#1434)
priyanshu92 Jan 19, 2026
df67758
Replace CLAUDE.md with symlink to Agents.md (#1435)
priyanshu92 Jan 19, 2026
5a52d5c
Enable Metadata Diff comparison in VS Code Desktop (#1437)
priyanshu92 Jan 20, 2026
49a33bd
Enhance blog support feature integration (#1436)
amitjoshi438 Jan 20, 2026
f8041b4
Add large file handling for metadata diff reports (#1439)
priyanshu92 Jan 20, 2026
09847a3
Update CHANGELOG for version 2.0.118 bug fix (#1438)
amitjoshi438 Jan 21, 2026
9f1b0b1
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 22, 2026
cd32964
Fix Dependabot security vulnerabilities (#1444)
priyanshu92 Jan 22, 2026
6df94d8
Improve error message for environment switch failure in open-in-deskt…
Copilot Jan 22, 2026
a455a3b
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Jan 27, 2026
18650d3
Bump PAC to 2.0.1 (#1445)
priyanshu92 Jan 27, 2026
d8616fa
Use GitHub App for loc-update workflow auth (#1448)
priyanshu92 Jan 28, 2026
fc461c7
Bump PAC to 2.1.1 (#1449)
power-pages-github-app[bot] Jan 28, 2026
bd4a13a
Bump PAC to 2.1.2 (#1453)
power-pages-github-app[bot] Jan 30, 2026
1ab4990
Add fix-dependabot-alerts skill for Claude Code (#1451)
priyanshu92 Jan 30, 2026
25d66ec
Fix Dependabot security vulnerability in tar (#1452)
priyanshu92 Jan 30, 2026
7b332c8
Fix TS2345 type error in showWarningMessage stub (#1454)
priyanshu92 Feb 2, 2026
7efa703
[MDiff] Add selective download optimization for metadata diff (#1447)
priyanshu92 Feb 2, 2026
cb66292
Enable blog file support and update export type to SubFolders (#1455)
amitjoshi438 Feb 2, 2026
0c633a6
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Feb 2, 2026
6b7dfe8
Add translations-export workflow for PRs (#1457)
priyanshu92 Feb 3, 2026
40796c5
Update CHANGELOG for pac CLI 2.1.2 release (#1458)
amitjoshi438 Feb 3, 2026
bd9570b
Improve Dataverse error instrumentation for web extension (#1462)
amitjoshi438 Feb 6, 2026
d6baf69
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Feb 10, 2026
37b65fb
Bump PAC to 2.2.1 (#1461)
power-pages-github-app[bot] Feb 10, 2026
95a7fe4
Add kusto-kpi-query skill to gitignore (#1466)
amitjoshi438 Feb 10, 2026
3c2a714
Fix translations-export workflow exit code handling (#1467)
priyanshu92 Feb 10, 2026
23e6097
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Feb 11, 2026
77ee3d5
Improve bulkhead resilience with retry and larger queue (#1463)
amitjoshi438 Feb 11, 2026
4342c53
Fix error telemetry: remove double logging and add missing error deta…
amitjoshi438 Feb 11, 2026
b54b5a2
Update CHANGELOG for pac CLI 2.2.1 release (v2.0.130) (#1472)
amitjoshi438 Feb 13, 2026
2973217
Update CHANGELOG version to 2.0.131 (#1475)
amitjoshi438 Feb 16, 2026
12d638e
Fix Dependabot security vulnerability in axios (#1480)
priyanshu92 Feb 16, 2026
f7d7ac8
Fix Dependabot security vulnerability in webpack (#1477)
priyanshu92 Feb 16, 2026
26c20c6
Fix Dependabot security vulnerability in qs (#1479)
priyanshu92 Feb 16, 2026
4856806
Graceful 404/400 handling for optional entities in web extension (#1481)
amitjoshi438 Feb 18, 2026
f6a1a4d
Fix recurring desktop extension errors affecting error diagnostics (#…
amitjoshi438 Feb 18, 2026
8e88bd9
Fix Dependabot alert 121: update tar to patched version (#1484)
priyanshu92 Feb 20, 2026
025c995
Fix Dependabot security vulnerability in minimatch (#1485)
priyanshu92 Feb 20, 2026
c3554e8
Fix Dependabot security vulnerability in ajv (#1486)
priyanshu92 Feb 20, 2026
61126cb
Fix integration test extension root path (#1488)
priyanshu92 Feb 20, 2026
3f20d10
Enable desktop integration tests on all OS (#1487)
priyanshu92 Feb 20, 2026
d487f32
Simplify URL params for launching VS Code Web (#1490)
priyanshu92 Feb 23, 2026
d352d3c
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Feb 23, 2026
d23e4e5
Fix Dependabot security vulnerability in minimatch (#122) (#1492)
priyanshu92 Feb 24, 2026
86aba0c
Add serverlogics to optional entities for graceful 404 handling (#1494)
amitjoshi438 Feb 24, 2026
b028294
Bump PAC to 2.3.2 (#1496)
power-pages-github-app[bot] Feb 26, 2026
0c19146
Fix Dependabot security vulnerability in basic-ftp (#125) (#1497)
priyanshu92 Feb 26, 2026
791149d
Localized file check-in by OneLocBuild Task: Build definition ID 1275…
olprod Feb 26, 2026
0619c00
Fix Dependabot security vulnerabilities (#126-#131) (#1500)
priyanshu92 Mar 2, 2026
38015c0
Fix TS build errors in vscode.l10n.t calls (#1501)
priyanshu92 Mar 2, 2026
69381ce
Update CHANGELOG for version 2.0.133 (#1502)
amitjoshi438 Mar 2, 2026
2c29f0c
Bump PAC to 2.4.1 (#1505)
power-pages-github-app[bot] Mar 8, 2026
692a5e9
Fix Dependabot security vulnerabilities (#132, #133) (#1507)
priyanshu92 Mar 10, 2026
e80ee0e
Update CHANGELOG for version 2.0.134 (#1509)
amitjoshi438 Mar 10, 2026
dd5afdb
Remove memory bank from repo (#1510)
priyanshu92 Mar 10, 2026
15c4141
Add issue templates and SUPPORT.md (#1511)
priyanshu92 Mar 10, 2026
cf3c8ed
Fix Dependabot security vulnerability in liquidjs (#134) (#1514)
priyanshu92 Mar 12, 2026
820ee85
Rewrite README with current features (#1515) (#1515)
priyanshu92 Mar 12, 2026
b78f0bd
Add Code Apps redirect to bug report template (#1518)
priyanshu92 Mar 16, 2026
78c3237
Fix Dependabot security vulnerabilities in undici (#1520)
priyanshu92 Mar 19, 2026
18e6ee3
Fix Dependabot security vulnerabilities in picomatch (#1523)
priyanshu92 Mar 26, 2026
c16a2a7
Fix Dependabot security vulnerabilities in yaml, picomatch, flatted (…
priyanshu92 Mar 26, 2026
3c5d101
Rename server-logics to server-logic in web extension (#1526)
amitjoshi438 Mar 30, 2026
dd7729a
Pin axios to 1.13.5 to avoid compromised version (#1528)
priyanshu92 Mar 31, 2026
e8c378d
Fix CES survey auth to be non-blocking (#1527)
amitjoshi438 Mar 31, 2026
2632bd7
Update CHANGELOG for version 2.0.136 (#1529)
amitjoshi438 Mar 31, 2026
c30a8d8
Fix Dependabot security vulnerability in @xmldom/xmldom (#1532)
priyanshu92 Apr 1, 2026
5bb6035
feat(e2e): simplify E2E config and add weekly sanity workflow (#1533)
amitjoshi438 Apr 3, 2026
560a2ac
Bump PAC to 2.5.1 (#1534)
power-pages-github-app[bot] Apr 6, 2026
dfa94bb
Fix Dependabot alerts for lodash and defu (#1536)
priyanshu92 Apr 6, 2026
2123c06
fix(e2e): use auto-retrying assertion for file explorer visibility (#…
amitjoshi438 Apr 6, 2026
1dcf626
Update CHANGELOG for version 2.0.137 (#1537)
amitjoshi438 Apr 6, 2026
13ea432
Update CHANGELOG for version 2.0.139 (#1539)
amitjoshi438 Apr 7, 2026
bb14d34
Add E2E web sanity tests for PR checks on release/stable (#1541)
amitjoshi438 Apr 8, 2026
7c30950
Remove unused GitHub Actions release workflows (#1544)
amitjoshi438 Apr 9, 2026
3eb955d
Fix Dependabot security vulnerabilities (#1546)
priyanshu92 Apr 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/CLAUDE.md
10 changes: 10 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"permissions": {
"allow": [
"Bash(npm run build:*)",
"Bash(npm run test:*)",
"Bash(npm run test-desktop-int:*)",
"Bash(npm run test-web-int:*)"
]
}
}
140 changes: 140 additions & 0 deletions .claude/skills/fix-dependabot-alerts/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
---
name: fix-dependabot-alerts
description: Fix Dependabot security alerts by updating vulnerable npm dependencies. Use when the user mentions "dependabot", "security alerts", "vulnerability", "CVE", or wants to update packages with security issues.
argument-hint: "[alert-number or package-name]"
---

# Fix Dependabot Security Alerts

You are tasked with fixing Dependabot security alerts for this repository. Follow these steps carefully to resolve vulnerabilities while minimizing risk.

## Step 1: Identify the Vulnerability

If a specific alert number or package name was provided, focus on that. Otherwise, check for open alerts:

```bash
gh api repos/microsoft/powerplatform-vscode/dependabot/alerts --jq '.[] | select(.state=="open") | {number, package: .security_vulnerability.package.name, severity: .security_vulnerability.severity, vulnerable_versions: .security_vulnerability.vulnerable_version_range, patched_versions: .security_vulnerability.first_patched_version.identifier, summary: .security_advisory.summary}'
```

To get details on a specific alert:
```bash
gh api repos/microsoft/powerplatform-vscode/dependabot/alerts/<alert-number>
```

## Step 2: Analyze the Dependency

Determine if the vulnerable package is:
- A **direct dependency** (listed in `package.json`)
- A **transitive dependency** (dependency of a dependency)

Check where the package appears:
```bash
npm ls <package-name>
```

## Step 3: Choose the Fix Strategy

### For Direct Dependencies

1. Check the current version in `package.json`
2. Review the changelog/release notes for breaking changes between versions
3. Update using:
```bash
npm install <package-name>@<patched-version> --save
```

### For Transitive Dependencies

1. Identify which direct dependency brings in the vulnerable package
2. Check if the direct dependency has a newer version that uses the patched transitive dependency
3. If yes, update the direct dependency
4. If no, add a resolution/override in `package.json`:
```json
{
"overrides": {
"<vulnerable-package>": "<patched-version>"
}
}
```

## Step 4: Verify the Fix

1. Run `npm ls <package-name>` to confirm the new version
2. Run the build to ensure no breaking changes:
```bash
npm run build
```
3. Run the test suite:
```bash
npm test
```

## Step 5: Handle Common Issues

### Version Conflicts

If npm reports peer dependency conflicts:
- Check if `--legacy-peer-deps` or `--force` resolves it (use cautiously)
- Consider if the conflicting package needs updating first

### Breaking Changes

If the update introduces breaking changes:
1. Read the migration guide from the package
2. Update code to accommodate API changes
3. Update tests if needed

### Multiple Vulnerabilities in Same Package

If multiple CVEs affect the same package, ensure the patched version addresses all of them before updating.

## Step 6: Commit the Changes

After verification passes, commit with a descriptive message:
```
Fix Dependabot security vulnerability in <package-name>

- Updated <package-name> from <old-version> to <new-version>
- Addresses CVE-XXXX-XXXXX (<severity>)
- <any additional context about breaking changes handled>
```

## Important Notes

- **Never skip tests** - security fixes should not break functionality
- **Review changelogs** - understand what changed between versions
- **Check for multiple alerts** - sometimes one update fixes multiple vulnerabilities
- **Document workarounds** - if you use overrides, add a comment explaining why
- For this codebase, run `npm run build` which uses gulp to build the extension

## Critical: Never Manually Edit package-lock.json Integrity Hashes

**Never manually edit integrity hashes in `package-lock.json`.** These are SHA-512 checksums of the actual tarball content from the npm registry. If you manually change them, CI builds will fail with `EINTEGRITY` errors.

### Why This Happens

When npm resolves a cached version that satisfies the constraint, it won't automatically update to a newer version even after changing `package.json`. Manually editing the lock file with an incorrect hash causes:

```
npm error code EINTEGRITY
npm error sha512-<expected>== integrity checksum failed when using sha512: wanted sha512-<expected>== but got sha512-<actual>==
```

### Correct Approach to Force Version Updates

Instead of manual edits, use one of these methods:

```bash
# Option 1: Clean install (recommended)
rm -rf node_modules
rm package-lock.json
npm install

# Option 2: Update specific package
npm update <package-name>

# Option 3: Force reinstall specific package
npm install <package-name>@<version> --save
```

These commands let npm fetch the tarball and compute the correct integrity hash automatically.
94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Bug Report
description: Report a bug or unexpected behavior
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue! Please fill out the information below to help us investigate.

- type: dropdown
id: related-to-code-apps
attributes:
label: Is this bug related to Code Apps?
description: "If your bug is related to Code Apps, please report it at https://github.com/microsoft/PowerAppsCodeApps/ instead."
options:
- "No"
- "Yes - I will create the issue at https://github.com/microsoft/PowerAppsCodeApps/ instead"
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the bug.
placeholder: Describe the issue you encountered...
validations:
required: true

- type: input
id: extension-version
attributes:
label: Extension Version
description: "The version of the Power Platform Tools extension. You can find this in VS Code: Extensions view > Power Platform Tools > version number."
placeholder: "e.g., 2.0.133"
validations:
required: true

- type: input
id: vscode-version
attributes:
label: VS Code Version
description: "The version of VS Code you are using. You can find this via Help > About."
placeholder: "e.g., 1.96.0"
validations:
required: true

- type: dropdown
id: vscode-channel
attributes:
label: VS Code Channel
description: Which VS Code release channel are you using?
options:
- Stable
- Insiders
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: List the steps to reproduce the issue.
placeholder: |
1. Open VS Code
2. ...
3. ...
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: What did you expect to happen?
validations:
required: false

- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
description: What actually happened?
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context, screenshots, or log output that may help.
validations:
required: false
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Feature Request
description: Suggest a new feature or enhancement
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thank you for suggesting a feature! Please provide as much detail as possible to help us understand your request.

- type: textarea
id: problem
attributes:
label: Problem Statement
description: Is your feature request related to a problem? Please describe.
placeholder: "A clear and concise description of the problem. e.g., I'm always frustrated when..."
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed Solution
description: Describe the solution you'd like.
placeholder: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: Describe any alternative solutions or features you've considered.
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context, mockups, or screenshots about the feature request.
validations:
required: false
Loading
Loading