Skip to content

Fixes Ajv 8 breaking changes, adds additional editor enhancements - #1038

Open
crimson-cata1yst wants to merge 4 commits into
swimlane:masterfrom
crimson-cata1yst:enhancement-ngx-json-editor-updates
Open

Fixes Ajv 8 breaking changes, adds additional editor enhancements#1038
crimson-cata1yst wants to merge 4 commits into
swimlane:masterfrom
crimson-cata1yst:enhancement-ngx-json-editor-updates

Conversation

@crimson-cata1yst

@crimson-cata1yst crimson-cata1yst commented Apr 20, 2024

Copy link
Copy Markdown

Summary

  • Fixes broken validation caused from the upgrade to Ajv 8+ in ngx-ui 47.0.0

  • Adds extra optional inputs on the json editor/flat editor to allow apps to pass in their own options, formats, and keywords to the validator service.

  • Ajv handles strict schemas in line with JTD now; initialized strict to 'true' on new Ajv instantiations, but it can be overrode with the optional options input.

  • Resolves JsonEditor Validation Broken in 47.1.0 #1037

Nothing remarkable with the screenshot - just showing that validation works again

image

Checklist

  • *Added unit tests
  • *Added a code reviewer
  • Added changes to /projects/swimlane/ngx-ui/CHANGELOG.md under HEAD (Unreleased)
  • Updated the demo page
  • Included screenshots of visual changes

*required

@netlify

netlify Bot commented Apr 20, 2024

Copy link
Copy Markdown

Deploy Preview for ngx-ui ready!

Name Link
🔨 Latest commit 0026bf1
🔍 Latest deploy log https://app.netlify.com/sites/ngx-ui/deploys/66733563980eff0008c3f8b5
😎 Deploy Preview https://deploy-preview-1038--ngx-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@crimson-cata1yst

crimson-cata1yst commented Apr 24, 2024

Copy link
Copy Markdown
Author

Could I get a review of this please? This is a critical blocker for my team to finish upgrading to Angular 17+, it would much appreciated :) @steveblue @surya-pabbineedi @marjan-georgiev @Prasanth-Boyina (or someone). Thanks in advance!

@mdoy179

mdoy179 commented May 28, 2024

Copy link
Copy Markdown

I also need this change. Can this be reviewed and merged? Thanks! @surya-pabbineedi @marjan-georgiev @Prasanth-Boyina

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.

JsonEditor Validation Broken in 47.1.0

2 participants