Skip to content

Latest commit

 

History

History
197 lines (118 loc) · 5.79 KB

CHANGELOG.md

File metadata and controls

197 lines (118 loc) · 5.79 KB

Changelog

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.

[4.1.0] - 2024-08-27

  • 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!

[4.0.0] - 2024-08-26

Changed

  • BREAKING - Interfaces have been renamed to use the hungarian notation style (e.g. SagiriResult is now ISagiriResult). 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.

[3.6.0] - 2024-04-10

Changed

  • Ensure tokens are validated
  • Fully support Index eHentai (idx 38)

[3.0.8] 2019-05-30

Changed

  • Added more resolution for DeviantArt metadata.

[3.0.1] 2019-10-30

Changed

  • Fix Sagiri not sending correct headers during POST.

[3.0.0] - 2019-10-29

Changed

  • 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.

Added

  • Errors from SauceNAO are properly thrown as a SagiriClientError or SagiriServerError 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.

[2.0.3] - 2019-10-24

Changed

  • Ratings should now show properly.
  • Tests are now done locally via nock.

[2.0.2]

Changed

  • Codebase now uses Clarity ESLint config.

Removed

  • Rollup bundling

[2.0.1]

Changed

  • Fixed typo in similarity key.

[2.0.0] - 2019-08-04

Changed

  • 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

Added

  • 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

Changed

  • Maintenance bump

1.4.2 - 2018-02-10

Added

  • Support more sites

1.4.0 - 2017-10-24

Added

  • 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

Fixed

  • 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

Added

  • Adds proper ratelimiting handling which prevents you from sending a request if you are ratelimited.

Changed

  • Reorganised index file structure to enable access to constants and the ratelimiter class, without breaking backwards compatibility.

1.2.4 - 2017-10-04

Changed

  • changes the package distro namespace from @sr229/sagiri to sagiri

1.2.1 - 2017-09-28

Added

  • Adds some error handling and adds a hidden index for Pixiv.

1.2.0 - 2017-09-27

Changed

  • Update package ver

1.1.1 - 2017-09-27

Added

  • add CC.yml for precise code analysis