Skip to content

Conversation

@Sv443
Copy link
Member

@Sv443 Sv443 commented Jun 10, 2025

  • Add overflowVal() to conform a value to an over- & undeflowing range
  • Add NanoEmitter.onMulti() to listen to multiple events at once, including conditional callback triggering
  • DataStore
    • Add optional abstract method DataStoreEngine.deleteStorage() for deleting the data storage container itself. If implemented, it will be called from the method DataStore.deleteData()
    • Add dataStoreOptions constructor prop to the DataStoreEngine subclasses to enable them to be used standalone.
    • Remove the boolean property __ds-${id}-enc from the DataStore and DataStoreEngine classes.
      Instead, set the key __ds-${id}-enf to the encoding format identifier string (or null if not specified).
      This will make it possible to switch the encoding format without compatibility issues.
      This functionality is not officially supported yet, but can be achieved manually by calling the storage API methods of storeInstance.engine

@Sv443 Sv443 self-assigned this Jun 10, 2025
@Sv443 Sv443 added bug Something isn't working enhancement New feature or request labels Jun 10, 2025
@coveralls
Copy link

coveralls commented Jun 10, 2025

Pull Request Test Coverage Report for Build 16198304423

Details

  • 174 of 177 (98.31%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+2.2%) to 95.363%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/DataStoreEngine.ts 35 38 92.11%
Totals Coverage Status
Change from base Build 15369785294: 2.2%
Covered Lines: 1082
Relevant Lines: 1101

💛 - Coveralls

@Sv443 Sv443 marked this pull request as ready for review July 10, 2025 14:45
@Sv443 Sv443 merged commit 5e7196c into main Jul 10, 2025
3 checks passed
@Sv443 Sv443 changed the title Version 1.1.0 Version 2.0.0 Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants