DEV Community

Prog. Kanishk Raj
Prog. Kanishk Raj

Posted on

Release Notes for ProXPL v1.3.4

What's New

1. New Data Validation Library (std/lib/validation.prox)

A comprehensive schema-based data validation library has been added to the standard library, contributed by Astitva Bhardwaj (@bastitva0-blip).

  • Validators: Typed builders such as string(), number(), bool(), list(), and any().
  • Chainable Rules: Supports constraints like required, optional, minLength, maxLength, email, url, alphanumeric, min, max, integer, positive, oneOf, items.
  • Schema Builder: Schema.define() to validate complete dictionaries and collect all errors simultaneously.
  • Validation Results: Contains detailed properties like .valid, .errors, and methods to check errors.
  • Standalone Helpers: Includes Validate.isEmail, isURL, isNotEmpty, isInteger, etc.

2. Language Fixes

  • Implements Keyword: Addressed parsing and syntax issues related to the implements keyword in classes (Merge pull request #22).

3. Build & CI Improvements

  • VS Code Extension: Bumped the VS Code Extension (vsce) packaging to match the 1.3.4 language version.
  • Windows Runner Compatibility: Removed hardcoded Visual Studio generator bindings to improve CI compatibility on Windows runners.

Top comments (0)