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.
- ModuleJS exports not working as intended
- Support for both ModuleJS and CommonJS
- package not loading on browser
- fix version number not correctly exposting
- Compatibility with Angular
- Updated node-fetch for CVE-2022-0235
- Added new endpoint
- New logo field in serie
- ESM exports are back
- Downgraded to ES2015 to have better suport browsers
- Moved browser export from
Webpack
toesbuild
- Deprecated
Languages
Type
- Support for new languages
- Cleaned dist folder
- Browser specialized build
- #9 Build/Unit/ESLint tests and coverage with Codecov using Github Action
- #10 Simplified Request/Cache manager
2.2.0 - 2021-06-19
- Added new fields
2.1.1 - 2021-05-31
- Package building in the wrong version of ECMAScript
2.1.0 - 2021-05-31
- new
fetch
function that manage all the API endpoints
2.0.2-2.0.3 - 2021-05-28
rotationMark
should have been namedregulationMark
2.0.1 - 2021-05-28
- Hardcoded string values are now strings as they depends on the language
2.0.0 - 2021-05-28
- simple string endpoint typing
- Typing is exported through the main.d.ts file
cardCount
field in the set interface- a
rotationMark
to the card interface
- Support new incoming datas
- Point the SDK to the new V2
- Renamed
getExpansion(s)
togetSerie(s)
- Typing for the new SDK
- Functions now use
fetch
instead ofget
in their names - URL Normalization is now done by the SDK
- TranslationUtil as now translation are managed by the API
- the interfaces folder as every interfaces are now in
interfaces.d.ts
this.gbu
- Translation files as they are now in the Compiler
1.7.0 - 2021-01-31
- new Rarities
1.6.1 - 2021-01-31
- tags are now optionnal
1.6.0 - 2021-01-08
- Errors are now handled to return
undefined
- console.warn when using
getCards
1.5.0 - 2021-01-08
- getSet can now not transform the API Date to a Javascript Date
1.4.2 - 2021-01-08
- new Tags
- rarities to have less strange rarities
- CORS blocked
1.4.1 - 2020-04-24
- Changed API url to the new one
1.4.0 - 2020-03-25
- a
defaultLang
static field to customize the default lang - a
getLang
function to get the current lang for the SDK
- Warnings for translations
1.3.0 - 2020-03-18
- A cache system
- some informations about differents tags on a card
- lvl on the card interface
- cardTypes on the card interface
1.2.1 - 2020-03-14
- Fix items datas not in the correct interface
1.2.0 - 2020-03-14
- Added The getCards endpoint to fetch the big list of card with an optionnal filter on the set
- Added The getExpansions endpoint to fetch the list of expansions
- Added Some informations about cardTypes
- Updated DB to add support for items
- Fix translation not getting the correct file
1.0.8 - 2020-03-11
- Changed typing for some interfaces
1.0.1-1.0.7 - 2020-03-11
- Renamed the class Name from
TCGDex
toTCGdex
- lang argument is now public so it can be changed while the SDK is active
- some typing for getCard and translationUtil
1.0.0 - 2020-03-11
- the getCard function to use with the fetch a card with it's id
- the getSet function to use with the fetch a set with it's id
- the getExpansion function to use with the fetch an expansion with it's id
- Constructor arg support for multiple langs
- TranslationUtil to go from the SDK value to a text value