Releases: OpenC3/cosmos
v5.15.1
OpenC3 COSMOS 5.15.1 - target file API fixes and disabled commands
Welcome to OpenC3 COSMOS 5.15.1!
This release fixes the download_file, get_target_file, and put_target_file APIs. It implements the DISABLED keyword and adds API methods to enable_cmd and disable_cmd (admins only).
Breaking Changes and Upgrade Notes since 5.14.2 - Please Read
- The internal Traefik port was changed to 2900 to match our standard external port and to better support unprivileged runtime environments
- The change requires updating .env, compose.yaml and the traefik configuration files.
- Stop the previous release, update the files, and restart
Bug Fixes
- Implement the DISABLED keyword
- Fix redis cluster in COSMOS Enterprise
- Fix download_file, get_target_file, put_target_file in Ruby and Python
All Pull Requests in this Release
- Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 by @dependabot in #1141
- Implement DISABLED for commands by @jmthomas in #1138
- Fix redis cluster with StoredQueue by @ryanmelt in #1146
- Bump alpine build by @jmthomas in #1145
- Fix download_file and get_target_file by @jmthomas in #1143
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: v5.15.0...v5.15.1
v5.15.0
OpenC3 COSMOS 5.15.0 - Interface Throughput Improvements
Welcome to OpenC3 COSMOS 5.15.0!
This release brings major improvements to interface throughput with a new strategy of batching writes to Redis and an additional option to interfaces to even further improvement throughput at the cost of slightly higher processing latency. If you have interfaces receiving data at greater than 10Hz, try adding OPTION OPTIMIZE_THROUGHPUT 0.1
to your interfaces.
Breaking Changes and Upgrade Notes - Please Read
- The internal Traefik port was changed to 2900 to match our standard external port and to better support unprivileged runtime environments
- The change requires updating .env, compose.yaml and the traefik configuration files.
- Stop the previous release, update the files, and restart
Greatly Improved TlmViewer Code Completion in Screen Editor
The screen editor is now fully aware of the telemetry database, making it even easier to quickly build out telemetry screens!
Other Improvements
- Item background colors now alternate in Admin lists
- ScriptRunner Suite report filenames now indicate what was run
- Grapher nows goes to using scientific notation for labels with very large and very small numbers
- Grapher can now add user configured horizontal lines
- Bucket Explorer can now create files in new folders
Bug Fixes
- Fixed python target file loading APIs
- The HIDDEN command keyword is now supported
- Generating presigned urls now checks targets_modified as well as the targets folder
- Fixed importing pandas in Python scripts
- Renewed support for item names that include square brackets
- Fixed cycle time support for low data rate targets
- Fixed upgrading plugins when multiple of the same plugin are installed
All Pull Requests in this Release
- Alternate list item colors by @jmthomas in #1112
- Bump ip from 2.0.0 to 2.0.1 in /openc3-cosmos-init/plugins by @dependabot in #1114
- Fix _get_uri by @ryanmelt in #1116
- Allow override AWS ARN for gov cloud, change traefik ports by @jmthomas in #1119
- Add suite, group, script to report file name by @jmthomas in #1111
- Graph high & low values with scientific notation by @jmthomas in #1108
- Hide HIDDEN commands and packets by @jmthomas in #1109
- Download presigned requests check targets_modified by @jmthomas in #1113
- Add horizontal lines to graphs by @jmthomas in #1107
- Allow setting path when uploading file by @jmthomas in #1120
- Screen completion by @jmthomas in #1117
- Fix import of pandas, and use of PYPI_URL by @ryanmelt in #1126
- Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 by @dependabot in #1129
- Output warnings as WARN and import openc3-enterprise by @jmthomas in #1131
- Add option to Interfaces to Improve Throughput Through Redis Write Queueing by @ryanmelt in #1123
- Support item names with brackets by @jmthomas in #1134
- Handle upgrade with multiple installed same plugins by @ryanmelt in #1135
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: v5.14.2...v5.15.0
v5.14.2
OpenC3 COSMOS 5.14.2 - Python Bug Fix Release
Welcome to OpenC3 COSMOS 5.14.2!
This release mainly fixes issues with our new Python support. Thanks to everyone who is trying it out and submitting tickets!
Python Bug Fixes
- Custom Conversions, Limits Responses, etc our now imported successfully
- Generators now support --python fully
- UBI pip3 is now symlinked to pip
- Pip will now retry with --no-index if the attempt at an online install fails
- Handle String edge case that was breaking INST2 ASCIICMD
Other Improvements
- openc3.sh cli rake will now fail with a warning if no Rakefile is found
- The Raw dialogs in CmdTlmServer are now non-modal, allowing multiple to open and be moved around
- CmdTlmServer now has a Clear Counters option
All Pull Requests in this Release
- Handle custom python classes by @ryanmelt in #1080
- Python generators by @jmthomas in #1082
- Format developing page as code by @jmthomas in #1083
- Warn about rake without Rakefile by @jmthomas in #1084
- Allow multiple positionable raw dialogs by @jmthomas in #1088
- CmdTlmServer clear counters by @jmthomas in #1089
- Link pip3 to pip in ubi by @ryanmelt in #1092
- Pip install retry with no-index by @ryanmelt in #1093
- Handle bad string types and rescue AttributeError by @jmthomas in #1090
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.14.1
OpenC3 COSMOS 5.14.1 - Bug Fix Release
Welcome to OpenC3 COSMOS 5.14.1!
Important Bug Fixes Release for ScriptRunner
We squashed a couple bugs that could cause ScriptRunner to write over the contents of the running script with the contents of another file. Pressing Ctrl-S while running in a different file than original started or some cases where after stopping a different file was still shown could cause the original file to be overwritten. These have all been corrected and all users are encouraged to upgrade.
Further Enhancements to Dynamic Packet Creation
Dynamic packet creation in Ruby now works fully including logging and decom picking up the new packets.
All Pull Requests in this Release
- Clear SR file cache when stopped by @jmthomas in #1069
- ARG MINIO/MC release by @jmthomas in #1066
- Improve dynamic packet support by @ryanmelt in #1070
- Add additional save protections to ScriptRunner by @ryanmelt in #1072
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.14.0
OpenC3 COSMOS 5.14.0 - Related Telemetry, Cmd/Response Framework, Dynamic Packet Definition, and More
Welcome to OpenC3 COSMOS 5.14.0!
Related Telemetry Items and Screens for Commands
Commands have a new keyword for associating related telemetry items to the command: RELATED_ITEM. This automatically builds a telemetry screen that is shown alongside the command in CmdSender. If you want to get fancy, you can also associate a full custom built telemetry screen with the SCREEN keyword.
Generic Command / Response Protocol
The command response architecture is a command pattern for a lot of different devices, so we took the legacy TEMPLATED protocol and extracted the command response pattern from it into its own CmdResponseProtocol class. Adding this protocol to your Interface will put it into a command/response mode for any commands that have an associated RESPONSE keyword defined.
Dynamic Packet Definition
We've added the ability to dynamically define packets within the COSMOS framework at runtime. This will typically be done by an Accessor or a Processor after receipt of a packet to define its contents for access by our fronted tools.
BucketExplorer Folder Size
BucketExplorer now calculates and displays the size of all files in the currently displayed folder.
New ping endpoints for our API containers
We added a couple new ping endpoints to our API containers that can be used for health/aliveness checks.
PROCESSORs now only run in the Decom microservice
Previous processors were being run both in the interface and in decom (twice total). Processors can now be used reliably run once on each packet reception, so they can safely perform side effects if needed. This is a potentially breaking change if the multiple execution was expected in previous versions.
ScriptRunner Performance Greatly Enhanced
ScriptRunner was updated to process script events in batches, rather than one at a time. This greatly improved ScriptRunner performance and should keep it from ever falling behind when flying through lots of lines that would have to be highlighted one by one.
Important Bug Fixes
- Accessors now enforce data type on read/write
- wait() fixed in Python scripts
- Continue even if there are errors in local_init in the init container. This removes many use cases where the init container can get stuck looping, and will allow for manual recovery by users.
- Fixed diff logic on plugin upgrade
- Fixed Python Tcp/IP Client Interface
- Made tlm item cache default to no caching, unless you specifically want it
- Fixed a bug where Interface#disconnect would not be called if an exception was raised during Interface#connect
- Fixed BucketExplorer routes with special characters
- Fixed writing Python strings without first converting them to bytes type
- Fixed loading TlmGrapher configurations with more than one graph specified
- Support upload/download from TableManager in Python
- Fixed a bug with the rux-status component handling of fatal
- Updated DataExtractor to handle receiving null values
All Pull Requests in this Release
- Bump github/codeql-action from 2 to 3 by @dependabot in #992
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #993
- Tool Screenshots for AstroUX by @jmthomas in #996
- update logging doc. Add license discussion. by @ryanmelt in #1016
- Create ping endpoint in cmd-tlm and scripts api by @jmthomas in #1009
- Add folder size by @jmthomas in #1000
- Make json, cbor, xml, html enforce data types by @jmthomas in #1006
- Move openc3_script_sleep and fix wait() in python by @jmthomas in #1004
- New cmd keywords for related telemetry and remove legacy snmp by @ryanmelt in #1005
- continue if local init fails by @ryanmelt in #1021
- upcase microservice target name by @ryanmelt in #1020
- Only run processors in decom microservice by @ryanmelt in #1019
- Add TCPIP keepalive options by @ryanmelt in #1018
- Add Generic Cmd Response Protocol and Template Accessor by @ryanmelt in #1017
- Add warning about unmerged diffs and fix diff logic by @jmthomas in #1027
- Fix python tpcip client connection by @jmthomas in #1034
- Bump follow-redirects from 1.15.2 to 1.15.4 in /openc3-cosmos-init/plugins/openc3-tool-base by @dependabot in #1028
- Bump follow-redirects from 1.15.2 to 1.15.4 in /openc3-cosmos-init/plugins by @dependabot in #1029
- Bump follow-redirects from 1.15.2 to 1.15.4 in /openc3/templates/tool_react by @dependabot in #1031
- Bump follow-redirects from 1.15.3 to 1.15.4 in /docs.openc3.com by @dependabot in #1030
- Default to no tlm cache by @ryanmelt in #1037
- Process ScriptRunner events in batches by @ryanmelt in #1038
- Dependencies by @jmthomas in #1035
- Ensure disconnect called at least once on interface. by @ryanmelt in #1039
- Fix bucket explorer route by @jmthomas in #1047
- Write python strings by @jmthomas in #1041
- Fix Grapher load config by @jmthomas in #1046
- Allow python upload/download in TableManager by @jmthomas in #1052
- Map fatal to critical by @jmthomas in #1050
- Add requirements.txt to python gems by @jmthomas in #1061
- Add Script Runner to logger source. Fix docs by @jmthomas in #1057
- Data Extractor handle null by @ryanmelt in #1063
- Test command endianness by @jmthomas in #1051
- Handle 404 errors in Script Runner by @jmthomas in #1064
- Add queued store and display active users by @jmthomas in #1045
- Dynamic target packet definition creation support. by @ryanmelt in #1048
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.13.0
OpenC3 COSMOS 5.13.0 - Non-Root Containers and AstroUx Styling
Welcome to OpenC3 COSMOS 5.13.0!
IMPORTANT: Breaking change to Non-Root Containers and Renamed Minio Volume
Previously all of our non-COSMOS unique containers ran as received from Docker Hub (so Traefik and Minio ran as root). Going forward all of our containers are configured to run as non-root users (except with rootless podman - which isn't really running as root).
This is a breaking change as earlier versions have volume mounted data that is owned by other user ids. Additionally we renamed the openc3-minio-v volume to openc3-bucket-v to ease upgrading to Enterprise Edition. Note that significant changes were made to compose.yaml and all traefik config files.
To migrate from COSMOS 5.12.0 to 5.13.0 please run the following scripts from your COSMOS project folder.
MacOS/Linux: https://github.com/OpenC3/cosmos-project/blob/05c95a24627ac0694fd4af605533de1eb13683f4/migrate_5_12_to_5_13.sh
Note: you should always review shell scripts before running them on your computer.
AstroUx 7 Styling
We've gone through a review with Rocket Communications and all of our tools have a fresh new update to AstroUx version 7! You'll notice more consistent styling and layout throughout and a fresh new look. Also, all value widgets for items with limits now show an icon to indicate limits state improving color blind support.
TlmGrapher Array Items
You can now graph individual items from arrays in TlmGrapher!
ScriptRunner Open Recent
ScriptRunner now keeps track of recently opened files in the File menu
More Persistent config when leaving tools and coming back
Whenever you leave a COSMOS tool and then return, it will generally now continue with the same settings as when you left, rather than refreshing.
New MqttStreamInterface
New interface that supports using two Mqtt topics as byte streams for sending and receiving data.
Python Streaming API
Added python code to support all of our Websocket Apis including the StreamingApi.
Calendar and Autonomic Now Enterprise Only
These tools have been moved to COSMOS Enterprise Edition going forward. Thanks to all of our Enterprise customers for supporting us!
Python code generators now available
Our code generators now support either Ruby or Python. Just add --python to the end for Python support.
Important Bug Fixes
- The cmd() log_message parameter now works again
- Fixed commanding with binary data from Python
- Fixed the XTCE converter and added XTCE support for ContainerRefEntry
- Python suite analysis now handles load_utility calls
All Pull Requests in this Release
- Bump axios to latest by @jmthomas in #930
- Bump actions/github-script from 6 to 7 by @dependabot in #932
- Graph array by @ryanmelt in #933
- Remove Logger from script files. Fix cmd log_message param by @jmthomas in #931
- Change severity to level by @jmthomas in #936
- Prepend astro status to valuewidget by @jmthomas in #938
- Bump got, @docusaurus/core, @docusaurus/plugin-client-redirects, @docusaurus/preset-classic and docusaurus-lunr-search in /docs.openc3.com by @dependabot in #945
- Updates for docusaurus 3 by @ryanmelt in #947
- Fix python encoding of binary by @jmthomas in #946
- Protocol api docs by @jmthomas in #949
- Add Open Recent to ScriptRunner, fix file icons by @jmthomas in #951
- Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /openc3/templates/tool_react by @dependabot in #962
- Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by @dependabot in #963
- Default config by @jmthomas in #960
- Mqtt Stream and Stream Interface. Plus fixes and faraday multipart by @ryanmelt in #955
- Astro by @jmthomas in #943
- Add Key Concepts page by @jmthomas in #950
- Bump actions/setup-python from 4 to 5 by @dependabot in #969
- Add OPENC3_IMAGE_SUFFIX to the cli and cliroot Calls by @stephen-ritter in #957
- Cleanup cmd apis by @jmthomas in #967
- Cleanup tlm apis by @jmthomas in #970
- XTCE - Add ContainerRefEntry support - Ignore Ancillary by @ryanmelt in #972
- Dependencies by @jmthomas in #971
- Fix Details Dialog when limits are 0 by @jmthomas in #973
- Create python streaming api by @jmthomas in #974
- Move Calendar and Autonomic to Enterprise by @jmthomas in #976
- Further astro refinements by @jmthomas in #980
- run all containers as non-root by @ryanmelt in #979
- Docusaurus fixes by @ryanmelt in #983
- Add python generators by @jmthomas in #982
- python suite analysis handle load_utility require_utility by @ryanmelt in #984
- Packet Viewer remember last packet by @ryanmelt in #985
- Add checks to plugin undeploy by @ryanmelt in #986
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.12.0
OpenC3 COSMOS 5.12.0 - Full Python Support
Welcome to OpenC3 COSMOS 5.12.0!
Full Python Support
After a full summer of development, I'm happy to announce COSMOS now has full support for both the Python and Ruby programming languages! That means you can now craft custom Interfaces, Routers, Protocols, Microservices, and Scripts with which ever language you prefer! This was a huge effort with over 40,000 lines of Ruby ported to Python.
With this update all the best libraries for each language are available for your use within COSMOS. Need to do some serious math? Install NumPy and you are good to go. Have a favorite API that has a Python driver? Build a new interface that uses it directly. The sky is the limit!
New Docs Tool and IFrames
Our documentation website has been converted from Jekyll to Docusaurus... and is also now built-in as a COSMOS tool. You can now have access to all our documentation, even in offline environments. Sweet! With this change we also added the ability to run links from the Navbar as IFrames. So you can embed any other tool into COSMOS easily.
Ruby and Python Calendar API SDK
You can now easily schedule new calendar activities using the API implementation directly from Ruby or Python.
UBI8 Configuration
For our defense friends, we now have the ability to build all our containers based on UBI8 from Ironbank. Just use ./openc3.sh start-ubi, instead of ./openc3.sh start (Linux and Mac support only).
Important Bug Fixes
- Manually adding tools in the Admin Tools Tab would only allow a single tool
- Adding over 100,000 items to a single packet would cause a Stack Too Deep error
- Bucket File Retries was broken if a first attempt at a file retrieval failed
- Tool Window Modes including IFRAME were not implemented before
- Leaving COSMOS to another website, and then using the Browser back button would yield a Time out of Sync message
All Pull Requests in this Release
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #862
- Remove unused APIs by @jmthomas in #855
- Python suites and packages by @ryanmelt in #859
- Python interface microservice by @jmthomas in #843
- Fix Python Logger and Pool by @ryanmelt in #868
- Bump @babel/traverse from 7.20.1 to 7.23.2 in /playwright by @dependabot in #872
- Bump @babel/traverse from 7.21.5 to 7.23.2 in /openc3-cosmos-init/plugins by @dependabot in #871
- Bump @babel/traverse from 7.22.5 to 7.23.2 in /openc3/templates/tool_react by @dependabot in #870
- Bump @babel/traverse from 7.20.1 to 7.23.2 in /openc3-cosmos-init/plugins/openc3-tool-base by @dependabot in #869
- Python testing by @jmthomas in #866
- Hash as_json handle unlimited items by @jmthomas in #876
- New docusaurus based docs website by @ryanmelt in #887
- Bump @babel/traverse from 7.23.0 to 7.23.2 in /docs.openc3.com by @dependabot in #888
- Additional Python APIs by @jmthomas in #877
- Add search to docs by @ryanmelt in #890
- Import target files in Python by @jmthomas in #886
- Bump @babel/traverse from 7.23.0 to 7.23.2 in /docs.openc3.com by @dependabot in #891
- Config api by @jmthomas in #892
- Allow using converted telemetry for UnixTimeConversion by @tsjordan-eng in #895
- Bump actions/setup-node from 3 to 4 by @dependabot in #894
- create docs tools. Implement IFRAME tool support by @ryanmelt in #901
- Python tcpip server by @jmthomas in #900
- Setting APIs docs and updates by @jmthomas in #893
- Calendar API by @jmthomas in #902
- Python timezone is utc by @jmthomas in #912
- Ubi8 by @ryanmelt in #904
- doc updates and minor fixes by @ryanmelt in #913
- Bump dependencies by @jmthomas in #914
- Navigate files by url by @jmthomas in #916
- Dependencies by @jmthomas in [#918[(https://github.com//pull/918)
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.11.3
OpenC3 COSMOS 5.11.3 - Bringing Everything Together
Welcome to OpenC3 COSMOS 5.11.3!
This is our second patch release for the 5.11 series (5.11.1 is skipped, due to a regression)
Fixed Notification Toasts
Toasts - the little popups when a notification occurs, broke with the 5.11.0 release. This release fixes them!
All Pull Requests in this Release
- Bump postcss from 8.4.24 to 8.4.31 in /openc3/templates/tool_react by @dependabot in #854
- fix toasts by @ryanmelt in #861
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.11.2
OpenC3 COSMOS 5.11.2 - Bringing Everything Together
Welcome to OpenC3 COSMOS 5.11.2!
This is our first patch release for the 5.11 series (5.11.1 is skipped, due to a regression)
Consolidated API Metrics
Our API metrics endpoints previously responded with data from a random worker thread. Metrics data is now consolidated across workers. (/openc3-api/metrics, /script-api/metrics)
Reducer Bug Fixes
We fixed a couple bugs with data reduction. One caused an EOFError when two threads were trying to process the same file at the same time. Another involved invalid out of order warnings. Note: You will still see out of order warnings if TLM_BUFFER_DEPTH is set too low, or if the system is overloaded.
Fixed yarn serve for debugging frontend tool code
Running yarn serve to develop and test tools was broken by the upgrade to prettier 3.0. This has be corrected.
More methods work in disconnect mode
More methods that read actual data now work in ScriptRunner disconnect mode such as stash and metadata related get methods.
Cleared all code flagged as Bug in Sonarqube
Sonarqube now reports our code free from bugs. :)
All Pull Requests in this Release
- Bump docker/setup-buildx-action from 2 to 3 by @dependabot in #837
- Bump docker/setup-qemu-action from 2 to 3 by @dependabot in #836
- Bump docker/login-action from 2 to 3 by @dependabot in #835
- Handle API metrics with multiple workers by @ryanmelt in #841
- cleanup credentials by @ryanmelt in #846
- Reducer improvements by @ryanmelt in #849
- Vue config for prettier 3 by @jmthomas in #848
- Expand allowed methods in disconnect mode by @jmthomas in #847
- address sonarqube bugs by @ryanmelt in #850
- fix value widget num parameters check by @ryanmelt in #853
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog
v5.11.0
OpenC3 COSMOS 5.11.0 - Bringing Everything Together
Welcome to OpenC3 COSMOS 5.11.0!
Significant Data Reduction CPU Utilization Improvements
The Reducer tasks periodically run and can use a lot of CPU. This change throttles data reduction to using at most 30% of a CPU per target by default, and this setting is adjustable. There is also a new configuration setting to completely disable data reduction if it is not needed.
HttpClientInterface and HttpServerInterface
Initial versions of an HttpClientInterface and HttpServerInterface are included in this release. An example of use can be found Here. Note that this code is still pending unit testing and may be buggy.
Hex in Item Detail Dialog
The item detail dialog now also shows the Raw value in hex for integer items.
Improvements to Accessors and Protocols
Accessors are now instantiated with each packet which allows them to take constructor arguments. This allows for the creation of more advanced accessors for packets, and supports the new HttpAccessor and FormAccessor classes. Protocols now support passing an extra hash of data in read_data and write_data. This allows for eloquent protocols that don't have to save data in variables to pass between the raw data phase and the packet phase.
Logger Improvements
Logger now supports three types of log entries: log, notification, and alert. Additionally, WARN and above severity levels can be optionally written out to STDERR instead of STDOUT if the OPENC3_USE_STDERR environment variable is set. The Log MessagesChannel API has also been updated to support querying historical log messages, and the log file format is now proper JSON entries that are newline separated. Finally, logs that aren't associated with any scope are now logged into a NOSCOPE path in the logs bucket.
Possible migration required. This change removed NotificationModel, and all use of that class should be replaced by use of Logger with type: Logger::NOTIFICATION.
Continued Python Development
Python development continues. Some Interfaces and Protocols are now included. Also, much better testing and unit tests. More to come. We are still targeting the ability to create Python based Interfaces and Target code by the end of the month.
Note: Python support is still Beta in this release.
Monthly Dependency Updates
We've updated all our dependencies driving down the number of CVEs in all of our containers.
Notable Bug Fixes
- Fixed an issue causing a never ending loop of the init container caused by changing in Minio
- Force folder_name to be unique to prevent conflicting tool installs
- Fixed an issue with Websockets failing authentication if passwords contained special characters
- Fixed plugin installation diff views
- ERB on full commented out lines is no longer executed. Note: will still execute in trailing comments
- Better support for UTF-8 characters in config files
- Fixed unit test performance in mock_redis xread
- Updated Sleeper class to properly close pipe handles
- Fixed the creation of an anonymous Docker volume for the redis-ephemeral container
All Pull Requests in this Release
- Post release workflows by @ryanmelt in #784
- Python parsers by @jmthomas in #786
- Bump actions/github-script from 4 to 6 by @dependabot in #788
- Force unique folder_name for tools by @ryanmelt in #793
- Small Patches to Help with the Local Workflow by @stephen-ritter in #789
- Python logs & interface by @jmthomas in #795
- Reducer improvements by @jmthomas in #791
- Bump apollo-server-core from 3.12.0 to 3.12.1 in /openc3-cosmos-init/plugins by @dependabot in #803
- Accessor updates by @ryanmelt in #802
- Add Python streams and interfaces by @jmthomas in #797
- Bump actions/checkout from 3 to 4 by @dependabot in #806
- Show ENV usage in screen by @jmthomas in #819
- encodeURI for action cable consumers by @jmthomas in #818
- Fix ace-diff alignment issues by @jmthomas in #822
- Python microservices by @jmthomas in #817
- Display raw UINT/INT values as hex by @jmthomas in #821
- Comment out ERB by @jmthomas in #820
- REDUCER_DISABLE option for targets by @jmthomas in #826
- Handle UTF-8 in config files by @jmthomas in #828
- Dependencies by @jmthomas in #825
- Bump semver from 6.3.0 to 6.3.1 in /openc3/templates/tool_react by @dependabot in #829
- Technical debt cleanup by @ryanmelt in #815
- Http Interfaces by @ryanmelt in #805
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: Changelog