All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
- Stop logging pool low warnings in the log
#287
- Bump cross-fetch from 4.0.0 to 4.1.0
#286
- Replace SonarCloud with SonarQube
#285
- Bump dotenv from 16.4.5 to 16.4.7
#284
- Upgrade node to v22
#283
- Bump pg from 8.13.0 to 8.13.1
#282
- Bump @hapi/hapi from 21.3.10 to 21.3.12
#281
- Bump @hapi/lab from 25.3.1 to 25.3.2
#280
- Bump pg from 8.12.0 to 8.13.0
#279
- Bump standard from 17.1.1 to 17.1.2
#278
- Bump standard from 17.1.0 to 17.1.1
#277
- Bump auto-changelog from 2.4.0 to 2.5.0
#276
- Bump sinon from 18.0.0 to 18.0.1
#275
- Bump @hapi/lab from 25.2.0 to 25.3.1
#274
- Bump joi from 17.13.1 to 17.13.3
#273
- Bump braces from 3.0.2 to 3.0.3
#272
- Bump @hapi/hapi from 21.3.9 to 21.3.10
#271
- Bump pg from 8.11.5 to 8.12.0
#270
16 May 2024
- Update packages
#269
- Bump joi from 17.13.0 to 17.13.1
#268
- Bump joi from 17.12.3 to 17.13.0
#267
- Bump @hapi/hapi from 21.3.8 to 21.3.9
#266
- Bump @hapi/hapi from 21.3.7 to 21.3.8
#265
- Bump joi from 17.12.2 to 17.12.3
#264
- Bump pg from 8.11.4 to 8.11.5
#263
- Bump pg from 8.11.3 to 8.11.4
#262
- Bump @hapi/hapi from 21.3.3 to 21.3.7
#261
- Bump es5-ext from 0.10.61 to 0.10.63
#259
- Bump joi from 17.12.1 to 17.12.2
#258
- Bump dotenv from 16.4.4 to 16.4.5
#257
- Bump dotenv from 16.4.3 to 16.4.4
#256
- Bump dotenv from 16.4.2 to 16.4.3
#255
- Bump dotenv from 16.4.1 to 16.4.2
#254
- Bump joi from 17.12.0 to 17.12.1
#253
- Bump @hapi/hapi from 21.3.2 to 21.3.3
#252
- Bump dotenv from 16.4.0 to 16.4.1
#251
- Bump dotenv from 16.3.2 to 16.4.0
#250
- Bump dotenv from 16.3.1 to 16.3.2
#249
- Bump actions/cache from 3 to 4
#247
- Bump joi from 17.11.1 to 17.12.0
#248
- Bump @hapi/lab from 25.1.3 to 25.2.0
#245
- Bump joi from 17.11.0 to 17.11.1
#246
- Bump moment from 2.30.0 to 2.30.1
#244
- Bump moment from 2.29.4 to 2.30.0
#243
- Bump actions/setup-node from 3 to 4
#242
- Bump @babel/traverse from 7.19.3 to 7.23.2
#241
- Bump joi from 17.10.2 to 17.11.0
#240
- Upgrade to Node 20 & simplify CI Node install
#239
- Bump joi from 17.10.1 to 17.10.2
#238
- Bump actions/checkout from 3 to 4
#237
- Bump joi from 17.10.0 to 17.10.1
#236
- Bump joi from 17.9.2 to 17.10.0
#235
- Bump pg from 8.11.2 to 8.11.3
#234
- Bump pg from 8.11.1 to 8.11.2
#233
- Bump word-wrap from 1.2.3 to 1.2.4
#232
- Bump cross-fetch from 3.1.6 to 3.1.8
#231
- Bump @hapi/lab from 25.1.2 to 25.1.3
#230
- Bump pg from 8.11.0 to 8.11.1
#229
- Bump dotenv from 16.1.4 to 16.3.1
#228
- Update
@hapi/hapi
package#227
- Update
standard
package#226
- Bump dotenv from 16.1.3 to 16.1.4
#225
- Bump dotenv from 16.1.1 to 16.1.3
#224
- Bump dotenv from 16.0.3 to 16.1.1
#222
- Bump winston from 2.4.6 to 2.4.7
#221
- Bump cross-fetch from 3.1.5 to 3.1.6
#218
- Add auto-merge GitHub workflow
#220
- Bump pg from 8.10.0 to 8.11.0
#219
- Bump joi from 17.9.1 to 17.9.2
#217
- Bump joi from 17.9.0 to 17.9.1
#216
- Bump joi from 17.8.4 to 17.9.0
#215
- Bump joi from 17.8.3 to 17.8.4
#214
- Bump pg from 8.9.0 to 8.10.0
#213
- Bump joi from 17.8.1 to 17.8.3
#212
- Bump joi from 17.7.1 to 17.8.1
#211
- Bump @hapi/hapi from 20.2.2 to 20.3.0
#210
- Bump joi from 17.7.0 to 17.7.1
#209
- Bump @hapi/lab from 25.1.0 to 25.1.2
#208
- Bump @hapi/code from 9.0.2 to 9.0.3
#207
- Bump @sideway/formula from 3.0.0 to 3.0.1
#206
- Bump pg from 8.8.0 to 8.9.0
#205
- Bump json5 from 1.0.1 to 1.0.2
#204
- Bump @hapi/lab from 25.0.1 to 25.1.0
#203
- Bump @hapi/code from 9.0.1 to 9.0.2
#202
28 November 2022
- Fix npm-publish github action
f36eec6
25 November 2022
- Add post version bump CHANGELOG hook
#201
- Handle Stacktrace only errors
#200
- Replace deprecated set-output cmd in GitHub CI
#199
- Bump joi from 17.6.4 to 17.7.0
#198
- Bump joi from 17.6.3 to 17.6.4
#197
- Bump joi from 17.6.2 to 17.6.3
#193
- Rename test files from filename.js to filename.test.js
#192
- Tidy up dependencies
#184
- Fix
.git-blame-ignore-revs
#190
- Remove
pg-boss
#189
- Bump joi from 17.6.0 to 17.6.1
#188
- Reimplement
slugify
dependency#187
- Remove
glob
dependency#186
- Reimplement
deep-map
dependency#185
- Create
url-join
helper#183
- Bump pg from 8.7.3 to 8.8.0
#182
- Hide
standard
linting commit with.git-blame-ignore-revs
#181
- Bump moment from 2.29.3 to 2.29.4
#180
- Tidy up package.json
#179
- Make gitignore consistent with other projects
#178
- Add dependabot.yml config file
#177
- Apply consistent CI workflow
#176
- Replacing es lint with standard js
#175
- Update default branch to
main
df1f4ba
30 May 2022
19 April 2022
- feat: update pg from 7 to 8
#172
14 April 2022
- Water 3649 investigate task for upgrading wrls helper
#171
- Water 3649 investigate task for upgrading wrls helper
#170
14 April 2022
- Water 3649 investigate task for upgrading wrls helper
#169
- Water 3649 investigate task for upgrading wrls helper
#168
- Water 3649 investigate task for upgrading wrls helper
#167
- feat: update packages
#166
- Update reducer.js
#162
- Water 3177 - Copying Digitise data to core database
#161
- Upgrades syntax to joi 17
#158
- Export getIntersection method
#156
- Chore/remove https proxy agent
#147
- Fixes issue in billable days calculation when abs period ends on 1 April
#146
- Adds a function to map pg.pool queries to knex.raw
#138
- Moves validation logic to first field of pair to assist with UI
#137
- [Security] Bump codecov from 3.7.0 to 3.8.1
#134
- Bump eslint-plugin-standard from 4.0.1 to 4.1.0
#135
- Create shared address validator
#136
- Water-2803 - Get season for abstraction period
#128
- Feat/winter 2020 return cycle due date
#123
- Chore/2665 move import to import module
#112
- Feature/add pre request event
#98
- Updates dependencies
#84
- Adds schema which currently exists in UI repo
d577e04
- new version to publish
5981990
- Feat: Adds preRequest hook to http.request
b6a1d76
- Feat: Moves code from water service to helpers
273bf0d
- WIP
cc43d7b
- Updates formatting functions
76a5edc
- WIP
114d7dd
- feat/2803
fa455b4
- Cleaning up
f05818c
- Fix linter errors, bump version
6adaf88
- Swapping out for a new CI.
db0d575
- Review comments
c543c3f
- Add due date to return cycles. Add custom date for winter/all year 2020 cycle
2758d74
- Add missing deps
c3be901
- Remove https-proxy-agent
b0276ec
- WIP
a6d9ea6
- feat/water-2803
709a877
- Change version number
766f7dd
- Supports WATER-3177
0ef95a1
- Clean-up
b6e6e03
- Cleaning up
fa93425
- WIP
6c1df4c
- Parse billing period dates with Moment.js
758c254
- Filter out empty objects
3e05613
- WIP
37eb401
- WIP
d8c10ae
- Additional test
7fb5ac1
- Fix lint error
792b19f
- Patch version number
293ef58
- WIP
1945c30
- Add coverage to gitignore
d4a3194
- Update state-manager.js
c1f68bd
- Update state-manager.js
fffd768
- Added global variables that need to be ignored from leak detection
38ee943
- Change test runner syntax
fd44d29
- Update ci.yml
38bcaee
- feat/water-2803
d0fc91a
- feat/water-2803
c378694
19 December 2019
- Chore/optional pg boss
#83
- Create postgres pool factory
#82
- Updates dependencies
fb6e572
- Only require PG boss when hapi-pg-boss plugin is registered
d1382cc
19 December 2019
- Only require PG boss when hapi-pg-boss plugin is registered
c7f9e53
19 December 2019
- Remove dependence on Postgres for unit tests
9398ad0
18 December 2019
9 December 2019
- Adds hapi pg boss plugin
#78
- Add validation to isDateWithinAbstractionPeriod function, and convert strings to integers in supplied abstraction period
6109bee
13 November 2019
- Weekly split logs test
#74
- Move isDateWithinAbstractionPeriod function from UI to Helpers
#73
- Feat/merge history
#72
- Adds hapi PG boss plugin
da99a44
- Added hapi-pg-boss plugin
8b105a8
- Add test for weekly split logs
ee12cb0
- Fix year in test to be consistent
85685ad
8 October 2019
- Feat/date range splitter
#71
- Add mergeHistory function which merges arrays of objects where date ranges are adjacent
32ea4c0
4 October 2019
- Adds functions to get total and billable days for charging
#70
- Create date range splitter
82115c4
- Tweak changelog
bf27ec9
3 October 2019
- Helps avoid the same month appearing in both parts of a split log
#66
- Feat: Adds PUT to service request
#57
- Feat: Prevent singleton loggers
#43
- Chore: Update eslint and add ignore file
#38
- Update version number to 2.5.0
#39
- Add partial period flag to required lines for monthly split log returns
#37
- Feat/return period end
#35
- Adds functions to get total and billable days for charging
1c1061b
- Use moment range for billable days calculation
0c79193
- Change use of 'isPartialPeriod' to 'isLastDayOfMonth' for clarity. Add tests.
6732dfc
- Add additional tests
3c80ff0
- Add logic to check if return is for partial period
3bd0460
- Add additional tests
612f2ef
- Refactored code based on comments
8e41522
22 March 2019
- Feat/service request
#24
1 March 2019
- Feat: Export recently added modules
#14
27 February 2019
- Feat: Move duplicate returns lines functions
#12
18 February 2019
- Feat: Improves error object decoration
#9
15 February 2019
- Feat: Logging enhancements
#6
- Adds getPeriodStart function from water service to calculate the retu…
#5
- Add function to get region given region code
#4
- Fixes issue with return cycle calculation
#3
- Adds a function to create summer or winter return cycles between a gi…
#2
- Initial commit
#1
- Adds a function to create summer or winter return cycles between a given date range
d1da44f
- Refactor and add test for airbrake client options
68bff8a
- Adds getPeriodStart function from water service to calculate the return cycle start date for a given date
c83cc10
- Adds auto changelog
8827beb
- Add further tests
752a3cd
- Add travis.yml and eslint config
8924537
- More tests
8c9562a
- Add licence info
553a165
- Add package.json
d83c3a3
- Add test to cover cycles starting in following year
9bccf5e
- Add readme
f6ba3c1
- Remove surplus env variables from travis.yml
aed49f6
- Adds licence file
59c3e58
- Scope NPM package to @envage with public access
829e27c
- Explicitly set return cycle end date to 1 day before 1 year after cycle start date
9f66215
- Add codecov
e07b639