Skip to content

Latest commit

 

History

History
116 lines (86 loc) · 7.65 KB

CHANGELOG.md

File metadata and controls

116 lines (86 loc) · 7.65 KB
  • Breaking change: Ruby 1.9 is no longer supported. Minimum supported versions are Ruby 2.2.0 and JRuby 9.0.0.0
  • Breaking change: Removed the deprecated RubyAMI::Client because it is no longer relevant.
  • Breaking change: Start the connection when the RubyAMI::Stream starts, permitting supervised restart of the stream on connection failure. To support this, the event callback now passes a second parameter which is the stream itself.
  • Feature: Optimisation of the protocol lexer

Feature: Reveal the AMI version for a Stream via Stream#version

  • Feature: Allow optional error handler when calling send_action
  • Bugfix: Catch for Errno::HOSTUNREACH error when connecting to AMI
  • Bugfix: Add support for Goodbye responses instead of processing them as syntax errors
  • Bugfix: Allow simple example of event handling (switching on event.name only) to work by giving connection status events a name to match their class names
  • Bugfix: Ensure DateTime is present when consumer code doesn't require 'time' (#24)
  • Feature: Provide timestamps of events as #timestamp, #receipt_time and #best_time.
  • Feature: More performant parsing of AGI environment strings
  • Enhancement: Replace Ragel parser with pure Ruby version, which is much more performant and simpler
  • Bugfix: Handle AGI 5xx responses
  • Major refactoring for simplification and performance
  • Actions are no longer synchronised on the wire since ActionID is now a reliable method of response/event association
  • Callbacks are no longer required. #send_action now simply blocks waiting for a response
  • Client still starts up two Streams, one for actions and one for events, but only for possible performance gains. It is possible to use Stream directly since it now does its own login and response association. Client is a very thin routing layer. It's encouraged that if you expect low traffic, you should use Stream directly. Client may be removed in v3.0.
  • Bugfix: Handle AGI 5xx responses
  • Bugfix: DBGet actions are now not terminated specially
  • CS: Avoid celluloid deprecation warnings
  • Bugfix: Add support for causal event types confbridgelist and confbridgelistrooms
  • Bugfix: Loosen celluloid dependency
  • Feature: Added timeout feature to client connection process. Currently does not work on Rubinius due to rubinius/rubinius#2127
  • Bugfix: JRuby and rbx compatability
  • Bugfix: Log wire stuff at trace level
  • Bugfix: No longer suffer "invalid byte sequence" exceptions due to encoding mismatch. Thanks tboyko
  • Streams now inherit the client's logger
  • Streams now log syntax errors
  • Celluloid dependency updated
  • Use SecureRandom for UUIDs
  • Feature: Added parsers for (Async)AGI environment and result strings
  • Bugfix: Avoid a race condition in stream establishment and event receipt
  • Bugfix: If socket creation fails, log an appropriate error
  • Bugfix: Avoid recursive stream stopping
  • v1.1.0 re-released with fixed celluloid-io dependency
  • Change: Switch from EventMachine to Celluloid & CelluloidIO for better JRuby compatability and performance (action and events connections are now in separate threads)

1.0.1 - 2012-04-25

  • Bugfix: Actions which do not receive a response within 10s will allow further actions to be executed. Synchronous originate has a 60s timeout.

1.0.0 - 2012-03-09

  • Bugfix: Remove rcov
  • Bump to 1.0.0 since we're in active use

0.1.5 - 2011-12-22

  • Bugfix: Work consistently all all versions of Asterisk
    • Both 1.8 and 10
    • Login actions connection with events turned on (in order to get FullyBooted event)
    • Turn events off immediately after fully-booted
    • Pass FullyBooted events from the actions connection up to the event handler

0.1.4 - 2011-12-1

  • Bugfix: Actions connection should login with Events: System. This ensures that the FullyBooted event will come through on both connections.

0.1.3 - 2011-11-22

  • Bugfix: A client can now safely be shut down before it is started, and only performs actions on live streams.
  • Bugfix: RubyAMI::Error#inspect now shows an error's message and headers
  • Bugfix: Spec and JRuby fixes

0.1.2

  • Bugfix: Prevent stream connection status events being passed up to the consumer event handler
  • Bugfix: Corrected the README usage docs
  • Bugfix: Alias Logger#trace to Logger#debug if the consumer is using a simple logger without a trace level

0.1.1

  • Bugfix: Make countdownlatch and i18n runtime dependencies
  • Bugfig: Include the generated lexer file in the gem

0.1.0

  • Initial release