Releases: indieweb/webmention-client-ruby
Releases · indieweb/webmention-client-ruby
v1.0.1
v1.0.0
Breaking Changes
For an instance of the Webmention::Client
class:
- The
send_mention
no longer accepts thefull_response
argument. When a Webmention endpoint is found, the method returns anHTTP::Response
object. Otherwise, the method returnsnil
. - The
send_mentions
method is renamed tosend_all_mentions
and now returns a Hash whose keys are URLs and values areHTTP::Response
objects (ornil
when no Webmention endpoint is found at the given URL). - The
mentioned_url
method returns an Array of URLs mentioned within given URL's first.h-entry
(if one exists). Otherwise, it returns a list of all URLs within the given URL's<body>
.