Skip to content

2.0.0

Choose a tag to compare

@rmehner rmehner released this 03 Dec 18:33
· 37 commits to master since this release
0ab5cc9

⚠️ BREAKING CHANGES ⚠️

  • Drop support for EOL'd Ruby 1.9.x and Ruby 2.0, please use version 1.2.0 if you need support for older
    Ruby versions.

Features

  • We now have the transloadit.bill method to retrieve billing reports. (@ifedapoolarewaju)
  • Add support for new assembly methods (Thanks @ifedapoolarewaju):
    • list to get a list of all assemblies.
    • get to retrieve a particular assembly. Requires assembly id to be passed as argument.
    • replay to replay a particular assembly. Requires assembly id to be passed as argument.
    • get_notifications to get a list of all assembly notifications.
    • replay_notification to replay the notification of a particular assembly. Requires assembly id to be passed as argument.
  • We now have a Template api with the following methods:
    • create to create a new template.
    • list to get a list of all templates.
    • get to retrieve a particular template.
    • update to update a particular template.
    • delete to delete a particular template.
  • Add rate limit feature to implicitly retry assembly creation when the rate limit is reached.
  • Add assembly.reload_until_finished! which calls reload! once per second until assembly is finished (@gbuesing)

Bugfixes

  • Fix compatibility to Ruby >=2.1 and Rails 5.

Misc

  • Remove bored instance logic (thanks @ifedapoolarewaju for the PR). This shouldn't affect users at all and removes the need for another HTTP request before the actual HTTP request.
  • Added example files with a small tutorial in examples (@jasonaibrahim)

Deprecations

  • Deprecate assembly.submit! method for assembly.create!. This shouldn't affect users as the submit! method remains as an alias for create!. (@ifedapoolarewaju)