Releases: rajnandan1/kener
Releases · rajnandan1/kener
3.2.2
3.2.1
Features
-
New Heartbeat Monitors
- Added support for push-based monitoring via heartbeats
- Monitors systems that send periodic signals to confirm they're running
- Configurable thresholds for degraded and down states
- Secured with secret token authentication
- Accessible via simple HTTP API endpoints
-
Data Interpolation Improvements
- Fixed data interpolation issues for more accurate uptime calculations
- Improved handling of timestamp boundaries
Fixes & Improvements
-
UI Enhancements
- Better mobile responsiveness for theme toggles and controls
- Fixed layout issues with bottom navigation buttons
- Improved timezone selector display
-
Data Processing
- Fixed edge case issues with uptime calculations
- Improved handling of "No Data" status in summaries
- More accurate time range display across timezones
-
Documentation
- Added comprehensive documentation for Heartbeat Monitors
- Updated API documentation with new endpoints
3.2.0: Merge pull request #323 from rajnandan1/feature/optimize-1
v3.2.0
Features
-
Improved Monitor Evaluation Functions
- Replaced unsafe
eval()
with secureFunction()
constructors across all monitor types - Added support for using modules (like cheerio) directly in evaluation functions
- Replaced unsafe
-
Enhanced API Monitors
- Raw response data is now passed directly to eval functions instead of base64 encoded
- Added
modules
parameter with access to cheerio for HTML parsing - Updated default evaluation function to use the new parameter structure
-
Improved TCP & Ping Monitors
- Simplified evaluation functions with direct access to ping/TCP data
- Removed unnecessary base64 encoding/decoding steps
- Better error handling for invalid evaluation functions
-
Documentation Updates
- Updated all examples and documentation for the new evaluation function signatures
- Added more detailed explanations of input parameters
- Improved examples showing usage with the new parameter structure
Breaking Changes
- Monitor Evaluation Functions
- Custom evaluation functions will need to be updated to the new parameter structure
- API monitors:
(statusCode, responseTime, responseRaw, modules)
instead of(statusCode, responseTime, responseDataBase64)
- TCP/Ping monitors:
(arrayOfPings)
instead of(responseDataBase64)
Fixes
- Fixed "cheerio is undefined" errors in API monitor evaluations
- Improved error handling and logging for monitor evaluation failures
- Security enhancements by removing
eval()
usage
Migration
If you're using custom evaluation functions in your monitors, you'll need to update them to the new format:
API Monitors
// Old format
(async function (statusCode, responseTime, responseDataBase64) {
const resp = atob(responseDataBase64)
// Your logic here
})
// New format
(async function (statusCode, responseTime, responseRaw, modules) {
// responseRaw is the direct response - no need to decode
// Access cheerio with modules.cheerio
// Your logic here
})
TCP/Ping Monitors
// Old format
(async function (responseDataBase64) {
let arrayOfPings = JSON.parse(atob(responseDataBase64))
// Your logic here
})
// New format
(async function (arrayOfPings) {
// arrayOfPings is directly available - no need to decode
// Your logic here
})
3.1.10
3.1.9
What's Changed
- Add cheerio dependency and enhance API call examples with HTML parsing by @rajnandan1 in #312
- Refactor section classes for improved styling and organization in the… by @rajnandan1 in #315
- Add SSL monitor functionality and related documentation #317 by @rajnandan1 in #318
- Adds SQL monitor functionality as asked in #244 by @rajnandan1 in #319
Full Changelog: 3.1.8...3.1.9
3.1.8
Features
-
Timezone Support & UI Toggle
- Added timezone support using
date-fns-tz
for improved date formatting. - Introduced a UI toggle in settings to switch between different timezones.
- Added timezone support using
-
Enhanced Incident Management
- Improved incident filtering to prevent duplicate auto incidents when creating manual incidents.
- Added support for incident sources to refine incident handling.
-
Dynamic Cron Job Scheduling
- Cron jobs are now dynamically added and removed based on active monitors.
- Ensures jobs are triggered in the correct order and prevents duplicate incidents.
-
Monitor Component Improvements
- Refactored monitor component for better data display and interaction.
- Improved uptime calculations.
- Added a dropdown to select time ranges for better visibility.
Fixes & Improvements
- Refactored Incident Handling & Scheduling for better reliability and performance.
- UI Responsiveness Fixes to improve the experience on smaller screens.
- Dependency Updates to support new timezone functionality and ensure stability.
3.1.7
What's Changed
- feat: embed project webfont by @kaffolder7 in #292
- Fix/incidents 1 by @rajnandan1 in #302
Full Changelog: 3.1.6...3.1.7
3.1.6
What's Changed
- Bump version to 3.1.6 and update affected status handling in database… by @rajnandan1 in #294
Full Changelog: 3.1.5...3.1.6
3.1.5
3.1.4
Full Changelog: 3.1.3...3.1.4