Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 106 lines (62 sloc) 3.674 kb
53149dd2 »
2012-09-06 Back to SNAPSHOT
1 ## Changes between Langohr 1.0.0-beta4 and 1.0.0-beta5
2
1cf3651d »
2012-09-22 Support "advanced" connection factory settings
3 ### More Connection Settings
4
5 `langohr.core/connect` now supports several more options:
6
7 * `:ssl` (true or false): when true, Langohr will use the default SSL protocol (SSLv3) and the default (trusting) trust manager
8 * `:ssl-context` (`javax.net.ssl.SSLContext`): SSL context to use to create connection factory
9 * `:sasl-config` (`com.rabbitmq.client.SaslConfig`): use if you need to use a custom SASL config
10 * `:socket-factory` (`javax.net.SocketFactory`): use if you need to use a custom socket factory
11
12
d7b3b137 »
2012-09-21 Update change log
13 ### Client Capabilities
14
15 Langohr now provides its capabilities to the broker so it's possible to tell the difference between
16 Langohr and the RabbitMQ Java client in the RabbitMQ Management UI connection information.
17
ba1d2701 »
2012-09-21 Update change log
18 ### Broker Capabilities Introspection
19
20 `langohr.core/capabilities-of` is a new function that returns broker capabilities as an immutable map,
21 e.g.
22
23 ``` clojure
24 {:exchange_exchange_bindings true
25 :consumer_cancel_notify true
26 :basic.nack true
27 :publisher_confirms true}
28 ```
29
066f76d4 »
2012-09-06 Clojure 1.4 is the new default
30 ### Clojure 1.4 By Default
31
32 Langohr now depends on `org.clojure/clojure` version `1.4.0`. It is still compatible with Clojure 1.3 and if your `project.clj` depends
33 on 1.3, it will be used, but 1.4 is the default now.
34
35 We encourage all users to upgrade to 1.4, it is a drop-in replacement for the majority of projects out there.
36
53149dd2 »
2012-09-06 Back to SNAPSHOT
37
38
caba792d »
2012-08-18 1.0.0-beta3
39 ## Changes between Langohr 1.0.0-beta3 and 1.0.0-beta4
40
909f99aa »
2012-09-06 Change log update
41 ### Payload is Now Longer Assumed to Be a String
42
43 `langohr.basic/publish` no longer assumes the payload is always a string. It can be anything the `langohr.conversion/BytePayload`
44 protocol is implemented for, by default byte arrays and strings.
45
2d0767d7 »
2012-08-28 Change langohr.queue/declare defaults: :exclusive is now false by def…
46 ### queue.declare :exclusive Default Value Change
47
48 `langohr.queue/declare` now uses default value for the `:exclusive` parameter as `false`. The reason for
49 this is that exclusive queues are deleted when connection that created them is closed. This caused
50 confusion w.r.t. non-auto-deleted queues being deleted in such cases.
caba792d »
2012-08-18 1.0.0-beta3
51
52
53
51cb34b5 »
2012-04-19 Begin beta3 iteration
54 ## Changes between Langohr 1.0.0-beta2 and 1.0.0-beta3
55
caba792d »
2012-08-18 1.0.0-beta3
56 ### URI parsing
57
58 `langohr.core/settings-from` is a new public API function that parses AMQP and AMQPS connection URIs
59 and returns an immutable map of individual arguments. URI parsing is now delegated to the Java client
60 for consistency.
61
62
836a3c65 »
2012-08-18 Bump RabbitMQ Java client to 2.8.6
63 ### RabbitMQ Java Client 2.8.6
803e2ca1 »
2012-04-30 RabbitMQ Java client 2.8.2
64
836a3c65 »
2012-08-18 Bump RabbitMQ Java client to 2.8.6
65 RabbitMQ Java Client has been upgraded to version 2.8.6.
51cb34b5 »
2012-04-19 Begin beta3 iteration
66
67
c367bc1d »
2012-03-10 Migrate to Leiningen 2
68 ## Changes between Langohr 1.0.0-beta1 and 1.0.0-beta2
69
ebd0f4c7 »
2012-04-19 Change message consumer fn signature per discussion in #3
70 ### Breaking change: message handler signature has changed
71
72 Previously message handlers registered via `langohr.consumers/subscribe` had the following
73 signature:
74
75 ``` clojure
76 (fn [^QueueingConsumer$Delivery delivery ^AMQP$BasicProperties properties payload] ...)
77 ```
78
79 starting with beta2, it has changed to be more Clojure friendly
80
81 ``` clojure
82 (fn [^Channel ch metadata payload] ...)
83 ```
84
85 All message metadata (both envelope and message properties) are now passed in as a single Clojure
86 map that you can use destructuring on:
87
88 ``` clojure
89 (fn [^Channel ch {:keys [type content-type message-id correlation-id] :as metadata} payload] ...)
90 ```
91
92 In addition, in explicit acknowledgement mode, ack-ing and nack-ing messages got easier because
93 consumer channel is now passed in.
94
95 It is important to remember that sharing channels between threads that publish messages is **dangerous**
96 and should be avoided. Ack-ing, nack-ing and consuming messages with shared channels is usually acceptable.
97
98
99
741fd22c »
2012-03-25 Upgrade to RabbitMQ Java client 2.8.x
100 ### RabbitMQ Java Client 2.8.x
101
102 RabbitMQ Java Client which Langohr is based on has been upgraded to version 2.8.1.
103
c367bc1d »
2012-03-10 Migrate to Leiningen 2
104 ### Leiningen 2
105
106 Langohr now uses [Leiningen 2](https://github.com/technomancy/leiningen/wiki/Upgrading).
Something went wrong with that request. Please try again.