Skip to content

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

Open
kullJul wants to merge 4 commits intomicrosoft:mainfrom
kullJul:dev/v-ikulagina/add-author-validation
Open

Fixed missing validation for author object in pbiviz.json#566
kullJul wants to merge 4 commits intomicrosoft:mainfrom
kullJul:dev/v-ikulagina/add-author-validation

Conversation

@kullJul
Copy link
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

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.

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.

4 participants