Skip to content

Report previous value on changed#2604

Open
robot-controller wants to merge 5 commits into
maxnowack:mainfrom
HapticlabsIO:report-previous-on-changed
Open

Report previous value on changed#2604
robot-controller wants to merge 5 commits into
maxnowack:mainfrom
HapticlabsIO:report-previous-on-changed

Conversation

@robot-controller
Copy link
Copy Markdown
Contributor

@robot-controller robot-controller commented Mar 9, 2026

It can be useful when observing the 'changed' event to know the previous value the row had. In this PR, this is added as an additional argument to the callback.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d6e8d68) to head (d06b9f8).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2604   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           56        56           
  Lines         1866      1866           
  Branches       444       444           
=========================================
  Hits          1866      1866           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 9, 2026

Bundle Report

Changes will increase total bundle size by 179 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@signaldb/core 244.65kB 179 bytes (0.07%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: @signaldb/core

Assets Changed:

Asset Name Size Change Total Size Change (%)
index23.cjs.js 65 bytes 30.9kB 0.21%
index23.mjs 65 bytes 30.34kB 0.21%
Collection/index.d.ts 20 bytes 15.54kB 0.13%
index9.cjs.js 9 bytes 4.8kB 0.19%
index9.mjs 9 bytes 4.73kB 0.19%
Collection/Observer.d.ts 11 bytes 2.8kB 0.39%

Copy link
Copy Markdown
Owner

@maxnowack maxnowack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @robot-controller, thanks for your PR!
Could you please add a changelog entry and also update the documentation? 🙂

@robot-controller
Copy link
Copy Markdown
Contributor Author

Thank you for the feedback. I updated the docs and the changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants