Skip to content

Commit 8616dc3

Browse files
authored
Merge pull request #24 from epimorphics/task/release-v1.5.4
Task: Release v1.5.4
2 parents 2caa3d6 + a806238 commit 8616dc3

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog for DS API rubygem
22

3+
## 1.5.4 - 2025-04
4+
5+
- (Jon) Adds returned row count to logs when the count is a positive integer.
6+
[GH-272](https://github.com/epimorphics/ppd-explorer/issues/272)
7+
38
## 1.5.3 - 2025-04
49

510
- (Jon) Improved API request logging with query string information, which can

lib/data_services_api/service.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def get_json(http_url, params, options) # rubocop:disable Metrics/MethodLength,
7777
)
7878

7979
logged_fields[:method] = response.env.method.upcase
80+
logged_fields[:returned_rows] = returned_rows if returned_rows.positive?
8081
logged_fields[:request_status] = 'processing'
8182
logged_fields[:request_time] = elapsed_time
8283
logged_fields[:status] = response.status

lib/data_services_api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
module DataServicesApi
55
MAJOR = 1
66
MINOR = 5
7-
PATCH = 3
7+
PATCH = 4
88
SUFFIX = nil
99
VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}#{SUFFIX && ".#{SUFFIX}"}"
1010
end

0 commit comments

Comments
 (0)