Skip to content

Commit

Permalink
Preparing release 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Mar 14, 2024
1 parent 2f7fe5b commit 6fc193e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Change Log

## 4.0.5
## 5.0.0
1. Added hostIds list parameter to restrict scan to only these ids.
2. Breaking changes on calling static methods. You have to use instance of service now.

**Breaking change** Replace these occurences in your project

* HostScanner to HostScannerService.instance
* PortScanner to PortScannerService.instance

## 4.0.4
1. Bug fix for sync runs when async flag is true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Future<void> main() async {
// or You can also get address using network_info_plus package
// final String? address = await (NetworkInfo().getWifiIP());
final String subnet = address.substring(0, address.lastIndexOf('.'));
final stream = HostScanner.getAllPingableDevices(subnet, firstHostId: 1, lastHostId: 50,
final stream = HostScannerService.instance.getAllPingableDevices(subnet, firstHostId: 1, lastHostId: 50,
progressCallback: (progress) {
print('Progress for host discovery : $progress');
});
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: network_tools
description: Networking Tools library which can help you discover open ports, devices on subnet and many other things.
version: 4.0.5
version: 5.0.0
issue_tracker: https://github.com/osociety/network_tools/issues
repository: https://github.com/osociety/network_tools

Expand Down

0 comments on commit 6fc193e

Please sign in to comment.