PackageTrack
Sign in Get early access

tostore

Fast distributed AI vector database and persistent local storage engine. High-performance key-value store supporting SQL, NoSQL, offline cache and encrypted data.

3.1.2 867K downloads/mo #384 most downloaded on pub.dev tocreator/tostore

What this package is like to depend on

Last release 3 months ago

03 May 2026

Ships unpredictably

gaps range from 8 days to 7 months

Most releases are documented

notes for 21 of 26 stable releases

15 versions withdrawn

withdrawn after publishing

2 years old

48 releases · first in 2024

14 releases in the last 12 months

see the full history below

Release timeline

48 releases · Dec 2024 to May 2026
2025 2026
Release Pre-release Withdrawn

Releases

latest 48
  1. 3.1.3 03 May 2026 withdrawn

    Nothing published for this version

  2. 3.1.2 03 May 2026
    Release notes

    3.1.2

    Fixed

    • Urgently fixed cache update issues for new key-value update operations (e.g., setMany) introduced in 3.1.1.
    • Urgently fixed cache update issues for new table batch update operations (e.g., batchUpdate) introduced in 3.1.1.
    • Fixed glibc statvfs FFI struct field padding on 64-bit Linux to prevent memory heap corruption and crashes when retrieving disk free space.

    Changed

    • Improved comprehensive benchmark testing for all new interfaces to prevent similar issues in future releases.
    Open source →
    Release notes

    Fixed

    • Urgently fixed cache update issues for new key-value update operations (e.g., setMany) introduced in 3.1.1.
    • Urgently fixed cache update issues for new table batch update operations (e.g., batchUpdate) introduced in 3.1.1.
    • Fixed glibc statvfs FFI struct field padding on 64-bit Linux to prevent memory heap corruption and crashes when retrieving disk free space.

    Changed

    • Improved comprehensive benchmark testing for all new interfaces to prevent similar issues in future releases.
    Open source →
  3. 3.1.1 30 Apr 2026 withdrawn
    Release notes

    Fixed

    • Fixed upsert validation for numeric unique keys
    • Optimized database lifecycle resilience during space switching and closure.

    Added

    • Added batchUpdate bulk update interface.
    • Added db.kv namespace for advanced Key-Value operations (e.g., db.kv.get(), db.kv.clear(), db.kv.count(), db.kv.setMany()).

    Changed

    • Standardized the database shutdown and cleanup pipeline for improved stability.
    • Improved documentation navigation compatibility
    • Optimized memory cleanup
    • Optimized count() performance
    • Enhanced system table protection to prevent accidental manual deletion/clearing of critical internal tables.
    • Optimized query channel performance, significantly improving the performance of data operations including queries, bulk inserts, and bulk updates.
    • Optimized resource-aware scheduling for improved resource management.
    • Optimized dense computation and parallel thread scheduling for better isolate dispatch efficiency and high-volume batch processing performance.
    • Optimized very large update and delete operations.
    Open source →
    Release notes

    Fixed

    • Fixed upsert validation for numeric unique keys
    • Optimized database lifecycle resilience during space switching and closure.

    Added

    • Added batchUpdate bulk update interface.
    • Added db.kv namespace for advanced Key-Value operations (e.g., db.kv.get(), db.kv.clear(), db.kv.count(), db.kv.setMany()).

    Changed

    • Standardized the database shutdown and cleanup pipeline for improved stability.
    • Improved documentation navigation compatibility
    • Optimized memory cleanup
    • Optimized count() performance
    • Enhanced system table protection to prevent accidental manual deletion/clearing of critical internal tables.
    • Optimized query channel performance, significantly improving the performance of data operations including queries, bulk inserts, and bulk updates.
    • Optimized resource-aware scheduling for improved resource management.
    • Optimized dense computation and parallel thread scheduling for better isolate dispatch efficiency and high-volume batch processing performance.
    • Optimized very large update and delete operations.
    Open source →
  4. 3.1.0 07 Apr 2026
    Release notes

    3.1.0

    Added

    • Added support for key-value TTL expiration automatic cleanup via setValue(..., {Duration? ttl, DateTime? expiresAt})
    • Added support for key-value data state monitoring via db.watchValue and db.watchValues to facilitate UI refreshing
    • Added some semantic queries: support whereTruewhereFalsewhereEmptywhereNotEmptywhereStartsWithwhereEndsWith

    Changed

    • Optimized benchmark tests
    • Optimized documentation and multi-language

    Fixed

    • Fixed global config cache state leakage between different database instances in the same process.
    Open source →
    Release notes

    Added

    • Added support for key-value TTL expiration automatic cleanup via setValue(..., {Duration? ttl, DateTime? expiresAt})
    • Added support for key-value data state monitoring via db.watchValue and db.watchValues to facilitate UI refreshing
    • Added some semantic queries: support whereTruewhereFalsewhereEmptywhereNotEmptywhereStartsWithwhereEndsWith

    Changed

    • Optimized benchmark tests
    • Optimized documentation and multi-language

    Fixed

    • Fixed global config cache state leakage between different database instances in the same process.
    Open source →
  5. 3.0.9 29 Mar 2026
    Release notes

    3.0.9
    Changed
    Optimized upsert handling for concurrently executed records when the primary key and unique key contain the same value
    Optimized WebAssembly build support on the Web platform
    Optimized table structure migration validation
    Improved table structure migration and integrity check error reporting, providing detailed failure reasons
    Optimized documentation and multi-language
    Fixed
    Fixed an issue where composite index queries could fall back to table scans

    Open source →
    Release notes

    Changed

    • Optimized upsert handling for concurrently executed records when the primary key and unique key contain the same value
    • Optimized WebAssembly build support on the Web platform
    • Optimized table structure migration validation
    • Improved table structure migration and integrity check error reporting, providing detailed failure reasons

    Fixed

    • Fixed an issue where composite index queries could fall back to table scans
    Open source →
  6. 3.0.8 08 Mar 2026
    Release notes

    3.0.8

    Added

    • Added aggregation functions: sum(), avg(), min(), max()
    • Added groupBy(), having(), distinct() query support
    • Added Agg helper for inline aggregation in select()
    • Added tableExists API to check whether a table is defined in the database schema (space‑agnostic)
    • Added query('table').exists() chain API for efficient existence checks based on conditions without loading full records
    • Added table schema TTL configuration and automatic expiration cleanup for time-based data
    • Added pure memory mode (ToStore.memory()), providing ultra-high performance for scenarios like data caching, temporary computation, or diskless environments

    Fixed

    • Fixed count() consistency with write buffer and index scan paths
    • Fixed type cast error in aggregation return values

    Changed

    • Changed license from MIT to Apache License 2.0
    • Optimized watch() with adaptive debounce to coalesce high-frequency data change notifications, avoiding redundant re-queries under burst writes
    • Optimized batchInsert insertion performance for large-scale batch write scenarios
    • Optimized Windows performance
    Open source →
    Release notes

    Added

    • Added aggregation functions: sum(), avg(), min(), max()
    • Added groupBy(), having(), distinct() query support
    • Added Agg helper for inline aggregation in select()
    • Added tableExists API to check whether a table is defined in the database schema (space‑agnostic)
    • Added query('table').exists() chain API for efficient existence checks based on conditions without loading full records
    • Added table schema TTL configuration and automatic expiration cleanup for time-based data
    • Added pure memory mode (ToStore.memory()), providing ultra-high performance for scenarios like data caching, temporary computation, or diskless environments

    Fixed

    • Fixed count() consistency with write buffer and index scan paths
    • Fixed type cast error in aggregation return values

    Changed

    • Changed license from MIT to Apache License 2.0
    • Optimized watch() with adaptive debounce to coalesce high-frequency data change notifications, avoiding redundant re-queries under burst writes
    • Optimized batchInsert insertion performance for large-scale batch write scenarios
    • Optimized Windows performance
    Open source →
  7. 3.0.7 08 Mar 2026 withdrawn
    Release notes

    Added

    • Added aggregation functions: sum(), avg(), min(), max()
    • Added groupBy(), having(), distinct() query support
    • Added Agg helper for inline aggregation in select()
    • Added tableExists API to check whether a table is defined in the database schema (space‑agnostic)
    • Added query('table').exists() chain API for efficient existence checks based on conditions without loading full records
    • Added table schema TTL configuration and automatic expiration cleanup for time-based data
    • Added pure memory mode (ToStore.memory()), providing ultra-high performance for scenarios like data caching, temporary computation, or diskless environments

    Fixed

    • Fixed count() consistency with write buffer and index scan paths
    • Fixed type cast error in aggregation return values

    Changed

    • Changed license from MIT to Apache License 2.0
    • Optimized watch() with adaptive debounce to coalesce high-frequency data change notifications, avoiding redundant re-queries under burst writes
    • Optimized batchInsert insertion performance for large-scale batch write scenarios
    • Optimized Windows performance
    Open source →
  8. 3.0.6 07 Mar 2026 withdrawn

    Nothing published for this version

  9. 3.0.5 12 Feb 2026
    Release notes

    3.0.5
    Added
    Added ToCrypto for encrypting specific field values
    Added batchUpsert for batch upsert operations
    Added atomic condition judgment expressions for conditional updates and logic in expressions
    Changed
    Intelligent workload scheduling for more stable behavior under very large data volumes
    Adjusted upsert API: removed chained query conditions; use atomic condition expressions for conditional upsert logic
    switchSpace and close: added keepActive / keepActiveSpace options to manage active space for “keep login state” and “logout” scenarios, avoiding extra open-then-switch flow; opening with default space can use stored active space so the first open lands in the last used space
    Optimized constraint and migration prompt wording and consistency
    Standardized README and translation docs (multi-space, login state, and close examples)
    Optimized documentation
    Optimized initialization loading
    Fixed
    Fixed Windows file handle issues caused by atomic replacement and stream reading
    Fixed vulnerability where the system could treat numeric values as bigint by default
    Fixed numerical precision issues on Web

    Open source →
    Release notes

    Added

    • Added ToCrypto for encrypting specific field values
    • Added batchUpsert for batch upsert operations
    • Added atomic condition judgment expressions for conditional updates and logic in expressions

    Changed

    • Intelligent workload scheduling for more stable behavior under very large data volumes
    • Adjusted upsert API: removed chained query conditions; use atomic condition expressions for conditional upsert logic
    • switchSpace and close: added keepActive / keepActiveSpace options to manage active space for “keep login state” and “logout” scenarios, avoiding extra open-then-switch flow; opening with default space can use stored active space so the first open lands in the last used space
    • Optimized constraint and migration prompt wording and consistency
    • Standardized README and translation docs (multi-space, login state, and close examples)
    • Optimized documentation
    • Optimized initialization loading

    Fixed

    • Fixed Windows file handle issues caused by atomic replacement and stream reading
    • Fixed vulnerability where the system could treat numeric values as bigint by default
    • Fixed numerical precision issues on Web
    Open source →
  10. 3.0.3 07 Feb 2026
    Release notes

    3.0.3

    Added

    • Added ToCrypto for encrypting specific field values
    • Added batchUpsert for batch upsert operations
    • Added atomic condition judgment expressions for conditional updates and logic in expressions

    Changed

    • Adjusted upsert API: removed chained query conditions; use atomic condition expressions for conditional upsert logic
    • switchSpace and close: added keepActive / keepActiveSpace options to manage active space for “keep login state” and “logout” scenarios, avoiding extra open-then-switch flow; opening with default space can use stored active space so the first open lands in the last used space
    • Optimized constraint and migration prompt wording and consistency
    • Standardized README and translation docs (multi-space, login state, and close examples)

    Fixed

    • Fixed Windows file process occupancy issue
    • Fixed vulnerability where the system could treat numeric values as bigint by default
    Open source →
  11. 3.0.2 31 Jan 2026
    Release notes

    3.0.2

    Added

    • Added foreign key support with comprehensive relationship management and referential integrity enforcement
    • Added atomic expression update operations for efficient batch data modifications
    • Added AES encryption support for critical data including logs, indexes, and table data, with device fingerprint binding for enhanced security
    • Added data change listeners for arbitrary queries, enabling automatic UI refresh when data changes
    • Added cursor-based pagination support for efficient large dataset navigation

    Changed

    • Enhanced WAL (Write-Ahead Logging) and journal recovery mechanisms to handle catastrophic failures, power outages, and premature application shutdowns, ensuring data integrity through comprehensive benchmark testing
    • Enhanced transaction handling with improved reliability and performance
    • Optimized storage space usage, reducing data footprint
    • Improved pure Dart environment support for better server-side compatibility
    • Refined partitioning strategy with B+ tree, implementing file-level tree node structures to support TB and PB-scale data volumes on edge devices
    • Optimized parallel scheduling mechanism for better resource utilization and performance
    • Enhanced TreeCache caching mechanism for improved memory efficiency and access speed
    • Improved UI responsiveness and smoothness across various operations
    Open source →
    Release notes

    Added

    • Added foreign key support with comprehensive relationship management and referential integrity enforcement
    • Added atomic expression update operations for efficient batch data modifications
    • Added AES encryption support for critical data including logs, indexes, and table data, with device fingerprint binding for enhanced security
    • Added data change listeners for arbitrary queries, enabling automatic UI refresh when data changes
    • Added cursor-based pagination support for efficient large dataset navigation

    Changed

    • Enhanced WAL (Write-Ahead Logging) and journal recovery mechanisms to handle catastrophic failures, power outages, and premature application shutdowns, ensuring data integrity through comprehensive benchmark testing
    • Enhanced transaction handling with improved reliability and performance
    • Optimized storage space usage, reducing data footprint
    • Improved pure Dart environment support for better server-side compatibility
    • Refined partitioning strategy with B+ tree, implementing file-level tree node structures to support TB and PB-scale data volumes on edge devices
    • Optimized parallel scheduling mechanism for better resource utilization and performance
    • Enhanced TreeCache caching mechanism for improved memory efficiency and access speed
    • Improved UI responsiveness and smoothness across various operations
    Open source →
  12. 3.0.1-test 31 Jan 2026 pre-release

    Nothing published for this version

  13. 3.0.0 31 Jan 2026 withdrawn

    Nothing published for this version

  14. 3.0.0-test 29 Jan 2026 pre-release

    Nothing published for this version

  15. 2.2.2 19 Jul 2025
    Release notes

    Removed

    • Removed automatic query cache management. A more efficient caching mechanism is now in place, making it unnecessary for non-large-scale data scenarios.

    Changed

    • Optimized UI smoothness and responsiveness for large-scale data insertion, deletion, and updates.
    • Improved performance for limit, sorting, and pagination.
    • Feat: Intelligent idle task mechanism for optimized power consumption and data safety on mobile devices.

    Fixed

    • Fixed a path issue that occurred when using a custom dbName.
    • Fixed an issue where parallel searches would return prematurely upon finding a result.
    • Fixed an issue where key changes during initialization would not be logged.
    Open source →
  16. 2.2.1 18 Jul 2025 withdrawn

    Nothing published for this version

  17. 2.2.0 18 Jul 2025 withdrawn

    Nothing published for this version

  18. 2.1.9 17 Jul 2025 withdrawn

    Nothing published for this version

  19. 2.1.8 16 Jul 2025 withdrawn

    Nothing published for this version

  20. 2.1.7 16 Jul 2025 withdrawn

    Nothing published for this version

  21. 2.1.6 13 Jul 2025 withdrawn
    Release notes

    Changed

    • Refactored the value matching engine for more precise and efficient algorithm implementation.
    • Adjusted the return type of setValue to DbResult for a more consistent and informative result model.
    • Optimized compute performance by refining task distribution and resource management.
    • Fine-tuned the query optimizer for better execution plan generation and improved query performance.
    • Enhanced benchmark tests and data view.
    Open source →
  22. 2.1.5 07 Jul 2025
    Release notes

    Added

    • Added DataType.json to support JSON and Map data types.
    • Added benchmark tests to simulate production environments with hundreds of thousands of concurrent operations (insert, update, delete, query) across multiple tables. This enables one-click validation of all database APIs and functional integrity, enhancing reliability.
    • Added a data view for a more direct and intuitive data manipulation experience.

    Changed

    • Optimized space management.
    Open source →
  23. 2.1.4 03 Jul 2025
    Release notes

    Added

    • Implemented a unified parallel computing scheduler to manage and execute concurrent tasks efficiently.
    • Introduced noQueryCache method to allow explicit disabling of the query cache for individual queries.
    • Added performance testing and one-click validation for all database interfaces, enabling comprehensive automated integrity checks.

    Changed

    • Optimized CPU-intensive operations by offloading them to background isolates, ensuring a smooth UI experience while maximizing computational throughput.
    • Enhanced memory management with granular scheduling for multi-level cache systems.
    • Re-architected indexing algorithms for improved scalability and performance with large-scale datasets.
    • Significantly improved the throughput of write and delete buffers for high-volume data operations.
    • Refined query cache mechanisms for better performance and control.

    Fixed

    • Resolved a memory overflow issue in the caching system when handling ultra-large datasets.
    Open source →
  24. 2.1.3 01 Jul 2025

    Nothing published for this version

  25. 2.1.2 25 Jun 2025
    Release notes

    Changed

    • Optimized cache cleanup logic for large-scale data scenarios.
    • Refined B+Tree node splitting algorithm to handle high-volume index data more robustly.
    • Optimized retrieval algorithms for binary search and range queries.

    Fixed

    • Addressed an issue in the query cache cleanup mechanism.
    Open source →
  26. 2.1.1 25 Jun 2025

    Nothing published for this version

  27. 2.1.0 19 Jun 2025
    Release notes

    Added

    • Added DefaultValueType to support default values that automatically fill current timestamp

    Changed

    • Enhanced B+Tree index structure for optimized retrieval efficiency and data access speed
    • Improved data repair mechanisms for better consistency and reliability
    • Optimized hash calculation algorithm for table structure comparison
    • Improved overall system stability and reliability with comprehensive testing under high-load conditions

    Fixed

    • Fixed issues during index deletion process
    Open source →
  28. 2.0.9 18 Jun 2025

    Nothing published for this version

  29. 2.0.8 17 Jun 2025
    Release notes

    Added

    • Implemented comprehensive intelligent parallel processing mechanism for database operations, boosting performance by several times
    • Added advanced computational models for cparallel processing
    • Introduced dynamic resource allocation system for optimized memory management
    • Enhanced buffering mechanism with predictive data loading capabilities

    Changed

    • Completely redesigned index architecture for faster data retrieval and reduced latency
    • Optimized buffer management with improved write/delete handling
    • Enhanced memory usage through dynamic allocation based on workload patterns
    • Refined error handling and recovery processes for increased reliability

    Fixed

    • Resolved concurrency issues in high-load environments
    Open source →
  30. 2.0.7 17 Jun 2025

    Nothing published for this version

  31. 2.0.6 10 Jun 2025
    Release notes

    Added

    • Added useQueryCache and clearQueryCache APIs for fine-grained developer control over query caching
    • Enhanced query capabilities with new condition, whereCustom methods and QueryCondition builder
    • Implemented support for infinitely nestable complex query conditions with fully customizable data retrieval logic

    Changed

    • Optimized indexing algorithms for improved data retrieval performance
    • Enhanced parallel processing mechanism for data migrations, increasing migration efficiency
    • Improved documentation examples with additional complex query scenarios

    Fixed

    • Fixed issue where primary keys were not properly included in regular field indexes
    • Resolved JOIN operation failures when primary and foreign keys had different types
    • Implemented automatic repair for corrupted index structures, improving system stability
    Open source →
  32. 2.0.5 10 Jun 2025

    Nothing published for this version

  33. 2.0.3 02 Jun 2025
    Release notes

    Changed

    • Adjusted whether to delete backup files and whether to compress backup files when restoring them

    Fixed

    • Fixed the zip compression issue of backup files on the web platform
    Open source →
  34. 2.0.2 01 Jun 2025
    Release notes

    Changed

    • Adjust document example
    Open source →
  35. 2.0.1 31 May 2025 withdrawn
    Release notes

    Fixed

    • Fixed string comparison issue where values with and without quotes weren't being matched comparison
    • Improved query execution for secondary indexes when handling string values
    • Fixed empty results when querying non-primary index fields with quoted string values
    Open source →
  36. 2.0.1-test.5 01 Jun 2025 pre-release

    Nothing published for this version

  37. 2.0.1-test.4 31 May 2025 pre-release

    Nothing published for this version

  38. 2.0.1-test.3 31 May 2025 pre-release

    Nothing published for this version

  39. 2.0.1-test.2 31 May 2025 pre-release

    Nothing published for this version

  40. 2.0.1-test.1 31 May 2025 pre-release

    Nothing published for this version

  41. 2.0.0 31 May 2025 withdrawn
    Release notes

    Added

    • Cross-platform support for Web, Linux, Windows, Mobile, and Mac platforms
    • Neural network-inspired distributed architecture with interconnected node topology
    • Efficient data partitioning mechanism for distributed processing
    • Isolate parallel processing for improved read/write operations with dynamic workload balancing
    • Multi-node computational network for parallel data operations
    • Resource-aware distributed processing framework
    • Distributed primary key algorithms (sequential, timestampBased, datePrefixed, shortCode)
    • Support for unlimited node expansion with adaptive scaling
    • Intelligent schema migration with precise table/field rename detection and automatic data migration
    • Stream query interface (streamQuery) for efficient large data processing
    • ChaCha20Poly1305 encryption algorithm for secure table data encoding/decoding
    • Startup caching mechanism for faster application launch
    • Enhanced data retrieval capabilities with optimized indexing and search patterns

    Changed

    • Complete architecture overhaul to support network-based distributed processing
    • Enhanced cross-platform storage abstraction with efficient data distribution
    • Intelligent workload distribution across computational nodes

    Changed

    • Optimized large file handling with chunked storage support

    Fixed

    • Fixed file path handling issues in cross-platform environments
    Open source →
  42. 1.8.8 24 Jan 2025
    Release notes

    Changed

    • Improved auto increment setting validation and handling
    • Enhanced data type validation with better error messages
    • Added automatic primary key type conversion for auto increment
    • Fixed DateTime serialization and validation
    • Improved error handling in file operations
    Open source →
  43. 1.8.7 17 Jan 2025
    Release notes

    Breaking Changes

    • Renamed renameTo to renameTable
    • Changed field operation naming to be more consistent:
      • dropField -> removeField
      • dropIndex -> removeIndex

    Enhancements

    • Improved schema migration logic
    • Optimized file operations using FileManager

    Bug Fixes

    • Fixed transaction handling in schema operations
    Open source →
  44. 1.8.6 16 Jan 2025 withdrawn
    Release notes
    • Update topics in pubspec.yaml
    • Fix data type conversion in DataStoreImpl
    Open source →
  45. 1.8.5 16 Jan 2025 withdrawn
    Release notes

    Added

    • Added automatic schema upgrade support through schemas parameter
    • Added chainable schema update operations for table structure modifications
    • Added comprehensive example for schema upgrades and migrations

    Changed

    • Improved table structure upgrade mechanism
    • Enhanced documentation with schema upgrade examples
    • Optimized constraint checking
    Open source →
  46. 1.8.4 25 Dec 2024
    Release notes

    Added

    • Added upsert() for auto upsert data
    • Supports both where conditions and primary key matching
    • Chain-style API consistent with other operations
    • Added array data type for storing List values
    • Added array comparison and sorting support
    • Optimized array type validation
    Open source →
  47. 1.8.3 22 Dec 2024
    Release notes
    • Added multi-language documentation support (日本語, 한국어, Español, Português, Русский, Deutsch, Français, Italiano, Türkçe)
    • Reorganized documentation structure under docs/translations directory
    Open source →
  48. 1.8.2 21 Dec 2024
    Release notes

    Changed

    • Optimized multi-space switching
    • Refined documentation examples
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive