router_os_client 1.0.4+1 copy "router_os_client: ^1.0.4+1" to clipboard
router_os_client: ^1.0.4+1 copied to clipboard

RouterOSClient is a Dart/Flutter package that provides an easy-to-use interface for connecting and interacting with Mikrotik's RouterOS devices via a socket connection.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed #

  • Improved exception handling for better reliability during API calls.

Fixed #

  • Fixed dependency resolution error caused by mismatched project name.
  • Resolved issues with socket connection stability.

[1.0.0+1] - 2024-08-25 #

Added #

  • Initial release of router_os_client.
  • Basic API connection functionality for RouterOS devices.
  • Added documentation and examples for usage.

[1.0.0+2] - 2024-08-27 #

Changed #

  • Reformated router_os_client file.

[1.0.0+3] - 2024-08-27 #

Removed #

  • Removed cupertino_icons from dependencies.

[1.0.2] - 2024-08-31 #

Fix #

  • fix: prevent empty maps from being added to parsed replies

  • Modified the _parseReply method to ensure that only non-empty maps are added to the parsedReplies list. This prevents the unnecessary {} from being returned at the end of command execution.

[1.0.3] #

Changed #

  • Replace print statements with Logger for consistent logging
  • Updated all print statements to use the Logger instance.
  • Ensured that verbose logging is handled through the logger for better control.
  • Improved error handling and log messaging with appropriate log levels (debug, info, warning, error).

[1.0.4] #

Date: September 2, 2024

Added #

  • _parseCommand Method Update:
  • Introduced a check to determine if a command part contains an = character.
  • Preserved parts containing = without modification to avoid incorrect command formatting.
  • Applied a / prefix only to base command parts that do not contain =.

Fixed #

  • Command Parsing Issue:
  • Resolved an issue where commands with parameters (e.g., profile=1d) were incorrectly parsed by adding an extra = character. This fix ensures that commands such as /ip/hotspot/user/print profile=1d are parsed correctly and sent as /ip/hotspot/user/print with profile=1d as a parameter.
  • Corrected the behavior of the client.talk method to ensure proper communication with the RouterOS API, allowing for accurate filtering of data.

Improved #

  • Command Handling:
  • Enhanced the robustness of the command parsing mechanism, ensuring that commands with parameters are handled accurately and without unintended modifications.
2
likes
0
pub points
49%
popularity

Publisher

verified publisheranaab.tech

RouterOSClient is a Dart/Flutter package that provides an easy-to-use interface for connecting and interacting with Mikrotik's RouterOS devices via a socket connection.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, flutter, logger

More

Packages that depend on router_os_client