Skip to content

Latest commit

 

History

History
327 lines (184 loc) · 14.7 KB

CHANGELOG.md

File metadata and controls

327 lines (184 loc) · 14.7 KB

Changelog

All notable changes to this project will be documented in this file.

8.0.0 - (2024-04-29)

🏠 Refactor

  • Do not use querystring node internal for better browser bundle (0d01ac0)
  • Rework repository, update whole stack (a26b37b)

🐛 Bug Fixes

  • Configure package for proper bundle exports (7e1c1df)

📝 Documentation

🚀 Features

  • Ensure proper CJS and ESM bundles and add IIFE bundle (3d009bc)
  • Drop default export of getGamesAmerica (9b93ed9)
    • 💥 BREAKING CHANGE: getGamesAmerica is no longer default exported. Use a named import instead.

7.1.3 - (2023-04-13)

🏠 Refactor

  • Use named functions for exported functions (8ca9ba8)

🐛 Bug Fixes

  • Throw an error when parseGameCode is called for American games (f36900d)
  • Update build stack (#13) (12816d1)

📝 Documentation

  • readme: Update contributing (1d02690)

7.1.2 - (2022-08-21)

🏠 Refactor

  • Optimize getGamesJapan (70c61cd)
  • Switch to @sapphire/result for error handling (2a1f845)

🐛 Bug Fixes

  • Fixed getQueriedGamesAmerica not returning sale prices (a428502)

🧪 Testing

  • Use expect.any for Object checks (b782ea7)

7.1.1 - (2022-08-15)

🐛 Bug Fixes

  • getQueriesGamesAmerica: Fetch both the old and new Algolia indices and merge data to ensure all available data is returned (df1a806)

📝 Documentation

  • Update docusaurus setup (ef3d13a)
  • Fix welcome install command (22ff98d)
  • Update license header for getQueriedGamesBrazil and getQueriedGamesAmerica (0746f6d)

🧪 Testing

7.1.0 - (2022-04-16)

Bug Fixes

  • Fixed package config for yarn npm publish (c816444)
  • Add module to package.json and add types to export maps for NodeNext support (68021b2)

Documentation

Features

  • Add getQueriedGamesBrazil and getGamesBrazil (#4) (dcf9d50)

7.0.2 (2022-02-07)

Bug Fixes

  • bump dependencies (@sapphire/fetch and fast-xml-parser) (10256fe)
  • update GameEU interface (65931cb), closes #2

7.0.1 (2021-11-17)

Bug Fixes

  • fixed home page url and links to api docs (b876ead)

7.0.0 (2021-11-05)

⚠ BREAKING CHANGES

  • The ownership of this package has officially been transferred to https://github.com/favna. While Favna has been maintaining this package for a few years already and this won't affect you in any major ways, package ownership transfers have often been an icky topic in the NPM ecosystem. For this reason the choice was made to make this a new major versions so a change of ownership would not land in your caret scoped dependencies.

Bug Fixes

  • update all the URLs ahead of full transfer (5231eaf)

6.0.2 (2021-10-25)

Bug Fixes

6.0.1 (2021-06-20)

Bug Fixes

  • getGamesAmerica: improve requests being made for better api data (881174d), closes #473

6.0.0 (2021-06-18)

⚠ BREAKING CHANGES

  • parseGameCode has no longer been able to parse American games due to API changes. Until now you would get an empty string back and a deprecation warning. Starting this version you will instead get null back and the deprecation warning has been removed.

Features

  • update typings for getGamesAmerica (5b162b4)

Bug Fixes

5.1.0 (2021-03-05)

Features

  • bundle ESM compatible exports (b58a3aa)

Bug Fixes

  • getqueriedgamesamerica: fixed type exports and TSDoc (103f028)

5.0.0 (2021-03-05)

⚠ BREAKING CHANGES

  • getqueriedgamesamerica: The return structure has changed. Please refer to updated documentation or TypeScript information.

Bug Fixes

  • getqueriedgamesamerica: fixed getQueriedGamesAmerica which was broken as per API changes (5c32023), closes #374

4.0.0 (2020-10-31)

⚠ BREAKING CHANGES

  • use getQueriedGamesAmerica to get games based on a given query. For example when your users can perform a search (just like on the nintendo.com website) you can use this to severly limit the results to go through.
  • The repo files have been moved around a lot. This probably won't impact you too much, but if you were importing from a specific path (not the root of require('nintendo-switch-eshop')) then you'll have to change your imports.
  • api: getGamesAmerica no longer takes any parameters and should always return all games.

Co-authored-by: Jeroen Claassens [email protected]

Features

Bug Fixes

  • api: updated getgamesamerica algolia request to retrieve all games (#281) (2ace2cc)

3.0.3 (2020-09-10)

3.0.2 (2020-07-08)

3.0.1 (2020-02-04)

3.0.0 (2020-02-04)

⚠ BREAKING CHANGES

  • getGamesAmerica's options no longer takes a "shop" property

  • remove the "shop" property from getGamesAmerica (15a8a3c), closes #124

2.2.8 (2019-12-20)

2.2.7 (2019-12-10)

Bug Fixes

2.2.6 (2019-11-27)

Bug Fixes

2.2.5 (2019-11-22)

Bug Fixes

2.2.4 (2019-10-30)

Note: Version bump only for package nintendo-switch-eshop

2.2.3 (2019-09-11)

Bug Fixes

  • typing get games america (2d756b9)

2.2.2 (2019-08-24)

Note: Version bump only for package nintendo-switch-eshop

2.2.1 - 2019-08-05

Fixes

  • Fixed getShopsByCountryCodes by building with rollup-plugin-json included

2.2.0 - 2019-08-01

Fixes

  • Fixed getGamesAmerica to use the new Algolia based API. At last! Many thanks to @endy124 for their work on this!

Changed

  • Restructured project
    • Now produces optimal bundles with Rollup
    • Proper JSDoc generation
    • Keeping a changelog
    • Cleaner editorconfig and thus coding style
    • GitHub issue and pull request and a contributing guide
    • Better CircleCI configuration

2.1.1 - 2019-02-26

Fixes

  • Moved @types/country-data to devDependencies thinking that would be okay but apparently it is not as it breaks TypeScript builds. So sorry! This should fix these kind of errors that were present in v2.1.0:

2.1.0 - 2019-02-26

Fixes

  • Get rid of Gulp for development environment => NPM Scripts suffice just fine
  • Move @types to devDependencies where they belong => No more installed along with the package
  • Change to terser-folder => Better ES6 support
  • Fixed looping in getGamesAmerica => The lib loops for you again now, sorry for breaking that!
  • Fixed looping in getPrices => Related to the other looping issue, now fixed again!

Added

  • Expose GameUS, GameEU and GameJP interface for TypeScript users
  • Allow for the getGamesAmerica shop property to be 'unfiltered'. This will remove the property from the API request and return everything possible

Changed

  • We now also test that looping of getGamesAmerica works properly

2.0.1 - 2019-01-19

Changed

  • BREAKING: Completely rewritten from the ground up!! Not compatible with v1.x!
  • Reworked in TypeScript
  • Now uses async/await rather than promises
  • Minified production builds
  • Importing syntax changed

1.1.2 - 2018-07-20

Fixed

  • Fixed critical issue on getGamesAmerica request

1.1.1 - 2018-07-13

Added

  • Optional shop request params

1.1.0 - 2018-02-23

Added

  • Request options

1.0.7 - 2017-08-01

Changed

  • getGamesJP to comply with new API

1.0.6 - 2017-06-23

Changed

  • Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience

1.0.3 - 2017-06-05

Added

  • Lib files