sv443-joke-api
Version:
JavaScript wrapper for Sv443's Joke API
58 lines (48 loc) • 1.8 kB
Markdown
# JokeAPI Wrapper Changelog
This changelog is not showing the logs for v0.0.5 and previous versions.
1. "Next version" part includes the work done after releasing the last version.
2. **If an entry starts with a `[IMP]`, that means the user have to change some of their code.**
# 0.1.0 - The Safe Mode Update _ (Latest)
- Add support for JokeAPI v2.3.0
- "Safe mode" can be turned on by setting `JokeAPI.SETTINGS.safeMode` to true
## 0.0.8
- Documentation created using `typedoc`
- New endpoints added
- `/info`
- `/categories`
- `/langcode`
- `/languages`
- `/flags`
- Bug fixes
- Bad response from `getJokes()` fixed.
- Changes in types
- `[IMP]` `StrictJokesRequestOptions` is now deprecated (will be removed in next update).
- `[IMP]` `JokesRequestOptions.flags` is changed to `JokesRequestOptions.blacklistFlags`
## 0.0.7
- Fixes 0.0.6.
on version 0.0.6, `dist` folder was missing in the published package.
## 0.0.6
- Browser builds are added.
- Added support for `/formats` endpoint added. (other endpoints will be added shortly)
- Now, `idRange` can be passed as just a number to `getJokes`. If passed like that, joke with that id will be returned.
- Changes in types
- `[IMP]` Types renamed:
- `requestOptions` --> `RequestOptions`
- `strictRequestOptions` --> `StrictRequestOptions`
- `[IMP]` Type of `RequestOptions.flag` changed from `"" | Flag[]` to `Flag[]`.
- New types added:
- `ResponseFormat`
- `JokeType`
- `Error`
- `IdRangeObject`
- `StrObject`
- `NumberObject`
- Endpoints are moved into a new directory `src/endpoints` (working towards a better file structure)
- Removed the cli tool
- Added new dependencies
- Babel
- Jest
- Configured tools
- Prettier
- EditorConfig
- Tests added for util functions