Releases: wearelucid/api-fetcher
Releases · wearelucid/api-fetcher
v3.1.1
What's Changed
- Bump axios from 0.19.2 to 0.21.1 by @dependabot in #9
New Contributors
- @dependabot made their first contribution in #9
Full Changelog: v3.1.0...v3.1.1
v2.3.0
v3.0.0
- [Fix/Refactor] WP Menu Fetcher (possibly breaking change but probably not): Refactor to get i18n-ed menu locations
- [Update] Deps: Use node 12, remove mkdirp and replace with native fs, update deps, add yarn.lock, remove bows because the function is alsways noop in our node env somehow
v2.2.0
v2.1.0
Allow to pass additional query parameters to getWPPostType request url.
Like:
fetcher.paginate(
'posts',
{
posts: {
method: fetcher.getWPPostType,
postType: 'events',
additionalQueryParams: [
{ key: 'orderby', value: 'date' },
{ key: 'order', value: 'desc' },
{ key: 'after', value: '2019-10-13T17:00:00' }
],
transforms: [flattenACF, decodeTitle]
}
},
config.fetcherConfigEvents
)
Which will result in
/api/wp/v2/events?per_page=5000&lang=de&orderby=date&order=desc&after=2019-10-13T17:00:00
v2.0.0
v2.0.0
Make fetcher ready to use new version of the plugin that exposes the menu to the REST API: https://wordpress.org/plugins/wp-rest-api-v2-menus/
v1.1.1
v1.1.0
Posts named with Slug
Paginated posts are now being written with their slug name