Skip to content

Releases: cool-hooks/react-wordpress-hooks

1.0.0 alpha 1

21 Jul 14:31
Compare
Choose a tag to compare
1.0.0 alpha 1 Pre-release
Pre-release

Changes

New Feature

  • options parameter can be an array of IDs

Breaking Changes

  • rebuilt delete methods (first parameter is ID, second optional - settings)
  • replaced auth with headers option in WPContext

Repository Changes

  • added type definitions to output files

0.1.2

22 Jun 15:34
Compare
Choose a tag to compare
0.1.2 Pre-release
Pre-release

Changes

Bug Fix

  • added missing request method for useUpdatePost
  • fixed memory leak on complex query
  • added missing types

Repository Changes

  • added husky

0.1.1

11 Jun 11:04
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release

Initial Release

New Feature

context

  • WPContext with url & auth values

hooks, hooks, hooks ...moreHooks

  • hooks for Posts: usePosts, useCreatePost, useRetrivePost, useUpdatePost, useDeletePost
  • hooks for Revisions: useRevisions, useRetriveRevision, useDeleteRevision
  • hooks for Categories: useCategories, useCreateCategory, useRetriveCategory, useUpdateCategory, useDeleteCategory
  • hooks for Tags: useTags, useCreateTag, useRetriveTag, useRetriveTag, useDeleteTag
  • hooks for Pages: usePages, useCreatePage, useRetrivePage, useUpdatePage, useDeletePage
  • hooks for Comments: useComments, useCreateComment, useRetriveComment, useUpdateComment, useDeleteComment
  • hooks for Taxonomies: useTaxonomies, useRetriveTaxonomy
  • hooks for Media: useMedia, useCreateMedia, useRetriveMedia, useUpdateMedia, useDeleteMedia
  • hooks for Users: useUsers, useCreateUser, useRetriveUser, useUpdateUser, useDeleteUser
  • hooks for Types: useTypes, useRetriveType
  • hooks for Statuses: useStatuses, useRetriveStatus
  • hooks for Settings: useSettings, useUpdateSetting

Improvement

  • improved response error output