EvolvedWeb / evowc

Evolved Web Components
MIT License
8 stars 0 forks source link

Change the arguments in the `update` function #36

Closed intervalia closed 1 year ago

intervalia commented 1 year ago

Currently the update function has the following arguments: update(field, oldVal, newVal)

This needs to be changed to use an object update({cpa, oldVal, newVal}) to allow the oldVal to be easily ignored and other arguments to be added without further breaking change.

THIS IS A BREAKING CHANGE

intervalia commented 1 year ago

Fixed in version 0.6.0