Skip to content

Commit

Permalink
Note that built-in providers should not be treated as classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Wright-Kuhns committed Dec 14, 2020
1 parent c81bca4 commit 3c0c659
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
== Unreleased (0.15.0)

* *DEPRECATION* When creating an `OEmbed::Provider` instance, specifying the format via positional argument is now deprecated. Please use a named argument instead: `OEmbed::Provider.new(@endpoint_url, format: :json)`
* *DEPRECATION* Do not use the `new` method for `Instagram`, `FacebookPost`, or `FacebookVideo` providers to set your access token. Instead either use the `OEMBED_FACEBOOK_TOKEN` environment variable or call `Instagram.access_token = @your_token`.
* Fix Issue #77: Built-in Instagram & Facebook providers are now instances again.
* Add support for `OEmbed::Provider` instances with `required_query_params` (like access tokens), where the provider will fail to answer until it is fully configured.
* Support focused rspec tests for local development (e.g. "fcontext" or "fit")
Expand Down

0 comments on commit 3c0c659

Please sign in to comment.