Skip to content
ghub+ Release 0.2

New Functions and Variables
===========================

* New variable `ghubp-contextualize-function'
  Give special contexts to your ghub+ applications.  This could
  involve setting a different base URL depending on your
  directory (for both Enterprise and GitHub.com work) or even
  different authentication approaches.

* New variable `ghubp-request-override-function'
  Override the default `ghub-request' functionality to add your own
  special handling

* New function `ghubp-request'
  Wrapper around `ghub-request' to account for ghub version
  differences and to account for `ghubp-request-override-function'.

* New utility function `ghubp-get-in-all'
  Useful for `pre-process-{params,data}' functions.

* New function `ghubp-get-context'
  Wrapper around `ghubp-contextualize-function'.

* New macro `ghubp-override-context'
  Simple macro to override the context (as returned by
  `ghubp-get-context') for a body form.

* New function `ghubp-ratelimit'
  Inspect the latest rate limit information by looking at
  `ghub-response-headers'.

* New functions `ghubp-follow-{get,put,head,post,patch,delete}
  Follow API callbacks; see `Hypermedia' topic in GitHub API docs.

* New function `ghubp-base-html-url'
  Get the root HTML URL from `ghub-base-url'.

API Endpoints
=============

Enhanced
--------

* POST/DELETE assignees can now take full user objects as parameters.

* POST/DELETE labels can now take full label objects as parameters.

New API Endpoints
=================

* Notifications added.