Releases: favware/graphql-pokemon
Releases · favware/graphql-pokemon
v6.0.2
v6.0.1
6.0.1 (2021-09-19)
⚠ BREAKING CHANGES
- removed
DexEntry.evos
property, if you want to get just the evolution names useevolutions { species }
- removed
DexEntry.prevo
property, if you want to get just the evolution names usepreevolutions { species }
- removed
DexEntry
structure, most of its properties are merged intoDexDetails
- removed
getAbilityByFuzzy
- removed
getAbilityByName
- removed
getDexEntries
- removed
getDexEntryByDexNumber
- removed
getDexEntryBySpeciesName
- removed
getItemByFuzzy
- removed
getItemByName
- removed
getMoveByFuzzy
- removed
getMoveByName
- removed
getTypeByName
- removed
take
,skip
andreverse
fromgetPokemon
. They are renamed totakeFlavorTexts
(default: 1),offsetFlavorTexts
(default: 0), andreverseFlavorTexts
(default: true) - renamed
Abilities
enum toAbilitiesEnum
- renamed
AbilityPaginatedArgs
toFuzzyAbilityArgs
- renamed
ExactPokemonPaginatedArgs
toPokemonArgs
- renamed
getAbilityDetailsByFuzzy
togetFuzzyAbility
- renamed
getAbilityDetailsByName
togetAbility
- renamed
getItemDetailsByFuzzy
togetFuzzyItem
- renamed
getItemDetailsByName
togetItem
- renamed
getMoveDetailsByFuzzy
togetFuzzyMove
- renamed
getMoveDetailsByName
togetMove
- renamed
getPokemonDetails
togetPokemon
- renamed
getPokemonDetailsByFuzzy
togetFuzzyPokemon
- renamed
getPokemonDetailsByName
togetPokemonByName
andgetPokemonBySpecies
- renamed
getPokemonDetailsByNumber
togetPokemonByDexNumber
- renamed
getPokemonLearnset
togetLearnset
- renamed
getPokemonLearnsetByFuzzy
togetFuzzyLearnset
- renamed
ItemPaginatedArgs
toFuzzyItemArgs
- renamed
Items
enum toItemsEnum
- renamed
LearnsetFuzzyArgs
toFuzzyLearnsetArgs
- renamed
MovePaginatedArgs
toFuzzyMoveArgs
- renamed
Moves
enum toMovesEnum
- renamed
Pokemon
enum toPokemonEnum
- renamed
PokemonNumberPaginatedArgs
toPokemonNumberArgs
- renamed
PokemonPaginatedArgs
toFuzzyPokemonArgs
- renamed
Types
enum toTypesEnum
- renamed the
skip
parameter for allgetFuzzy*
queries has been renamed tooffset
to better represent what it does.
Features
getFuzzy*
queries can now return multiple results that match the fuzzy query. By default only 1 result is returned. You can modify this by passing thetake
parameter. Furthermore you can provide theoffset
parameter to skip that many items from the start, and thereverse
parameter to reverse the array before applyingtake
andoffset
. (1fa1240)- added the missing type-specific hidden powers (c1a8e83)
- rewrite API to version 6 (#516) (#521) (920a466)
Bug Fixes
- also return base Pokémon data for
getLearnset
when only requestingbackSprite
and/orshinyBackSprite
(ff8455a) - fixed
hidden power
being marked as a water type move (578653c) - fixed the
basePower
for the movesfrustration
andreturn
(32f9d18) - fixed the
cosmeticFormes
forflabébé
(ae0ee83) - fixed the
version_id
(game) for Missingno's flavour text (7855a3c) - fixed the
zMovePower
for the movesfrustration
,return
,seismic toss
, andnight shade
(b124212) - fixed the bulbapedia URL for nidoran-female (f8a04a9)
- fixed the bulbapedia URL for nidoran-male (8bd546f)
- fixed the quotes used in the flavour texts (08c4358)
- fixed the registered name for
gengargmax
(309273e) - fixed the way prefixed fuzzy queries are parsed. It is now possible to prefix with
galarian
,alolan
, andgigantamax
alongside their respective values ofgalar
,alola
andgmax
. (a3fe56b) - fixed various text issues in flavour texts, in particular garbled characters being in the place of the common
é
character (aa1cd41) - when a move's z-move power cannot be computed the value of
0
is now returned, as opposed toInfinity
, which would cause an error. (4a07fc3) - fixed 1 remaining
pokemon
->Pokémon
(82d02ef) - fixed various incorrect characters (1fe9195)