Releases: codeforamerica/form-flow
0.0.14
Allowing multiple submissions per session
We now allow multiple submissions withing the same session. This does change how we access a submission id from the session.
For example, if your application has a custom fileUploader.html, you will need to make changes so that flow is accounted for when accessing data from the session. Here's a diff of what we change on the library's side.
ℹ️ More information can be found in the library readme and this slack discussion in #platform-help.
What's Changed
- Update interceptor docs to describe default behavior by @coltborg in #387
- Remove thumbnail dependency by @coltborg in #391
- Update date fieldset to use legend instead of label by @spokenbird in #388
- Use flyway plugin by @vrajmohan in #393
- Change LandmarkNotSetException to extend exception by @enyia21 in #392
- Improve check for database already existing by @vrajmohan in #397
- Update readme by @vrajmohan in #395
- Store useful attributes in the Mapped Diagnostic Context by @vrajmohan in #398
- Add dependencies for JSON formatted logs by @vrajmohan in #399
- Update javadocs 185083045 by @vrajmohan in #403
- (Fix) Extra check to not remove valid checkbox data by @analoo in #401
- Do not map incomplete iterations in subflows during PDF generation by @spokenbird in #408
- Updated AddressParts.java by @enyia21 in #405
- Add template resolver for a new location for uswds templates by @coltborg in #400
- Updated javadocs for MailgunEmailClient and EmailClient by @enyia21 in #411
- Add javadocs by @vrajmohan in #406
- Allow multiple flows w/in one session by @bseeger in #390
- Adds
postfixcapabilities to both Money and Number Inputs. by @bseeger in #416
Dependabot updates
- Bump com.mailgun:mailgun-java from 1.0.8 to 1.0.9 by @dependabot in #389
- Bump gradle/gradle-build-action from 2.8.0 to 2.9.0 by @dependabot in #396
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #404
- Bump com.google.guava:guava from 32.1.2-jre to 32.1.3-jre by @dependabot in #407
- Bump com.adarshr.test-logger from 3.2.0 to 4.0.0 by @dependabot in #409
- Bump org.flywaydb:flyway-core from 9.22.2 to 9.22.3 by @dependabot in #414
- Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.5.3 to 3.6.0 by @dependabot in #413
- Bump org.flywaydb.flyway from 9.22.1 to 9.22.3 by @dependabot in #412
New Contributors
- @vrajmohan made their first contribution in #393
Full Changelog: 0.0.13...0.0.14
0.0.13
New environment variable
If application.yaml has the property form-flow.uploads.virus-scanning.enabled set to true,
CLAMAV_URL will be required in the .env of the app.
ℹ️ More information can be found in the virus scanning section of the library readme.
Added SessionContinuityInterceptor
There is a new SessionContinuityInterceptor provided by the library.
It is only enabled when turned on with the following application property:
form-flow:
session-continuity-interceptor:
enabled: trueℹ️ More information can be found in the library readme.
What's Changed
- WIP: Create clammit av service by @bseeger in #359
- Remove properties-migrator package by @coltborg in #368
- Add virus_scanned docs by @coltborg in #373
- Apply the body color to html element by @coltborg in #374
- Update flows-config-schema.json by @spokenbird in #369
- Removes and tags from fragments that don't need them. by @bseeger in #377
- Added checkbox to the live templates and tested in LA Digital Assister by @analoo in #381
- Add xmlns 185838597 by @coltborg in #379
- Add interceptor to library by @enyia21 in #380
Dependabot updates
- Bump org.flywaydb:flyway-core from 9.21.2 to 9.22.0 by @dependabot in #367
- Bump io.github.bonigarcia:webdrivermanager from 5.5.2 to 5.5.3 by @dependabot in #371
- Bump gradle/gradle-build-action from 2.7.1 to 2.8.0 by @dependabot in #372
- Bump actions/checkout from 3 to 4 by @dependabot in #375
- Bump peter-evans/repository-dispatch from 2.1.1 to 2.1.2 by @dependabot in #376
- Bump org.flywaydb:flyway-core from 9.22.0 to 9.22.1 by @dependabot in #378
- Bump org.springframework.integration:spring-integration-ws from 6.1.2 to 6.1.3 by @dependabot in #382
- Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.5.2 to 3.5.3 by @dependabot in #383
- Bump org.projectlombok:lombok from 1.18.28 to 1.18.30 by @dependabot in #384
- Bump org.flywaydb:flyway-core from 9.22.1 to 9.22.2 by @dependabot in #385
- Bump com.google.crypto.tink:tink from 1.10.0 to 1.11.0 by @dependabot in #386
Full Changelog: 0.0.12...0.0.13
0.0.12
What's Changed
- Update PDFBox to version 3.0.0 by @coltborg in #355
- Moves the adding of the '.pdf' extension to the PdfService::generatePdfName() method by @bseeger in #360
- Checkbox fragment updates by @sree-cfa in #361
- Return early if no subflow in pdf preparer by @coltborg in #365
- Add locale to messageSource calls in controllers by @coltborg in #366
Dependabot updates
- Bump io.github.bonigarcia:webdrivermanager from 5.4.1 to 5.5.0 by @dependabot in #357
- Bump org.flywaydb:flyway-core from 9.21.1 to 9.21.2 by @dependabot in #358
- Bump org.yaml:snakeyaml from 2.1 to 2.2 by @dependabot in #362
- Bump io.github.bonigarcia:webdrivermanager from 5.5.0 to 5.5.2 by @dependabot in #363
- Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.5.1 to 3.5.2 by @dependabot in #364
Full Changelog: 0.0.11...0.0.12
0.0.11
Deprecated crossValidationAction method
If you're application is using a crossFieldValidationAction you'll need to update you're method signature now that both FormSubmission and Submission are passed to the method instead of only FormSubmission. You can see how we updated our methods in the starter app here.
What's Changed
- Add javascript to disable follow up question inputs by @coltborg in #348
- Fix cancel clearing and start investigating session cookie issue by @coltborg in #347
- updated language to help troubleshoot potential challenges by @analoo in #350
- Stop cache from keeping continue button disabled on back by @spokenbird in #349
- Bump io.spring.dependency-management from 1.1.2 to 1.1.3 by @dependabot in #346
- Bump gradle/gradle-build-action from 2.7.0 to 2.7.1 by @dependabot in #352
- Adds a section about the actuator endpoints by @bseeger in #353
- Cross field validation #185471858 by @coltborg in #354
New Contributors
Full Changelog: 0.0.10...0.0.11
0.0.10
What's Changed
- Add logging to findOrCreate by @tdooner in #341
- Bump com.google.guava:guava from 32.1.1-jre to 32.1.2-jre by @dependabot in #340
- Delete other jars when you jar by @bencalegari in #336
- Validate max file size and file count server-side by @bencalegari in #335
- Check flow exists in controller endpoints by @spokenbird in #334
- Bump org.yaml:snakeyaml from 2.0 to 2.1 by @dependabot in #343
- Updates readme to point to new script information in the starter app by @bseeger in #344
- Adds JavaScript to prevent multiple form submissions by @spokenbird in #345
Full Changelog: 0.0.9...0.0.10
0.0.9
What's Changed
- Increase release checks by @coltborg in #333
- Bump org.flywaydb:flyway-core from 9.21.0 to 9.21.1 by @dependabot in #337
- Bump gradle/gradle-build-action from 2.6.1 to 2.7.0 by @dependabot in #338
Full Changelog: 0.0.8...0.0.9
0.0.7.1
Additional logging for debugging 0.0.7
Full Changelog: 0.0.7...0.0.7.1
0.0.8
What's Changed
- Limit accepted filetypes & validate them serverside by @bencalegari and @lkemperman-cfa in #319
- Add Accessible Language Selector by @coltborg in #262
- Use non-deprecated security method by @bencalegari in #309
- Change styles to make translate button align with HC button--small by @coltborg in #311
- Add accessibility changes by @coltborg in #314
- Change language on screens by @coltborg in #312
- Adds a unit test for testing that subflow validation errors on input fields by @bseeger in #313
- Fix typo in language selector and add lang attribute by @coltborg in #320
- Fixes local test issue with chrome by @bseeger in #327
- Upgrades 'org.springframework.boot' to version '3.1.2' and flyway to 9.21.0 by @bseeger in #328
- Create get in S3CloudFileRepository and UploadController.downloadFile by @spokenbird in #280
- Change findAllBySubmissionId method on UserFileRepository to findAllBySubmission by @spokenbird in #331
- Learn how to localize 185485956 by @coltborg in #322
- Bump gradle/gradle-build-action from 2.4.2 to 2.5.1 by @dependabot in #310
- Bump io.spring.dependency-management from 1.1.0 to 1.1.1 by @dependabot in #316
- Bump gradle/gradle-build-action from 2.5.1 to 2.6.0 by @dependabot in #318
- Bump com.google.crypto.tink:tink from 1.9.0 to 1.10.0 by @dependabot in #321
- Bump io.github.bonigarcia:webdrivermanager from 5.4.0 to 5.4.1 by @dependabot in #323
- Bump gradle/gradle-build-action from 2.6.0 to 2.6.1 by @dependabot in #329
- Bump org.junit.jupiter:junit-jupiter from 5.9.3 to 5.10.0 by @dependabot in #330
Full Changelog: 0.0.7...0.0.8
0.0.7
What's Changed
- add plugin to build.gradle by @lkemperman-cfa in #273
- Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.5.0 to 3.5.1 by @dependabot in #274
- Added details about errors and alternative email service. by @enyia21 in #276
- Fixes updated_at usage by @bseeger in #272
- Update the application to requireTls by default by @enyia21 in #277
- bumps gradle spring boot plugin version by @bseeger in #275
- Bump com.smartystreets.api:smartystreets-java-sdk from 3.13.15 to 3.13.19 by @dependabot in #281
- Bump net.coobird:thumbnailator from 0.4.19 to 0.4.20 by @dependabot in #287
- Bump com.google.guava:guava from 32.0.1-jre to 32.1.1-jre by @dependabot in #305
- Bump org.apache.pdfbox:pdfbox from 2.0.28 to 2.0.29 by @dependabot in #304
- Bump gradle/gradle-build-action from 2.4.2 to 2.5.1 by @dependabot in #303
- Adds journey test for address validation in a subflow by @bseeger in #306
- Fixes error in subflow where form submission data was not merged correctly by @bseeger in #307
- Automate releases [#185136763] by @bencalegari in #236
- Bump com.smartystreets.api:smartystreets-java-sdk from 3.13.19 to 3.14.0 by @dependabot in #308
Full Changelog: 0.0.6...0.0.7
0.0.6
What's Changed
Full Changelog: 0.0.5...0.0.6