Releases: codeforamerica/form-flow
1.1.0
Breaking Change ⚠️
The Pull request that changes java.util.Date
to OffsetDateTime
class will break any methods in your form-flow
applications that expect Date
objects, i.e. calls to getSubmittedAt()
. Those methods now return OffsetDateTime
objects. An example of a code change triggered by theOffsetDateTime
pull request can be found here.
What's Changed
- Use OffsetDateTime instead of java.util.Date by @vrajmohan in #471
- only check pattern if value is not null by @analoo in #469
- Remove TODOs 186571893 by @vrajmohan in #467
- Update the README submission locking section by @spokenbird in #477
Dependency Updates
- Bump com.google.guava:guava from 32.1.3-jre to 33.0.0-jre by @dependabot in #474
- Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.6.1 to 3.7.0 by @dependabot in #473
- Bump gradle/gradle-build-action from 2.10.0 to 2.11.0 by @dependabot in #472
- Bump com.mailgun:mailgun-java from 1.1.0 to 1.1.1 by @dependabot in #470
- Bump org.springframework.integration:spring-integration-ws from 6.2.0 to 6.2.1 by @dependabot in #475
- Bump gradle/gradle-build-action from 2.11.0 to 2.11.1 by @dependabot in #478
- Bump com.github.librepdf:openpdf from 1.3.34 to 1.3.35 by @dependabot in #479
- Bump org.jsoup:jsoup from 1.17.1 to 1.17.2 by @dependabot in #480
- Bump io.github.bonigarcia:webdrivermanager from 5.6.2 to 5.6.3 by @dependabot in #481
Full Changelog: 1.0.0...1.1.0
1.0.0
What's Changed
- Update Library README ahead of MVP release by @spokenbird in #459
- Adding javadocs to some classes by @coltborg in #463 and @vrajmohan in #466
Dependabot changes
- Bump com.google.crypto.tink:tink from 1.11.0 to 1.12.0 by @dependabot in #465
- Bump com.github.librepdf:openpdf from 1.3.33 to 1.3.34 by @dependabot in #468
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.3 to 5.3 by @dependabot in #464
Full Changelog: 0.0.17...1.0.0
0.1.0
This was a test
This will be the same release as 1.0.0
. We used this number to test some infrastructure.
What's Changed
- Update Library README ahead of MVP release by @spokenbird in #459
- Adding javadocs to some classes by @coltborg in #463 and @vrajmohan in #466
Dependabot changes
- Bump com.google.crypto.tink:tink from 1.11.0 to 1.12.0 by @dependabot in #465
- Bump com.github.librepdf:openpdf from 1.3.33 to 1.3.34 by @dependabot in #468
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.3 to 5.3 by @dependabot in #464
Full Changelog: 0.0.17...0.1.0
0.0.17
Fix OpenPDF font location for linux distributions
We added a configuration to specify where pdf fonts are located and steps to include them with a dockerfile.
ℹ️ More information can be found in the library readme.
What's Changed
- Load font files from configured location by @vrajmohan in #460
- Fix readme by @vrajmohan in #458
Dependabot updates
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.2.3 by @dependabot in #461
- Bump actions/setup-java from 3 to 4 by @dependabot in #462
Full Changelog: 0.0.16...0.0.17
0.0.16
Moving from PDFBox to OpenPDF
We moved to using OpenPDF to create PDFs. We recommend you add Noto fonts to your application's resources/pdf-fonts
to enable wide character support.
ℹ️ More information can be found in the library readme.
Add ability to lock a submission after it is submitted
You can now enable the locking of a submission after it has been submitted, for example:
form-flow:
lock-after-submitted:
- flow: ubi
redirect: success
ℹ️ More information can be found in the library readme.
Bugs fixed
- DB fields in the
pdf-map.yaml
are now optional, as they were intended to be. - Removed JPA DDL schemas as we want Flyway to full control the creation of schemas.
What's Changed
- Add secure and httpresponse headers by @enyia21 in #419
- Changes SecurityConfiguration -> SecurityConfigurationBase to avoid naming conflicts by @bseeger in #436
- Fixes aspect ratio scaling for small house icon by @spokenbird in #435
- Add a test for going from a regular POST into a subflow by @spokenbird in #425
- Add documentation for USWDS Gradle tasks by @coltborg in #443
- Pin flyway to 9.x versions by @vrajmohan in #446
- Remove JPA DDL schema creation 186402340 by @vrajmohan in #448
- Updates fragments with tweaks from LA projects by @bseeger in #434
- Do not require DB fields in pdf-map by @spokenbird in #449
- Create configuration for locking the Submission for a flow after it is submitted by @spokenbird in #437
- Switch to openpdf 186505365 by @vrajmohan in #454
Dependabot updates
- Bump org.jsoup:jsoup from 1.16.2 to 1.17.1 by @dependabot in #452
- Bump io.github.bonigarcia:webdrivermanager from 5.6.0 to 5.6.1 by @dependabot in #432
- Bump org.junit.jupiter:junit-jupiter from 5.10.0 to 5.10.1 by @dependabot in #433
- Bump io.github.bonigarcia:webdrivermanager from 5.6.1 to 5.6.2 by @dependabot in #438
- Bump com.smartystreets.api:smartystreets-java-sdk from 3.14.1 to 3.15.0 by @dependabot in #439
- Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.6.0 to 3.6.1 by @dependabot in #440
- Bump io.spring.dependency-management from 1.1.3 to 1.1.4 by @dependabot in #441
- Bump com.smartystreets.api:smartystreets-java-sdk from 3.15.0 to 3.15.2 by @dependabot in #445
- Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 by @dependabot in #447
- Bump org.springframework.integration:spring-integration-ws from 6.1.4 to 6.2.0 by @dependabot in #450
- Bump gradle/gradle-build-action from 2.9.0 to 2.10.0 by @dependabot in #453
- Bump com.smartystreets.api:smartystreets-java-sdk from 3.15.2 to 3.16.1 by @dependabot in #457
Full Changelog: 0.0.15...0.0.16
0.0.15
Disable Flows and bug fix for incomplete subflow iterations
Subflow iterations are now consistently marked complete for both GET and POST screen endpoints by using logic in the navigation
endpoint. Users will no longer see an issue backing up into a subflow and seeing data get lost or altered. Flows can also now use GET pages within subflows more reliably.
Enabling/Disabling of a flow can now be controlled by the application config, see the README and starter app for instructions and examples.
An enhancement has been added to support doc types in a document uploader flow, although it is not currently in use.
What's Changed
- Updates
iterationIsComplete
status by @bseeger in #410 - Add method to user file map by @bseeger in #421
- Fixes a flow issue where navigation went to the wrong spot. by @bseeger in #423
- Adding icons from design library and fixing clip id conflict by @sree-cfa in #427
- Add Ability to Disable a flow by @mpidcock in #422
- Add default disabled flow screen by @spokenbird in #429
- Adds migration and column for
doc_type_label
and fixes virus scanning logic by @lkemperman-cfa in #424
Dependabot updates
- Bump com.squareup.okhttp3:mockwebserver from 4.11.0 to 4.12.0 by @dependabot in #415
- Bump org.springframework.integration:spring-integration-ws from 6.1.3 to 6.1.4 by @dependabot in #417
- Bump org.jsoup:jsoup from 1.16.1 to 1.16.2 by @dependabot in #418
- Bump com.mailgun:mailgun-java from 1.0.9 to 1.1.0 by @dependabot in #420
- Bump com.smartystreets.api:smartystreets-java-sdk from 3.14.0 to 3.14.1 by @dependabot in #426
- Bump io.github.bonigarcia:webdrivermanager from 5.5.3 to 5.6.0 by @dependabot in #428
- Bump org.flywaydb.flyway from 9.22.3 to 10.0.0 by @dependabot in #430
Full Changelog: 0.0.14...0.0.15
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
postfix
capabilities 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