Releases: caleb531/youversion-suggest-api
v4.0.1
v4.0.0
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)
v3.0.0
YVS v3 is a major release which extends the library compatibility to runtimes beyond Node, including Cloudflare Workers and even in a web browser. There are no changes to the JavaScript API, so v3 should be a drop-in replacement for v2.
This new version requires WASM and Fetch API support in your JavaScript runtime.
v3.0.0-beta.4
- Replaced the htmlrewriter package with @worker-tools/html-rewriter's base64 WASM loader
- This should hopefully fix the import issues with NextJS, as my testing has indicated (UPDATE: it definitely does—thank you, Jesus!)
v3.0.0-beta.3
- Properly externalized
htmlrewriterandhtml-entitiesso they can be handled by consuming applications- This ensures that your consuming application's JS runtime generates code that is more specific to the environment you're targeting
v3.0.0-beta.2
- Attempt to fix WASM issues
v3.0.0-beta.1
YVS v3 is a major release which extends the library compatibility to runtimes beyond Node, including Cloudflare Workers and even in a web browser. There are no changes to the JavaScript API, so v3 should be a drop-in replacement for v2.
This release is an initial beta to ensure that the changes in v3 do not break existing applications.