All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.3.0 (2023-01-15)
- re-export interfaces (50730f5)
2.2.0 (2023-01-02)
- location residents type (0b80dd3)
- episode type 67085dc
- remove unused package ff8673f
- Only Node 18 is supported.
- Use
fetch
API (experimental in Node 18) instead of thehttps
module. This makes it easier to use in applications running Webpack 5.
- The client has been entirely rewritten in Typescript.
- New client API reference documentation: https://javascript.rickandmortyapi.com
- The methods have been redefined to maintain a more consistent data structure.
- New methods:
getCharacters
,getLocations
andgetEpisodes
- New methods:
- The response schema of all methods has been updated and return the same structure. https://github.com/afuh/rick-and-morty-api-node#response-schema
- Package imports https://github.com/afuh/rick-and-morty-api-node#usge
getCharacter
,getLocation
andgetEpisode
are now used for non-paginated responses. AnId
or array ofIds
is now required. https://github.com/afuh/rick-and-morty-api-node#get-by-id- To continue using pagination or simply require all items of a resource, new methods are now available. https://github.com/afuh/rick-and-morty-api-node#pagination