All notable changes to this project will be documented in this file.
8.0.0 - (2024-04-29)
- Do not use
querystring
node internal for better browser bundle (0d01ac0) - Rework repository, update whole stack (a26b37b)
- Configure package for proper bundle exports (7e1c1df)
- Migrate to astro (#33) (0f5d2c8)
- 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.
- 💥 BREAKING CHANGE:
7.1.3 - (2023-04-13)
- Use named functions for exported functions (8ca9ba8)
- Throw an error when
parseGameCode
is called for American games (f36900d) - Update build stack (#13) (12816d1)
- readme: Update contributing (1d02690)
7.1.2 - (2022-08-21)
- Fixed
getQueriedGamesAmerica
not returning sale prices (a428502)
- Use
expect.any
for Object checks (b782ea7)
7.1.1 - (2022-08-15)
- getQueriesGamesAmerica: Fetch both the old and new Algolia indices and merge data to ensure all available data is returned (df1a806)
- Update docusaurus setup (ef3d13a)
- Fix welcome install command (22ff98d)
- Update license header for
getQueriedGamesBrazil
andgetQueriedGamesAmerica
(0746f6d)
- Migrate to vitest (4ceb03a)
7.1.0 - (2022-04-16)
- Fixed package config for yarn npm publish (c816444)
- Add
module
to package.json and addtypes
to export maps forNodeNext
support (68021b2)
- Fix docusaurus config (893de09)
- Add
getQueriedGamesBrazil
andgetGamesBrazil
(#4) (dcf9d50)
7.0.2 (2022-02-07)
- bump dependencies (
@sapphire/fetch
andfast-xml-parser
) (10256fe) - update
GameEU
interface (65931cb), closes #2
7.0.1 (2021-11-17)
- fixed home page url and links to api docs (b876ead)
7.0.0 (2021-11-05)
- 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.
- update all the URLs ahead of full transfer (5231eaf)
6.0.2 (2021-10-25)
- rework some internals (08c5d52)
6.0.1 (2021-06-20)
6.0.0 (2021-06-18)
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 getnull
back and the deprecation warning has been removed.
- update typings for
getGamesAmerica
(5b162b4)
5.1.0 (2021-03-05)
- bundle ESM compatible exports (b58a3aa)
- getqueriedgamesamerica: fixed type exports and TSDoc (103f028)
5.0.0 (2021-03-05)
- getqueriedgamesamerica: The return structure has changed. Please refer to updated documentation or TypeScript information.
- getqueriedgamesamerica: fixed getQueriedGamesAmerica which was broken as per API changes (5c32023), closes #374
4.0.0 (2020-10-31)
- 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]
3.0.3 (2020-09-10)
3.0.2 (2020-07-08)
3.0.1 (2020-02-04)
3.0.0 (2020-02-04)
-
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)
2.2.6 (2019-11-27)
2.2.5 (2019-11-22)
- fixed getGamesAmerica (83d8934)
2.2.4 (2019-10-30)
Note: Version bump only for package nintendo-switch-eshop
2.2.3 (2019-09-11)
- 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
- Fixed
getShopsByCountryCodes
by building with rollup-plugin-json included
2.2.0 - 2019-08-01
- Fixed
getGamesAmerica
to use the new Algolia based API. At last! Many thanks to @endy124 for their work on this!
- 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
- 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
- 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!
- Expose
GameUS
,GameEU
andGameJP
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
- We now also test that looping of
getGamesAmerica
works properly
2.0.1 - 2019-01-19
- 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 critical issue on getGamesAmerica request
1.1.1 - 2018-07-13
- Optional shop request params
1.1.0 - 2018-02-23
- Request options
1.0.7 - 2017-08-01
- getGamesJP to comply with new API
1.0.6 - 2017-06-23
- Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience
1.0.3 - 2017-06-05
- Lib files