Bloqs 0.1.5 – Release Notes

Version 0.1.5 introduces several important renames, new features, and enhancements to make development with Bloqs more consistent, powerful, and future-proof.


Renames

To improve clarity and consistency, several components and utilities have been renamed:

Old Name
New Name

EntityCreateCommand

NewEntityCommand

BoundLabelComponent

PropertyValueComponent

GuidGenerator.G

IdGen.Get

StandardIds

IdGen

DataQuery

MultiQuery

NumericInputComponent

IntegerInputComponent or DecimalInputComponent


New Features

Realtime Communication

  • SignalR support for real-time updates and event handling.

API Enhancements

  • OData implementation is now based on Minimal APIs for improved simplicity and performance.

Simple CRUD Generation

  • AddSimpleCrudForClass now also generates a view page, by default:

    AddSimpleCrudForClass<MyEntity>();
  • Control CRUD generation with (for example, skip generation of view page):

    new SimpleCrudBuilderConfiguration 
    { 
        ViewPage = new PageConfig.None() 
    }

Input Validation

  • Text components now support validation:

    • TextInputComponent

    • TextareaInputComponent

  • Supported rules:

    • MinLength

    • MaxLength

    • RegularExpression

  • Example using attributes on your model:

    [RegularExpression(@"^[^@\s]+@[^@\s]+\.[^@\s]+$")]
    [MinLength(6)]
    [MaxLength(100)]
    public string? EmailAddress { get; set; }
  • Integer and Decimal input components now support:

    • MinValue

    • MaxValue

    • Configurable via attributes.

New Components

  • LabelComponent

  • Entity view components:

    • EntityViewButtonComponent

    • SubEntityViewComponent

    • EntityViewComponent

    • EntityListViewComponent


Enhancements

  • List searching is now server-side using MongoDB text index (requires EnableTextSearch on EntityClass).

  • Default view properties can be customized with IncludeInDefaultView on Property.

  • FilterScope support for scoped filtering in:

    • ListComponent

    • EntityRelationInputComponent

    • RepeaterComponent

  • List paging is now server-side, handled through the API.

  • Properties Created, CreatedBy, Modified and ModifiedBy are removed from Entity class.

Last updated