Releases: DEFRA/water-abstraction-system
Releases · DEFRA/water-abstraction-system
Version 0.7.0
Released under RFC CHG0065696 on 12 July 2023. See CHANGELOG for details
What's Changed
- Bump dotenv from 16.1.1 to 16.1.3 by @dependabot in #251
- Split
ProcessBillingPeriodService
into multiple services by @StuAA78 in #241 - Bump @aws-sdk/client-s3 from 3.342.0 to 3.344.0 by @dependabot in #252
- Uploading compressed tarball file to S3 by @Beckyrose200 in #250
- Bump dotenv from 16.1.3 to 16.1.4 by @dependabot in #253
- Bump @aws-sdk/client-s3 from 3.344.0 to 3.345.0 by @dependabot in #254
- Multi-Year SROC Supplementary Billing by @Jozzey in #228
- Create new Charging Module services for reissuing by @StuAA78 in #255
- Bump @aws-sdk/client-s3 from 3.345.0 to 3.347.1 by @dependabot in #257
- Fix no credits for REPLACED charge versions by @Cruikshanks in #258
- Bump sass from 1.62.1 to 1.63.2 by @dependabot in #260
- Bump @aws-sdk/client-s3 from 3.347.1 to 3.348.0 by @dependabot in #259
- Bump @aws-sdk/client-s3 from 3.348.0 to 3.350.0 by @dependabot in #261
- Bump sass from 1.63.2 to 1.63.3 by @dependabot in #263
- Bump @hapi/vision from 7.0.1 to 7.0.2 by @dependabot in #262
- Bump sinon from 15.1.0 to 15.1.2 by @dependabot in #264
- SROC Supplementary flag not cleared for 'non-chargeable' licence by @Jozzey in #266
- Bump @aws-sdk/client-s3 from 3.350.0 to 3.352.0 by @dependabot in #268
- Bump sass from 1.63.3 to 1.63.4 by @dependabot in #267
- Bump @aws-sdk/client-s3 from 3.352.0 to 3.353.0 by @dependabot in #269
- Bump dotenv from 16.1.4 to 16.2.0 by @dependabot in #270
- Bump dotenv from 16.2.0 to 16.3.1 by @dependabot in #271
- Bump @aws-sdk/client-s3 from 3.353.0 to 3.354.0 by @dependabot in #272
- Bump sinon from 15.1.2 to 15.2.0 by @dependabot in #275
- Bump sass from 1.63.4 to 1.63.5 by @dependabot in #276
- Better handle errors in Notifiers by @Cruikshanks in #273
- Bump sass from 1.63.5 to 1.63.6 by @dependabot in #277
- Bump @aws-sdk/client-s3 from 3.354.0 to 3.357.0 by @dependabot in #278
- Bump @aws-sdk/client-s3 from 3.357.0 to 3.358.0 by @dependabot in #279
- Bump @aws-sdk/client-s3 from 3.358.0 to 3.359.0 by @dependabot in #281
- Fix supp. billing not crediting old accounts by @Cruikshanks in #280
- Bump @aws-sdk/client-s3 from 3.359.0 to 3.360.0 by @dependabot in #283
- Bump pg from 8.11.0 to 8.11.1 by @dependabot in #282
- Fix -billableDays 4 out of period charge versions by @Cruikshanks in #286
- Bump @hapi/lab from 25.1.2 to 25.1.3 by @dependabot in #287
- Fix tear-down service by @Jozzey in #288
- Bump @aws-sdk/client-s3 from 3.360.0 to 3.362.0 by @dependabot in #289
- Bump objection from 3.0.1 to 3.0.4 by @dependabot in #292
- Bump @aws-sdk/client-s3 from 3.362.0 to 3.363.0 by @dependabot in #291
- Fix licence ends before billing period by @Cruikshanks in #293
- Bump pino-pretty from 9.4.0 to 9.4.1 by @dependabot in #294
- Implement SROC invoice reissuing by @StuAA78 in #256
- Add initial seeding support using users by @Cruikshanks in #285
- Fix omfg() in HandleErroredBillingBatch by @Cruikshanks in #295
- Add new custom ExpandedError by @Cruikshanks in #296
- Bump @aws-sdk/client-s3 from 3.363.0 to 3.367.0 by @dependabot in #297
- Bump govuk-frontend from 4.6.0 to 4.7.0 by @dependabot in #298
- Add reissuing to
ProcessBillingBatchService
by @StuAA78 in #290 - Move db-export services to data folder by @Cruikshanks in #299
- Move supplementary-billing to new billing folder by @Cruikshanks in #300
- Bump knex from 2.4.2 to 2.5.0 by @dependabot in #301
Full Changelog: v0.6.0...v0.7.0
Version 0.6.0
Released under RFC CHG0065007 on 12 June 2023. See CHANGELOG for details
What's Changed
- Multi Year Supplementary Billing by @Jozzey in #226
- Adding logging to the db export service by @Beckyrose200 in #227
- Process billing batch move db writes by @StuAA78 in #230
- Stop sending Airbrake notifications in tests by @Cruikshanks in #229
- Fix Airbrake integration by @Cruikshanks in #231
- Refactor start of processing a supp. billing batch by @Cruikshanks in #233
- Bump @aws-sdk/client-s3 from 3.332.0 to 3.335.0 by @dependabot in #234
- Bump sinon from 15.0.4 to 15.1.0 by @dependabot in #235
- Generalising fetch billing charge categories service by @Beckyrose200 in #232
- Refactor, unit tests & add NewBillingBatchService by @Cruikshanks in #236
- Getting table names from schema by @Beckyrose200 in #237
- Bump @aws-sdk/client-s3 from 3.335.0 to 3.337.0 by @dependabot in #239
- Bump @aws-sdk/client-s3 from 3.337.0 to 3.338.0 by @dependabot in #240
- Fix issue using Array.at() - Node is to old by @Cruikshanks in #242
- Fix isNewLicence null violation for prev. trans. by @Cruikshanks in #243
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #244
- Bump @aws-sdk/client-s3 from 3.338.0 to 3.341.0 by @dependabot in #245
- Bump got from 12.6.0 to 12.6.1 by @dependabot in #246
- Bump standard from 17.0.0 to 17.1.0 by @dependabot in #247
- Bump @aws-sdk/client-s3 from 3.341.0 to 3.342.0 by @dependabot in #249
- Bump dotenv from 16.0.3 to 16.1.1 by @dependabot in #248
- Export a schema by @Beckyrose200 in #238
Full Changelog: v0.5.0...v0.6.0
Version 0.3.0
Released under RFC CHG0063766 on 5 April 2023. See CHANGELOG for details
What's Changed
- Create Reverse Billing Batch Licences service by @StuAA78 in #167
- Bump sass from 1.59.3 to 1.60.0 by @dependabot in #173
- Bump sinon from 15.0.2 to 15.0.3 by @dependabot in #175
- Licences in Workflow should not be considered by @Jozzey in #176
- Bump @hapi/hapi from 21.3.0 to 21.3.1 by @dependabot in #180
- Remove FetchLicencesService by @Cruikshanks in #178
- Update FetchChargeVersions to use SROC flag by @Cruikshanks in #177
- Fix no error in logs for process billing batch by @Cruikshanks in #181
- We are incorrectly crediting all the previous charge versions by @Jozzey in #182
- Handle no charge versions in ProcessBillingBatch by @Cruikshanks in #174
Full Changelog: v0.2.1...v0.3.0
Version 0.2.1
Released under RFC CHG0063538 on 27 March 2023. See CHANGELOG for details
What's Changed
- Bump joi from 17.8.4 to 17.9.1 by @dependabot in #172
Full Changelog: v0.2.0...v0.2.1
Version 0.2.0
Released under RFC CHG0063425 on 21 March 2023. See CHANGELOG for details
What's Changed
- Bump joi from 17.7.1 to 17.8.1 by @dependabot in #125
- Bump sass from 1.58.1 to 1.58.3 by @dependabot in #126
- Bump pino-pretty from 9.2.0 to 9.3.0 by @dependabot in #127
- Determine other factors for SROC transaction line by @StuAA78 in #108
- Generate Billing Invoice Licence record for SROC by @StuAA78 in #124
- Bump joi from 17.8.1 to 17.8.3 by @dependabot in #128
- Create
ChargingModuleRequestLib
by @StuAA78 in #129 - Add legacy db snake case mappers by @Cruikshanks in #131
- Add SROC Supplementary Billing Invoice Service by @Cruikshanks in #119
- Bump pino-pretty from 9.3.0 to 9.4.0 by @dependabot in #132
- Refactor to use
ChargingModuleRequestLib
by @StuAA78 in #130 - Add change_reason model to water-abstraction-system by @Jozzey in #134
- Add billing_transaction model to water-abstraction-system by @Jozzey in #135
- Update fetch charge versions service in water-abstraction-system by @Jozzey in #136
- Fix response handling for Charging Module requests by @Cruikshanks in #138
- Only log essential info on failed requests by @Cruikshanks in #139
- Fix missing bill run number in batch by @Cruikshanks in #137
- Add Charging Module create transaction service by @Jozzey in #140
- Add PATCH support to our request lib modules by @Cruikshanks in #142
- Add Charging Module generate bill run service by @Cruikshanks in #141
- Add LegacyRequestLib by @Cruikshanks in #143
- Add Base Presenter module by @Cruikshanks in #144
- Return PostgreSQL decimals as numbers not strings by @Cruikshanks in #146
- Add Charging Module Create Transaction Presenter by @Cruikshanks in #145
- Start processing the billing batch from Initiate by @Cruikshanks in #147
- Bump got from 12.5.3 to 12.6.0 by @dependabot in #148
- Move determineChargePeriod() to a service by @Cruikshanks in #150
- Add Determine Minimum Charge Service by @Cruikshanks in #149
- Refactor CreateTransactionsService to persist by @Cruikshanks in #151
- Update Process Batch service for debit only by @Cruikshanks in #133
- Bump pg from 8.9.0 to 8.10.0 by @dependabot in #154
- Fix dupe bill. invoice licence in process service by @Cruikshanks in #155
- Fix error calculating auth. and billable days by @Cruikshanks in #156
- Refactor how we create transactions by @Cruikshanks in #157
- Handle empty supplementary bill runs by @Cruikshanks in #153
- Amend charge versions fetched for SROC supplementary by @Cruikshanks in #158
- Bump sass from 1.58.3 to 1.59.2 by @dependabot in #159
- Bump sinon from 15.0.1 to 15.0.2 by @dependabot in #160
- Handle errors in ProcessBillingBatchService by @Cruikshanks in #161
- Bump @hapi/inert from 7.0.1 to 7.1.0 by @dependabot in #165
- Bump joi from 17.8.3 to 17.8.4 by @dependabot in #164
- Log time taken to process a bill run by @Cruikshanks in #163
- Fix cached data in ProcessBillingBatchService by @Cruikshanks in #166
- Bump sass from 1.59.2 to 1.59.3 by @dependabot in #168
Full Changelog: v0.1.0...v0.2.0
Version 0.1.0
Released under RFC CHG0062572 on 20 February 2022. See CHANGELOG for details
What's Changed
- Fix database health check test by @Cruikshanks in #1
- Fix sonarcloud test coverage reporting by @Cruikshanks in #2
- Create
create.database.js
script by @StuAA78 in #3 - Add .vscode to .gitignore by @Cruikshanks in #5
- Add pm2 config file by @Cruikshanks in #6
- Add views to system by @StuAA78 in #4
- Create Service Status holding page by @Beckyrose200 in #7
- Bump hapi-pino from 11.0.0 to 11.0.1 by @dependabot in #11
- Create test supplementary end point by @Beckyrose200 in #13
- Replace node-sass with dart-sass package by @Jozzey in #14
- Refactoring summary list for each service by @Jozzey in #8
- Refactor dotenv require by @Jozzey in #10
- Filter asset requests from Hapi-pino logs by @Cruikshanks in #16
- Move location where 'dotenv' is being required by @Jozzey in #21
- Standardise naming of request object by @Jozzey in #17
- Bump sass from 1.55.0 to 1.56.0 by @dependabot in #20
- Bump hapi-pino from 11.0.0 to 11.0.1 by @dependabot in #19
- Bump sinon from 14.0.1 to 14.0.2 by @dependabot in #18
- Create test database migrations by @Jozzey in #22
- Tidy up environment variables by @Jozzey in #24
- Bump sass from 1.56.0 to 1.56.1 by @dependabot in #23
- Add unit test DB cleaning by @Jozzey in #25
- Fetching the charge versions data by @Beckyrose200 in #15
- Select SROC supplementary charge versions for real by @Cruikshanks in #27
- Remove node-sass from dependencies by @Cruikshanks in #28
- Bump govuk-frontend from 4.3.1 to 4.4.0 by @dependabot in #29
- Bump got from 12.5.2 to 12.5.3 by @dependabot in #31
- Bump major version of @hapi/hapi by @Jozzey in #33
- Add new SROC Billing Period service by @Cruikshanks in #30
- Implement objection in water-abstraction-system by @Jozzey in #34
- Refactor Supplementary output to test presenter by @Cruikshanks in #32
- General housekeeping by @Cruikshanks in #35
- Update licences response in supplementary by @Cruikshanks in #36
- Bump @hapi/hapi from 21.0.0 to 21.1.0 by @dependabot in #39
- Bump @hapi/code from 9.0.1 to 9.0.2 by @dependabot in #38
- Fix tests for new dev environment by @Cruikshanks in #40
- Bump @airbrake/node from 2.1.7 to 2.1.8 by @dependabot in #42
- Amend the supplementary charge version query by @Cruikshanks in #41
- Fix Objection model relations by @Cruikshanks in #44
- Update licence query to just return SROC by @Cruikshanks in #43
- Bump sass from 1.56.1 to 1.56.2 by @dependabot in #47
- New billing batch record for SROC supplementary bill run by @Jozzey in #37
- Replacing classes with modules and functions by @Cruikshanks in #46
- Replacing classes with modules and functions Pt.2 by @Cruikshanks in #48
- Refactor Hapi-pino logger to clean things up by @Cruikshanks in #49
- Create event record for sroc supplementary bill run by @StuAA78 in #45
- Bump major version of sinon by @Jozzey in #52
- Fix test licences query by @Cruikshanks in #50
- Add Create Sroc Bill Run endpoint by @StuAA78 in #51
- Bump sinon from 15.0.0 to 15.0.1 by @dependabot in #55
- Add initial generic http request module by @Cruikshanks in #53
- New charge element model for SROC supplementary bill run by @Jozzey in #54
- Move /service-status to /health and tidy up by @Cruikshanks in #58
- New charge category model for SROC supplementary bill run by @Jozzey in #57
- New charge purpose model for SROC supplementary bill run by @Jozzey in #59
- Fix issue with error-pages.plugin by @Cruikshanks in #60
- Bump major version of @hapi/hoek by @Jozzey in #62
- Fix missing Objection Id columns by @Cruikshanks in #61
- Bump sass from 1.56.2 to 1.57.0 by @dependabot in #63
- Use RequestLib in InfoService by @Cruikshanks in #65
- Bump sass from 1.57.0 to 1.57.1 by @dependabot in #67
- Refactor supplementary test code by @Cruikshanks in #68
- Fix objection models by @Jozzey in #70
- Add ability to obtain Charging Module JWT token by @Cruikshanks in #69
- Update test helpers to use Objection by @Cruikshanks in #72
- Implement abstraction period query using Objection by @Jozzey in #66
- Improve model tests by @Cruikshanks in #71
- Refactor CreateEventService for bill runs by @Cruikshanks in #73
- Refactor CreateBillingBatchService by @Cruikshanks in #74
- Add user to CreateBillRunValidator by @Cruikshanks in #75
- Update "create bill run" endpoint to create a bill run by @StuAA78 in #56
- Bump @hapi/lab from 25.0.1 to 25.1.0 by @dependabot in #76
- Restructure models by type and scheme by @Cruikshanks in #78
- Bump knex from 2.3.0 to 2.4.0 by @dependabot in #80
- Rewrite the migrations to match legacy tables by @Cruikshanks in #77
- Implement Charging Module Create Bill Run Service by @StuAA78 in #84
- Bump nock from 13.2.9 to 13.3.0 by @dependabot in #86
- Make timestamps consistent at model layer by @Cruikshanks in #85
- Fix issue with dotenv in tests by @Cruikshanks in #89
- Fix event timestamps when created for bill run by @Cruikshanks in #87
- Bump @hapi/hapi from 21.1.0 to 21.2.0 by @dependabot in #88
- Request new bill run in Charging Module API by @StuAA78 in #83
- Determine if licence is 'billed' by @Jozzey in #82
- Bump knex from 2.4.0 to 2.4.1 by @dependabot in #90
- Fix invalid GOT POST req. to create CHA bill run by @Cruikshanks in https://github.com/DEFRA/water-ab...