Skip to content

Fixed missing validation for author object in pbiviz.json#566

Merged
Demonkratiy merged 11 commits intomicrosoft:mainfrom
kullJul:dev/v-ikulagina/add-author-validation
Mar 17, 2026
Merged

Fixed missing validation for author object in pbiviz.json#566
Demonkratiy merged 11 commits intomicrosoft:mainfrom
kullJul:dev/v-ikulagina/add-author-validation

Conversation

@kullJul
Copy link
Copy Markdown
Contributor

@kullJul kullJul commented Jan 26, 2026

7.0.3

  • Fixed missing validation for author object in pbiviz.json. The author object with name and email fields is now required.
  • Updated packages.
image

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds validation to ensure the author object is present in pbiviz.json files and updates several npm dependencies to newer versions.

Changes:

  • Added new AuthorInfo feature class to validate presence of the author object in pbiviz.json
  • Bumped version from 7.0.2 to 7.0.3
  • Updated npm packages (body-parser, express, qs, raw-body, and related dependencies)

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/features/AuthorInfo.ts New feature class that validates author object presence in pbiviz.json configuration
src/features/index.ts Added import and export for the new AuthorInfo feature
src/Visual.ts Added isAuthorDefined() method to check if author object exists
package.json Version bumped to 7.0.3
package-lock.json Version update and dependency updates for body-parser, express, qs, raw-body, and related packages
Changelog.md Added 7.0.3 release notes documenting the author validation fix and package updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Visual.ts Outdated
Comment thread src/features/AuthorInfo.ts
Comment thread src/Visual.ts Outdated
@Demonkratiy Demonkratiy merged commit cec0fe8 into microsoft:main Mar 17, 2026
6 checks passed
@kullJul kullJul deleted the dev/v-ikulagina/add-author-validation branch March 23, 2026 18:31
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.

6 participants