This release is a minor release (no change were made to the specifications) which contains improvements to the server, to the Python client, to the CLI and to the documentation. A new extension is added to generate ulid identifiers (see details below). The methods of the Python client module now return explicit error codes. An event listener example is provided to listen to the server events using Python and web sockets. The documentation was improved, as well as 2 bugs fixed.
Here is a more detailed list of changes:
Server
- ulid support (https://github.com/remyla/damas-core/wiki/Extensions#ulid)
- socket.io version updated to 4.4.0
- optimization of mongo query in search_mongo
- default now use sha1 passwords instead of md5
- in
"authorMode": true
, now users can delete their own nodes - allow multiple node authors with array in
author
key #271 - server log format is configurable in conf.json under
morgan
key (short
,tiny
,combined
,dev
etc. see morgan module for details) - moved older legacy code to a different branch
CLI
- support for server redirections
.sh
extension removed from the cli command- errors are written in stderr. closes #254
Documentation
simplified texts of usages and documentation
- CLI usage rewrite
- Python and CLI README files
- Documentation Wiki
Python
- server error codes are now returned by the client's methods
- explicit server error codes returned by methods in Python client. close #244
- added a socket client example
damas_socket.py
- new module is in
damas_client.py
, previous module moved todamas_legacy.py