All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- NEW - Library now passes Deno tests. Any forthcoming change should always pass through the test suite.
- NEW - Library now supports
Blob
. This is useful for Browser compatibility. Report any bugs if you find any!
- BREAKING - Interfaces have been renamed to use the hungarian notation style (e.g.
SagiriResult
is nowISagiriResult
). Please adapt your code accordingly. - BREAKING - ESM support has been added to allow the module to be used on Node.js 16+ code that uses ESM code.
- BREAKING - Bun and Deno support has been added. Library contributors are encouraged to try the library on these platforms and avoid any Node.js specific code.
- NEW - Package is now published in the JSR registry. To install the package, run
deno install jsr:@clarity/sagiri
. - NEW - Library now uses the native Fetch API. A node-fetch fallback is provided for LTS versions below 21.x - however this will be removed once 18 and 20.x versions become deprecated.
- Ensure tokens are validated
- Fully support Index eHentai (idx 38)
- Added more resolution for DeviantArt metadata.
- Fix Sagiri not sending correct headers during POST.
- Completely redo API to a simpler, FP inspired interface. Main export is now a function instead of a class.
- Options have been renamed to make more sense.
getRatings
has been removed due to implementation quirks, but may come back in a future release.
- Errors from SauceNAO are properly thrown as a
SagiriClientError
orSagiriServerError
and actually give the error message. - Logging via the
debug
module now exists to help triage issues. - It is now possible to override default options when fetching results.
- Ratings should now show properly.
- Tests are now done locally via
nock
.
- Codebase now uses Clarity ESLint config.
- Rollup bundling
- Fixed typo in
similarity
key.
- Rewrite the library from the ground up in TypeScript
- Make the LICENSE file a markdown file
- Also build Node v12 on TravisCI
- Use Jest as test framework
- TypeScript based ESLint config
- Editorconfig for standardised formatting
- Rollup bundling
- Automatic doc generation
- Inclusion of docs in README.md
- Inclusion of this CHANGELOG.md
- GitHub templates
1.5.4 - 2019-08-02
- No changed to report
1.5.3 - 2019-04-14
- No changed to report
1.5.2 - 2019-03-04
- No changed to report
1.5.1 - 2019-03-04
- No changed to report
1.5.0 - 2019-03-04
- No changed to report
1.4.4 - 2018-12-09
- No changed to report
1.4.3 - 2018-03-14
- Maintenance bump
1.4.2 - 2018-02-10
- Support more sites
1.4.0 - 2017-10-24
- Add ability to generate a DB mask by passing in an array of DB indexes to the constructor, and likewise for disabling DB indexes. (382004b)
- Add ability to enable "test mode" in the API (3659032)
1.3.1 - 2017-10-18
- Fix a typo in TypeError for Ratelimiter (3448526)
- Unref Ratelimiter timer to let Node exit early if need be (3448526)
- Fix longLimiter using the short period (23a8fa2)
1.3.0 - 2017-10-17
- Adds proper ratelimiting handling which prevents you from sending a request if you are ratelimited.
- Reorganised index file structure to enable access to constants and the ratelimiter class, without breaking backwards compatibility.
1.2.4 - 2017-10-04
- changes the package distro namespace from @sr229/sagiri to sagiri
1.2.1 - 2017-09-28
- Adds some error handling and adds a hidden index for Pixiv.
1.2.0 - 2017-09-27
- Update package ver
1.1.1 - 2017-09-27
- add CC.yml for precise code analysis