From 1fc34d7e44bdd8dd08a61876c7a6a9fa8b74d513 Mon Sep 17 00:00:00 2001 From: Arnav Bhattacharya Date: Tue, 10 Feb 2026 15:04:29 +0000 Subject: [PATCH 1/2] Update version --- CHANGELOG.md | 5 +++++ ns1/__init__.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71dfa6e..ce38110 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.27.2 (February 10th, 2026) + +ENHANCEMENTS: +* Adds support for monitoring + ## 0.27.1 (December 3rd, 2025) FIXED: diff --git a/ns1/__init__.py b/ns1/__init__.py index 9dbfb06..381474c 100644 --- a/ns1/__init__.py +++ b/ns1/__init__.py @@ -5,7 +5,7 @@ # from .config import Config -version = "0.27.1" +version = "0.27.2" class NS1: From 0056250e1c82b7b4598201e53b482631a941a8d9 Mon Sep 17 00:00:00 2001 From: Arnav Bhattacharya Date: Tue, 10 Feb 2026 15:08:41 +0000 Subject: [PATCH 2/2] fix lint issues --- ns1/rest/monitoring.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ns1/rest/monitoring.py b/ns1/rest/monitoring.py index 68ecd43..93f3f22 100644 --- a/ns1/rest/monitoring.py +++ b/ns1/rest/monitoring.py @@ -20,18 +20,14 @@ class Monitors(resource.BaseResource): "notify_list", ] - INT_FIELDS = [ - "frequency", - "notify_delay", - "notify_repeat" - ] + INT_FIELDS = ["frequency", "notify_delay", "notify_repeat"] BOOL_FIELDS = [ "active", "rapid_recheck", "notify_regional", "mute", - "notify_failback" + "notify_failback", ] def list(self, callback=None, errback=None):