4 All notable changes to this project will be documented in this file.
6 The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
7 and this project adheres to `Semantic
8 Versioning <http://semver.org/>`__.
16 * add ability to set a deterministic transaction id in alloc, and in the mock of alloc
17 * add ability to set meid in fake alloc; before None was always returned erroneously
18 * Fix a bug where fake_alloc was way out of date with alloc, and add a test for it
26 * Allow the setting of payload and message type in rts
27 * Add a new function, helpers.rmr_rcvall_msgs_raw, that also returns the sbuf alongside the summary
28 * Add a mock for free_msg
35 * This is a breaking change as it rquires that RMR version 1.10.2 or later be used.
36 * The populate and set length function will reallocate the message buffer payload if the caller attempts to insert more bytes than the currrent message supports.
37 * add ability to set subscription id when allocating a message
38 * add testing involving subscription ids
46 * It's been past due to bump this to 1.0.0 since people depend on it!
47 * Add the ability to set sbuf attributes in the same call that it is allocated
48 * (breaking) removes bytes2meid
49 * (breaking) rmr_set_meid now infers length
50 * (breaking) rmr_get_meid now returns bytes, to be symmetric with set_meid
58 * Add an exceptions module and raise a proper exception when an allocated buffer has a NULL pointer. Likely due to a bad rmr context.
65 * Correct cause of nil pointer exception in message summary.
73 * Add missing unit test for receive all.
74 * Correct bug in summary function.
81 * Fix a constant name (RMRFL_MT_CALL)
88 * Correct unit test bug in rmr-python. With RMR 1.8.x connections are forced to be asynch by default to prevent kubernetes blocking the attempt for minutes. However, the asynch nature of connections makes unit tests concerned with the ability to send and receive messages non-deterministic as some connections are established before the first message is sent, and others are not. This change ensures that unit tests establish connections in a synchronous manner which ensures that the first send will not be rejected by NNG due to a pending connection.
94 * Add a helpers module to provide extensions and helper functions such as receive all queued messages.
95 * Enhance unit test to check only for RMR constants which are needed.
96 * Correct unprintable characters in documentation.
103 * Add final unit tests for rmr.py; unit test coverage for rmr python is about 95%. The remaining functions are dangerous to unit test directly, e.g., rcv which may block forever
104 * Fix a bug where meid was being intepreted as bytes (but then cast into a string); the correct interpretation is a string, so now it will truncate after a null byte.
105 * Removes access to the raw function rmr_get_meid(ptr, dest) in favor of just rmr_get_meid(ptr). Also get_meid is now rmr_get_meid since it wasn't consistent with the naming.
112 * Overhaul unit tests to remove mocking from the rmr tests, which gives much greater confidence in changing the code. More is still needed however, specifically test sends and test receives.
113 * Adds an alias rmr_set_meid to rmr_bytes2meid for naming consistency.
114 * Found a possible inconsistency/bug that requires further investigation later; setting meid takes bytes, but getting it returns a string.
121 * Fix invocation of _rmr_alloc function
128 * Finish sphinx documentation
129 * Make public functions that wrap ctype declarions, allowing for docstrings
130 * Fix a bug where rmr_set_stimeout was pointing to the wrong function
137 * Moves Changelog.md to this file, to be consistent with rst-ification
138 * Sets up a Dockerfile to generate documentation for rmr-python using sphinx
146 * Make the PYPI page for rmr look nicer.
155 * Fix underlying problem getting errno from some environments; now references new RMR message field to get errno value.
156 * Add /usr/local/lib64 to tox environment variable to support systems where libraries natually install in lib64 rather than lib.
165 * (Correctly) Include license here per Jira RICPLT-1855
174 * Include license here per Jira RICPLT-1855
183 * Fix a bug in rmr mock that prevented it for being used for rmr_rcv (was only usable for rmr_torcv)
184 * Add more unit tests, esp for message summary
185 * Remove meid truncation in the case where a nil is present mid string
186 * Change the defaul mock of meid and get_src to something more useful
195 * Add a new module for mocking out rmr-python, useful for other packages that depend on rmr-python
204 * Add some unit tests; more to come
213 * Better loop indexing in meid string handling
223 * add liscneses for LF push
232 * Better andling of meid in message summary
241 * Refactor some code to be more functional
242 * Put back RMR_MAX_RCV_BYTES as a constant
243 * Add tox.ini, although right now it only LINTs
252 * Add constant fetching from RMr library
261 * Add a new field to rmr_mbuf_t: sub_id
262 * Fix prior commits lint-ailing python style
271 * Add errno access via new function: rmr.errno()
272 * Add new functions to access new RMr header fields: get_src, get_meid, rmr_bytes2meid
273 * Add new RMr constants for error states
282 * Fix a non-ascii encoding issue
291 * Greatly imroved test sender/receiver
292 * Three new functions implemented (rmr_close, rmr_set_stimeout, rmr_payload_size)
301 * Support a new receive function that (hurray!) has a timeout
310 * Add two new MR states
319 * Switch to NNG from nanomessage