Skip to content

Releases: codeforamerica/form-flow

1.3.0

19 Mar 01:01
1040d27
Compare
Choose a tag to compare

Updated Honeycrisp to v0.13.1.

Reveal component

As part of an a11y fix, reveal components have a different class name. References to reveal__link should be replaced with reveal__button

Checkbox sets with a "none of the above" option

Updated this component to allow for multiple checkboxFieldsets on a single page where at least one of the checkboxes has a "none of the above" option which un-selects other options in the checkbox set if it is selected. References to single id=none__checkbox should be updated to include the inputName id=none__checkbox-inputName

What's Changed

Dependency Updates

  • Bump com.mailgun:mailgun-java from 1.1.2 to 1.1.3 by @dependabot in #525
  • Bump com.smartystreets.api:smartystreets-java-sdk from 3.16.1 to 3.16.2 by @dependabot in
  • Bump com.github.librepdf:openpdf from 2.0.0 to 2.0.1 by @dependabot in #526
  • Bump com.smartystreets.api:smartystreets-java-sdk from 3.16.2 to 3.16.3 by @dependabot in #528

Full Changelog: 1.2.0...1.3.0

1.2.0

27 Feb 17:58
f0b366e
Compare
Choose a tag to compare

Update Spring

We updated to spring 3.2.2, you may have to copy the version overrides in your project's build.gradle:

// In `build.gradle`
plugins {
+  id 'org.springframework.boot' version '3.2.2'
}

+ implementation 'io.hypersistence:hypersistence-utils-hibernate-63:3.7.3'

What's Changed

  • Adding "condition" logic at the screen level by @sree-cfa in #500
  • Adding param to screens fragments 🍖 by @sree-cfa in #518
  • Fix default value of show-stack-trace to false by @coltborg in #521

Dependency Updates

  • Updating for spring 3.2.2 compatibility by @sree-cfa in #493
  • Bump gradle/gradle-build-action from 3.0.0 to 3.1.0 by @dependabot in #514
  • Bump io.github.bonigarcia:webdrivermanager from 5.6.3 to 5.6.4 by @dependabot in #517
  • Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.7.2 to 3.7.3 by @dependabot in #516
  • Bump io.github.bonigarcia:webdrivermanager from 5.6.4 to 5.7.0 by @dependabot in #519
  • Bump com.github.librepdf:openpdf from 1.3.40 to 2.0.0 by @dependabot in #515
  • Bump org.springframework.integration:spring-integration-ws from 6.2.1 to 6.2.2 by @dependabot in #520

Full Changelog: 1.1.1...1.2.0

1.1.1

15 Feb 22:08
a43f634
Compare
Choose a tag to compare

What's Changed

Dependency Updates

  • Bump com.github.librepdf:openpdf from 1.3.35 to 1.3.38 by @dependabot in #486
  • Bump com.github.librepdf:openpdf from 1.3.38 to 1.3.39 by @dependabot in #489
  • Bump actions/cache from 3 to 4 by @dependabot in #488
  • Bump org.apache.httpcomponents.client5:httpclient5 from 5.3 to 5.3.1 by @dependabot in #492
  • Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.7.0 to 3.7.1 by @dependabot in #499
  • Bump peter-evans/repository-dispatch from 2.1.2 to 3.0.0 by @dependabot in #496
  • Bump gradle/gradle-build-action from 2.11.1 to 2.12.0 by @dependabot in #497
  • Bump gradle/gradle-build-action from 2.12.0 to 3.0.0 by @dependabot in #506
  • Bump io.hypersistence:hypersistence-utils-hibernate-60 from 3.7.1 to 3.7.2 by @dependabot in #507
  • Bump org.junit.jupiter:junit-jupiter from 5.10.1 to 5.10.2 by @dependabot in #505
  • Bump com.mailgun:mailgun-java from 1.1.1 to 1.1.2 by @dependabot in #503
  • Bump com.github.librepdf:openpdf from 1.3.39 to 1.3.40 by @dependabot in #509

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

09 Jan 14:50
c7cb8fa
Compare
Choose a tag to compare

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

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

12 Dec 23:25
Compare
Choose a tag to compare

What's Changed

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

12 Dec 20:40
2f66fb9
Compare
Choose a tag to compare

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

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

05 Dec 23:10
d438d31
Compare
Choose a tag to compare

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

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

30 Nov 18:56
Compare
Choose a tag to compare

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

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

02 Nov 21:52
5ca8004
Compare
Choose a tag to compare

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

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

17 Oct 17:53
Compare
Choose a tag to compare

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

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

Full Changelog: 0.0.13...0.0.14