Releases: ginkgobioworks/curious-js
Add "browser" build to work with browser apps
Use rollup.js for module bundling
This release changes curious-js to use rollup.js for module bundling into ES6 modules, with backwards compatibility using UMD and CommonJS.
Breaking changes
- Bower is no longer supported
Remove AMD name
Bugs fixed
- The defined name was causing problems with some AMD uses (#6)
Fix query cleanup
Bugs fixed
- Query cleanup (line break removal) was not working correctly. This release is a bugfix that resolves the issue.
Clean up documentation and scripts
Non-breaking changes
- Improve README and documentation
- Clean up npm package.json scripts
- Clean up JSDoc
Bugs fixed
- Axios wrapper was not correctly binding the
.post
method [#2]
More permissive URL handling
Non-breaking changes
- The URL passed into
CuriousClient
constructor can now either be the query URL (the old way, now deprecated), or the Curious server's base URL (the new, preferred way) - Travis CI continuous integration has been added
Better documentation and debug info
Non-breaking changes
- Added Docker configuration for platform-independent testing
- Clarified documentation
- Added names to anonymous functions for better debugging information
Thenable CuriousQuery
Non-breaking changes
Version 2.3.0 adds functionality for appending .then
and .catch
callbacks directly to CuriousQuery
objects. These callbacks are then attached to the promise returned by the curious client when the query is performed.
This functionality makes it possible to encapsulate queries with post-processing as individual objects, without executing the query in the process.
Validate for NPM release
Update the package.json file to allow for valid npm publication, and update the bower.json file with the same additional fields added to the package.json file.
Slimmer repo footprint
Minor improvements to the package configuration to make the files downloaded by bower
and npm
more relevant.