Skip to content

0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 04:58
· 17 commits to main since this release
2317ec6

IdeaBlade Validation Editor 0.1.0, the first full release of the desktop editor for IdeaBlade Validation's validation metadata: JSON files, TypeScript ModelValidationMetadataMap objects and C# JSON strings, edited in forms instead of by hand, with the library's own checks as you type. It follows four alphas and now works with IdeaBlade Validation 0.1.1.

Downloads

Download Installing
Windows (x64) IdeaBlade-Validation-Editor-Setup-0.1.0.exe Run it. It's not code-signed, so SmartScreen may warn: More info → Run anyway. It installs for everyone (Program Files, with an administrator prompt) or only for you, over an alpha if that's installed.
macOS, Apple silicon IdeaBlade-Validation-Editor-0.1.0-mac-arm64.dmg Open it and drag the app to Applications. It's not signed with an Apple certificate or notarized, so the first time, right-click the app → Open → Open (or run xattr -dr com.apple.quarantine "/Applications/IdeaBlade Validation Editor.app").
macOS, Intel IdeaBlade-Validation-Editor-0.1.0-mac-x64.dmg As for Apple silicon.
Linux (x64) IdeaBlade-Validation-Editor-0.1.0-linux-x86_64.AppImage chmod +x it and run it.
Linux, Debian or Ubuntu (x64) IdeaBlade-Validation-Editor-0.1.0-linux-amd64.deb sudo apt install ./IdeaBlade-Validation-Editor-0.1.0-linux-amd64.deb

Updating: alpha.3 and alpha.4 on Windows or as an AppImage find this version by themselves (at start, every few hours, or Help → Check for Updates…), download it, and offer Restart to update. On macOS and with the .deb they say it's out and link here. Coming from alpha.1 or alpha.2, install it by hand once.

Pre-releases are now off by default. Include pre-releases in the sidebar's Settings was on in the alphas, since there was nothing else. From 0.1.0 it's off, so the editor only offers full releases; turn it on to get alphas, betas and release candidates too. If you changed an update setting in an alpha, the alpha saved both, so your Include pre-releases stays as it was: turn it off by hand if you like.

What's in it

  • Metadata in JSON, TypeScript or C#, several files side by side, checked together as the library merges them. TS and C# files are rewritten only where the metadata is; the pane on the right shows the file as saving will write it.
  • Forms for everything in the metadata: model types, extends, conditions, model-level rules, properties, groups, from, and every built-in validator's settings, plus the application's own validators and expression functions, read from its TS and C# sources.
  • Sources: Breeze metadata, TypeScript and C# files and folders with entities, view models and DTOs, so model types and properties are picked from lists, and typos and validators that don't fit a property are flagged.
  • Code completion in expressions, a regular expression panel with values to try, a JSON view that's a code editor, and Try it to validate a sample object with the library itself.
  • Project files (*.ivproj) to share the files, sources and settings with the team; recent projects; the last one reopens.
  • Automatic updates on Windows and with the AppImage; on macOS and with the .deb, a link to the new release.

What's changed since alpha.4

  • IdeaBlade Validation 0.1.1. The required validator's new allowEmptyString setting (any string passes, '' included; null still fails) has a checkbox next to trim, and the schema check knows both.
  • New warnings: trim together with allowEmptyString (trim then has no effect), and either of them on a property that isn't text (the validator ignores them there).
  • Search a model's properties and rules. Find properties and rules… above a model's properties narrows them to those whose name, display name, shorthands or rules have every word typed; Find rules… does the same for the model-level and global rules. Enter opens the first match, Esc clears.
  • Include pre-releases is off by default, as above.
  • Electron 45.5 and other dependency updates.

See the README for the details, alpha.4's notes for the changes before this, and the library's documentation for the metadata itself.