Skip to content

Releases: favware/graphql-pokemon

v6.0.2

30 Sep 22:34
Compare
Choose a tag to compare

6.0.2 (2021-09-19)

Bug Fixes

  • Type: properly mark properties of Type as non-nullable (467be09)

v6.0.1

19 Sep 19:45
Compare
Choose a tag to compare

6.0.1 (2021-09-19)

⚠ BREAKING CHANGES

  • removed DexEntry.evos property, if you want to get just the evolution names use evolutions { species }
  • removed DexEntry.prevo property, if you want to get just the evolution names use preevolutions { species }
  • removed DexEntry structure, most of its properties are merged into DexDetails
  • removed getAbilityByFuzzy
  • removed getAbilityByName
  • removed getDexEntries
  • removed getDexEntryByDexNumber
  • removed getDexEntryBySpeciesName
  • removed getItemByFuzzy
  • removed getItemByName
  • removed getMoveByFuzzy
  • removed getMoveByName
  • removed getTypeByName
  • removed take, skip and reverse from getPokemon. They are renamed to takeFlavorTexts (default: 1), offsetFlavorTexts (default: 0), and reverseFlavorTexts (default: true)
  • renamed Abilities enum to AbilitiesEnum
  • renamed AbilityPaginatedArgs to FuzzyAbilityArgs
  • renamed ExactPokemonPaginatedArgs to PokemonArgs
  • renamed getAbilityDetailsByFuzzy to getFuzzyAbility
  • renamed getAbilityDetailsByName to getAbility
  • renamed getItemDetailsByFuzzy to getFuzzyItem
  • renamed getItemDetailsByName to getItem
  • renamed getMoveDetailsByFuzzy to getFuzzyMove
  • renamed getMoveDetailsByName to getMove
  • renamed getPokemonDetails to getPokemon
  • renamed getPokemonDetailsByFuzzy to getFuzzyPokemon
  • renamed getPokemonDetailsByName to getPokemonByName and getPokemonBySpecies
  • renamed getPokemonDetailsByNumber to getPokemonByDexNumber
  • renamed getPokemonLearnset to getLearnset
  • renamed getPokemonLearnsetByFuzzy to getFuzzyLearnset
  • renamed ItemPaginatedArgs to FuzzyItemArgs
  • renamed Items enum to ItemsEnum
  • renamed LearnsetFuzzyArgs to FuzzyLearnsetArgs
  • renamed MovePaginatedArgs to FuzzyMoveArgs
  • renamed Moves enum to MovesEnum
  • renamed Pokemon enum to PokemonEnum
  • renamed PokemonNumberPaginatedArgs to PokemonNumberArgs
  • renamed PokemonPaginatedArgs to FuzzyPokemonArgs
  • renamed Types enum to TypesEnum
  • renamed the skip parameter for all getFuzzy* queries has been renamed to offset 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 the take parameter. Furthermore you can provide the offset parameter to skip that many items from the start, and the reverse parameter to reverse the array before applying take and offset. (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 requesting backSprite and/or shinyBackSprite (ff8455a)
  • fixed hidden power being marked as a water type move (578653c)
  • fixed the basePower for the moves frustration and return (32f9d18)
  • fixed the cosmeticFormes for flabébé (ae0ee83)
  • fixed the version_id (game) for Missingno's flavour text (7855a3c)
  • fixed the zMovePower for the moves frustration, return, seismic toss, and night 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, and gigantamax alongside their respective values of galar, alola and gmax. (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 to Infinity, which would cause an error. (4a07fc3)
  • fixed 1 remaining pokemon -> Pokémon (82d02ef)
  • fixed various incorrect characters (1fe9195)

v5.7.1

19 Sep 19:39
Compare
Choose a tag to compare

5.7.1 (2021-09-11)

Bug Fixes

  • fixed the published bundle (312915d)

v5.7.0

11 Sep 14:22
Compare
Choose a tag to compare

5.7.0 (2021-09-06)

Features

  • add Effort Value yields to all Pokémon (#444) (dd69b57)

Bug Fixes

  • fixed pre-evolution parsing for sirfetch'd (09b03ff)
  • fixed some pokemon -> pokémon (b9a9ffb)
  • fixed various bulbapedia, smogon, serebii and sprite urls (8193ed3)
  • fixed various incorrect symbols in flavour texts (307a256)

v5.6.0

05 Sep 15:34
Compare
Choose a tag to compare

5.6.0 (2021-09-05)

Features

  • add growth rate catch rate and hatch time (#509) (f4da2b6)

v5.5.9

05 Sep 15:34
Compare
Choose a tag to compare

5.5.9 (2021-07-18)

Bug Fixes

  • mark package as side effect free (5a924c4)

v5.5.4

05 Sep 15:33
Compare
Choose a tag to compare

5.5.4 (2021-06-19)

Bug Fixes

  • swap import and require in export paths (5689ae0)

v5.5.3

05 Sep 15:33
Compare
Choose a tag to compare

5.5.3 (2021-06-19)

Bug Fixes

  • bundle with rollup to output proper JS files (3163171)

v5.5.2

05 Sep 15:32
Compare
Choose a tag to compare

5.5.2 (2021-05-30)

v5.5.1

05 Sep 15:32
Compare
Choose a tag to compare

5.5.1 (2021-05-29)

Bug Fixes

  • add back sprite support to learnset queries (c02f2fc)