All Versions
10
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History

  • v3.0.0 Changes

    ๐Ÿ”„ Changes

    • ๐Ÿ”ง Introduce RabbitMQ topology configuration and setup. Coney now starts up in two phases, first it sets up the topology (queues/exchanges) and then starts consuming from the queues. This allows more complex RabbitMQ setups like retry queues, etc.
    • โœ‚ Remove pooling for clusters as this should be handled on cluster side instead.

    โœจ Enhancements

    • 0๏ธโƒฃ auto_start option allow you choose how you want to start Coney. Use false value if you want to add Coney.ApplicationSupervisor to your supervisor. true (default value) means that Coney will run on application start.
    • ๐Ÿ”ง Settings module. You can speficfy a module name under coney.settings section and define settings/0 function, which should return connection configuration.
  • v2.2.1 Changes

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed bug when connection server's pid remained in the list of connections after death
  • v2.2.0 Changes

    โœจ Enhancements

    • ๐Ÿ†• New Coney module with publish/2, publish/3, status/0 methods
  • v2.1.1 Changes

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed bug with logging of consumer start if worker is defined with map
  • v2.1.0 Changes

    โœจ Enhancements

    • ๐Ÿ”Š Error logs for connection errors
    • ๐ŸŒฒ Error log for unhandled exceptions if error_handler is missing
    • ๐ŸŒฒ Debug log after connection was established
    • ๐ŸŒฒ Debug log after consumer was started
    • error_happened/4 callback added
  • v2.0.2 Changes

    โœจ Enhancements

    • โž• Added :default option for connection.exchange
  • v2.0.0 Changes

    โœจ Enhancements

    • Channel per each publish message.

    ๐Ÿ”„ Changes

    • ๐Ÿ”„ Change value of respond_to field in connection specification to string with exchange name
    • No need to add Coney to your application supervisor tree
    • ๐Ÿ‘ท Consumers should be described in worker config parameter
  • v1.0.0 Changes

    โœจ Enhancements

    • โšก๏ธ amqp updated to version 1.0
    • ๐Ÿšš poison removed from dependencies
    • โž• Added Coney.Consumer behaviour
    • โž• Added option pool_size - number of RabbitMQ connections.

    ๐Ÿ”„ Changes

    • ๐Ÿ”„ Changed format of consumer process/2 and error_happened/3 functions
    • error_happened/3 marked as optional
    • ๐Ÿšš Coney.AMQPConnection removed from configs
    • ๐Ÿšš Logging removed
  • v0.4.3 Changes

    โœจ Enhancements

    • ๐Ÿ‘ Allow to define several RabbitMQ hosts for connection (will be used random host from list)
      # config/config.exs
    
      config :coney, Coney.AMQPConnection, [
        settings: %{
          url: ["amqp://guest:guest@localhost", "amqp://guest:guest@other_host"]
        }
      ]
    
  • v0.4.2 Changes

    โœจ Enhancements

    • {:reject, reason} return value: Reject message without redelivery.
      defmodule MyConsumer do
        def connection do
          #...
        end
    
        def parse(payload) do
          String.to_integer(payload)
        end
    
        def process(number) do
          if number <= 10 do
            {:ok, "Work done"}
          else
            {:reject, "Number should be less than 10"}
          end
        end
      end
    

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix warnings about undefined behaviour function publish/2, publish/3