blob: 74348c9ccd0503a382a2e09bd8fae9a4729a8254 [file] [log] [blame]
Tommy Carpenter53786ca2020-02-28 09:17:46 -05001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. SPDX-License-Identifier: CC-BY-4.0
3.. Copyright (C) 2020 AT&T Intellectual Property
4
5Release Notes
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -04006=============
Tommy Carpenter53786ca2020-02-28 09:17:46 -05007
8All notable changes to this project will be documented in this file.
9
10The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
11and this project adheres to `Semantic Versioning <http://semver.org/>`__.
12
Tommy Carpenter53786ca2020-02-28 09:17:46 -050013
Lott, Christopher (cl778h)bbc90282020-05-07 08:39:49 -040014[1.1.1] - 2020-05-07
15--------------------
16* Use timeout on queue get method to avoid 100% CPU usage (`RIC-354 <https://jira.o-ran-sc.org/browse/RIC-354>`_)
17* Upgrade to RMR version 4.0.5
18
19
Lott, Christopher (cl778h)61270902020-05-06 09:23:55 -040020[1.1.0] - 2020-05-06
Lott, Christopher (cl778h)666e8312020-05-05 18:31:54 -040021--------------------
22* Use RMR timeout on receive to avoid 100% CPU usage (`RIC-354 <https://jira.o-ran-sc.org/browse/RIC-354>`_)
Lott, Christopher (cl778h)61270902020-05-06 09:23:55 -040023* Publish message-summary dict keys as constants to avoid hardcoding strings
24* Add wrapper and test for RMR method rmr_set_vlevel(int)
Lott, Christopher (cl778h)666e8312020-05-05 18:31:54 -040025
26
Lott, Christopher (cl778h)2407cdc2020-04-29 09:58:37 -040027[1.0.3] - 2020-04-29
28--------------------
29* Upgrade to RMR version 4.0.2
30
31
Lott, Christopher (cl778h)e2e3e432020-04-22 09:52:23 -040032[1.0.2] - 2020-04-22
33--------------------
34* Upgrade to RMR version 3.8.0
35
36
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040037[1.0.1] - 2020-04-10
38--------------------
Tommy Carpenter3a6ac012020-04-06 14:42:57 -040039
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040040* Publish API documentation using Sphinx autodoc, which required
41 changes so Sphinx can run when the RMR .so file is not available,
42 such as during a ReadTheDocs build.
43* Create new subpackage rmr/rmrclib with the C library loaded via
44 ctypes.
45* Extend sphinx configuration to mock the new rmrclib subpackage
46* Add method to get constants from RMR library and detect mock
47 objects to work around a bug in Sphinx 3.0.0.
48* Split test files into test_rmr and test_rmrclib.
49* Add function to define argtype and restype values for library functions
50* Configure intersphinx link for RMR man pages at ReadTheDocs.io
51
52
53[1.0.0] - 4/6/2020
54------------------
55
56* Python rmr has been moved into this repo. The module name has NOT
57 changed in order to make the transition for repos very easy. The
58 only transition needed should be prefixing rmr with ricxappframe in
59 import statements, and to include this rather than rmr in setup.
Tommy Carpenter3a6ac012020-04-06 14:42:57 -040060
61
Tommy Carpenter09894e32020-04-02 19:45:19 -040062[0.7.0] - 4/2/2020
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040063------------------
Tommy Carpenter09894e32020-04-02 19:45:19 -040064
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040065* RMRXapps by default now implement the rmr healthcheck probe;
66 users can also override it with a more complex handler if they
67 wish
68* Fix a bug in the unit tests where a payload mismatch wouldn't
69 actually fail the test (would now)
Tommy Carpenter09894e32020-04-02 19:45:19 -040070
71
Tommy Carpenter3423ff52020-03-23 09:17:47 -040072[0.6.0] - 3/23/2020
73-------------------
Tommy Carpenter3423ff52020-03-23 09:17:47 -040074
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040075* Switch to SI95 for rmr
Tommy Carpenter3423ff52020-03-23 09:17:47 -040076
77
Tommy Carpenter0f8305b2020-03-18 10:34:28 -040078[0.5.0] - 3/18/2020
79-------------------
Tommy Carpenter0f8305b2020-03-18 10:34:28 -040080
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040081* All xapps (via the base class) now have a logger attribute that can
82 be invoked to provide mdc logging. It is a passthrough to the RIC
83 mdc logger for python (untouched, no value in an API on top at the
84 current time).
Tommy Carpenter0f8305b2020-03-18 10:34:28 -040085
86
Tommy Carpenter5b582d62020-03-17 17:41:42 -040087[0.4.1] - 3/17/2020
88-------------------
Tommy Carpenter5b582d62020-03-17 17:41:42 -040089
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040090* Switch tox to use py38
91* switch to latest builders
Tommy Carpenter5b582d62020-03-17 17:41:42 -040092
93
Tommy Carpenter1c9ce6b2020-03-13 09:36:36 -040094[0.4.0] - 3/13/2020
95-------------------
Tommy Carpenter1c9ce6b2020-03-13 09:36:36 -040096
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -040097* Minor breaking change; switches the default behavior RE
98 threading for RMRXapps. The default is not to return execution,
99 but the caller (in `run`) can choose to loop in a thread.
100* Add Dockerized examples
Tommy Carpenter1c9ce6b2020-03-13 09:36:36 -0400101
Tommy Carpenterf9cd5cc2020-03-09 13:46:37 -0400102
103[0.3.0] - 3/10/2020
104-------------------
Tommy Carpenterf9cd5cc2020-03-09 13:46:37 -0400105
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -0400106* Large change to the "feel" of this framework: rather than subclass
107 instantiation, xapps now use initialization and registration
108 functions to register handlers
109* rmr xapps can now register handlers for specific message types (and
110 they must prodive a default callback); if the user does this then
111 "message to function routing" is now handled by the framework itself
112* RMRXapp now runs the polling loop in a thread, and returns execution
113 back to the caller. The user is then free to loop, or do nothing,
114 and call stop() when they want.
115* Raises tox coverage minimum to 70 from 50 (currently at 86)
Tommy Carpenterf9cd5cc2020-03-09 13:46:37 -0400116
Lott, Christopher (cl778h)61270902020-05-06 09:23:55 -0400117
Tommy Carpenter99a0b482020-03-03 10:21:24 -0500118[0.2.0] - 3/3/2020
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -0400119------------------
Tommy Carpenter99a0b482020-03-03 10:21:24 -0500120
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -0400121* now allows for RMRXapps to call code before entering the infinite
122 loop
123* stop is now called before throwing NotImplemented in the case where
124 the client fails to provide a must have callback; this ensures there
125 is no dangling rmr thread
126* stop now calls rmr_close to correctly free up any port(s)
127* (breaking) renames `loop` to `entrypoint` since the function does
128 not have to contain a loop (though it most likely does)
129* Changes wording around the two types of xapps (docs only)
130* Uses a new version of rmr python that crashes when the rmr mrc fails
131 to init, which prevents an xapp trying to use an unusable rmr
132* more unit test code coverage
133* Adds more fields to setup like long_desc and classifiers so the pypi
134 page looks nicer
135* Removes a bad release file (will be added back in subseq. commit)
Tommy Carpenter99a0b482020-03-03 10:21:24 -0500136
Lott, Christopher (cl778h)61270902020-05-06 09:23:55 -0400137
Tommy Carpenter53786ca2020-02-28 09:17:46 -0500138[0.1.0] - 2/27/2020
139-------------------
Tommy Carpenter53786ca2020-02-28 09:17:46 -0500140
Lott, Christopher (cl778h)f55e4d82020-04-10 16:02:11 -0400141* Initial commit