Skip to content

Releases: objectstack-ai/objectql

@objectql/driver-mongo@1.9.1

16 Jan 14:31
6c5032c

Choose a tag to compare

Patch Changes

  • Release version bump with latest improvements and bug fixes
  • Updated dependencies
    • @objectql/types@1.9.1

@objectql/driver-mongo@1.9.0

16 Jan 05:23
840d7d4

Choose a tag to compare

Minor Changes

  • Major documentation update and VS Code extension improvements
    • Completely revised getting started documentation with emphasis on YAML-based metadata approach
    • Improved quick start instructions for better onboarding experience
    • Added comprehensive VS Code extension recommendations to example projects
    • Enhanced developer experience with .vscode/extensions.json files
    • Updated README to highlight the importance of the ObjectQL VS Code extension
    • Added detailed documentation for all core features and API endpoints

Patch Changes

  • Updated dependencies
    • @objectql/types@1.9.0

@objectql/driver-memory@0.1.2

16 Jan 14:31
6c5032c

Choose a tag to compare

Patch Changes

  • Release version bump with latest improvements and bug fixes
  • Updated dependencies
    • @objectql/types@1.9.1

@objectql/driver-memory@0.1.1

16 Jan 05:23
840d7d4

Choose a tag to compare

Patch Changes

  • Updated dependencies
    • @objectql/types@1.9.0

All notable changes to the Memory Driver for ObjectQL will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

@objectql/driver-localstorage@0.1.2

16 Jan 14:31
6c5032c

Choose a tag to compare

Patch Changes

  • Release version bump with latest improvements and bug fixes
  • Updated dependencies
    • @objectql/types@1.9.1

@objectql/driver-localstorage@0.1.1

16 Jan 05:23
840d7d4

Choose a tag to compare

Patch Changes

  • Updated dependencies
    • @objectql/types@1.9.0

All notable changes to the LocalStorage Driver for ObjectQL will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

@objectql/driver-fs@0.1.1

16 Jan 14:31
6c5032c

Choose a tag to compare

Patch Changes

  • Release version bump with latest improvements and bug fixes
  • Updated dependencies
    • @objectql/types@1.9.1

All notable changes to the @objectql/driver-fs package will be documented in this file.

@objectql/driver-fs@0.1.0

16 Jan 13:27
0db5577

Choose a tag to compare

Changelog

All notable changes to the @objectql/driver-fs package will be documented in this file.

[0.1.1] - 2024-01-16

Added

  • initialData configuration option to pre-populate data on initialization
  • clear(objectName) method to clear all data for a specific object
  • clearAll() method to clear all data from all objects
  • invalidateCache(objectName) method to force cache reload
  • getCacheSize() method to get the number of cached objects
  • Chinese documentation (README.zh-CN.md)
  • Better error handling for invalid JSON files
  • Support for empty JSON files

Improved

  • Enhanced JSON parse error messages with more detailed information
  • Better documentation with examples for all new features
  • Added 7 new test cases (total: 36 tests)
  • TypeScript configuration for proper workspace resolution

[0.1.0] - 2024-01-16

Added

  • Initial release of FileSystem Driver for ObjectQL
  • One JSON file per table/object type
  • Atomic write operations with temp file + rename strategy
  • Automatic backup files (.bak) on write
  • Full query support (filters, sorting, pagination, field projection)
  • Support for all standard Driver interface methods:
    • find, findOne, create, update, delete
    • count, distinct
    • createMany, updateMany, deleteMany
  • Pretty-printed JSON for human readability
  • Zero external dependencies (only @objectql/types)
  • Comprehensive test suite with 30+ test cases
  • Complete documentation and examples

@objectql/driver-excel@0.2.1

16 Jan 14:31
6c5032c

Choose a tag to compare

Patch Changes

  • Release version bump with latest improvements and bug fixes
  • Updated dependencies
    • @objectql/types@1.9.1

@objectql/driver-excel@0.2.0

16 Jan 09:45
6683c66

Choose a tag to compare

@objectql/driver-excel

0.2.0 - 2024-01-16

Added

  • File Storage Modes: New fileStorageMode configuration option
    • single-file mode: All object types in one Excel file (default, existing behavior)
    • file-per-object mode: Each object type in a separate Excel file
  • Complete English documentation in README
  • Additional tests for file-per-object mode (39 total tests now)
  • Examples for both storage modes

Improved

  • Better documentation with comprehensive API reference
  • Usage examples for common scenarios
  • Performance benchmarks and optimization tips
  • Detailed error handling guide

0.1.0 - 2024-01-16

Added

  • Initial release of Excel Driver for ObjectQL
  • Full CRUD operations (create, read, update, delete)
  • Query support with filters, sorting, and pagination
  • Bulk operations (createMany, updateMany, deleteMany)
  • Multiple worksheet support (one sheet per object type)
  • Auto-save and manual save options
  • File persistence with Excel (.xlsx) format
  • Comprehensive test suite with 36 passing tests
  • Complete documentation and examples
  • TypeScript support with strict typing
  • Compatible with @objectql/types Driver interface

Security

  • IMPORTANT: Uses ExcelJS (v4.4.0) instead of xlsx library to avoid known security vulnerabilities
  • ExcelJS has no known CVEs and is actively maintained
  • Secure against ReDoS (Regular Expression Denial of Service) attacks
  • Protected from Prototype Pollution vulnerabilities

Features

  • ✅ Read from existing Excel files
  • ✅ Write data back to Excel files
  • ✅ Create new Excel files automatically
  • ✅ Support for multiple object types (worksheets)
  • ✅ Filter operators: =, !=, >, >=, <, <=, in, nin, contains, startswith, endswith, between
  • ✅ Logical operators: AND, OR
  • ✅ Sorting (ascending/descending)
  • ✅ Pagination (skip/limit)
  • ✅ Field projection
  • ✅ Count and distinct queries
  • ✅ Error handling with ObjectQLError
  • ✅ Strict mode support
  • ✅ Auto-generated IDs
  • ✅ Timestamps (created_at, updated_at)
  • ✅ Async/await API with factory pattern

Dependencies

  • exceljs@^4.4.0 - Secure Excel file read/write library (actively maintained, no known CVEs)
  • @objectql/types@workspace:* - Core ObjectQL types

API Changes

  • Constructor requires async initialization via ExcelDriver.create() factory method
  • All file I/O operations are properly async for better performance