YVS v4 is technically a major release, but actually a pretty straightforward one. There are no API changes beyond dropping Node 18 support. There are also several important fixes, so if you are using Node 20 and greater, then upgrading is highly recommended and should be very smooth.
- Dropped Node 18 support
- Fixed a bug where calling
getReferencesMatchingPhrasewould fail with the errorCannot read properties of undefined (reading 'toLowerCase') - Added proper handling for elements that have class attributes without values (when parsing HTML for reference content)