Releases: guardrail-dev/sbt-guardrail
Custom class names, akka-http: Custom Directive injection, akka-http: text/plain responses in servers
Custom class names, akka-http: Custom Directive injection, akka-http: text/plain responses in servers
Big update, thanks to those who contributed!
Included issues:
- guardrail-dev/guardrail#713 fix: fallback to string type for unsupported format types
- guardrail-dev/guardrail#719 fix guardrail-dev/guardrail#314: Allow custom class names for generated clients and server resources/handlers
- guardrail-dev/guardrail#747 Akka HTTP: Add option to extract arbitrary data from request and pass to handler
- guardrail-dev/guardrail#756 Fix custom classname tests
- guardrail-dev/guardrail#763 Actually fix DW resource optional collection param unwrapping
- guardrail-dev/guardrail#777 fix Java 'equals' method
- guardrail-dev/guardrail#779 Support text/plain in akka-http server responses
Support:
- guardrail-dev/guardrail#766 Collections lib terms
- guardrail-dev/guardrail#769 deprecated API fix
Updates:
- guardrail-dev/guardrail#744 Update akka-http, akka-http-testkit to 10.2.0
- guardrail-dev/guardrail#754 Update hibernate-validator to 6.1.5.Final
- guardrail-dev/guardrail#758 Update mockito-scala, ... to 1.15.0
- guardrail-dev/guardrail#760 Update scalameta, semanticdb-scalac to 4.3.21
- guardrail-dev/guardrail#761 Update dropwizard-core, dropwizard-forms, ... to 1.3.25
- guardrail-dev/guardrail#765 Update sbt-scalafix to 0.9.20
- guardrail-dev/guardrail#770 Update cats-effect to 2.2.0
- guardrail-dev/guardrail#773 Update autofix to 3.1.0.1
Contributors:
Java invalid character escaping, more consistent type/variable naming, Java models build fix (take 2)
This is a build fix for the broken 0.59.0 release. It includes all of 0.59.0's fixes:
Note that this release may contain changes to generated code that require changes to consumer code. See the MIGRATING file for details.
Included issues:
- guardrail-dev/guardrail#641 Make circe enums extend Product & Serializable
- guardrail-dev/guardrail#644 Path matcher before method matcher in Akka HTTP routes.
- guardrail-dev/guardrail#659 Escape invalid characters when used in Java identifiers
- guardrail-dev/guardrail#689 Move Shower class to framework def instead of server/client def
Supporting issues:
- guardrail-dev/guardrail#640 Scoverage coverageMininum 80.5
- guardrail-dev/guardrail#639 swagger-parser 2.0.20
- guardrail-dev/guardrail#653 Update semanticdb-scalac to 4.3.14
- guardrail-dev/guardrail#636 Update sbt-updates to 0.5.1
- guardrail-dev/guardrail#657 javaparser 3.16.1
- guardrail-dev/guardrail#658 Update sbt-scalafix to 0.9.17
- guardrail-dev/guardrail#660 Update semanticdb-scalac to 4.3.15
- guardrail-dev/guardrail#661 scala-java8-compat 0.9.1
- guardrail-dev/guardrail#662 Adding more useful documentation stubs
- guardrail-dev/guardrail#664 Making scala-steward able to update deps for unlinked *Sample projects
- guardrail-dev/guardrail#679 Update cats-effect to 2.1.3
- guardrail-dev/guardrail#678 Update atto-core to 0.6.5
- guardrail-dev/guardrail#677 Update spring-boot-starter-test, ... to 2.2.8.RELEASE
- guardrail-dev/guardrail#670 Update junit to 4.13
- guardrail-dev/guardrail#665 Update wiremock to 1.58
- guardrail-dev/guardrail#674 Update http4s-blaze-client, ... to 0.21.4
- guardrail-dev/guardrail#666 Update akka-http, akka-http-testkit to 10.0.15
- guardrail-dev/guardrail#669 Update jaxb-api to 2.2.12
- guardrail-dev/guardrail#668 Update scala-java-time to 2.0.0
- guardrail-dev/guardrail#667 Update dropwizard-core, dropwizard-forms, ... to 1.3.23
- guardrail-dev/guardrail#671 Update org.eclipse.jdt.core to 3.21.0
- guardrail-dev/guardrail#683 Update jaxb-api to 2.3.1
- guardrail-dev/guardrail#676 Update mockito-scala to 1.14.4
- guardrail-dev/guardrail#672 Update org.eclipse.equinox.app to 1.4.400
- guardrail-dev/guardrail#686 circe-generic has not been used for a long, long time
- guardrail-dev/guardrail#691 Update org.eclipse.equinox.app to 1.4.500
- guardrail-dev/guardrail#690 Update org.eclipse.jdt.core to 3.22.0
- guardrail-dev/guardrail#692 Update mockito-scala to 1.14.7
- guardrail-dev/guardrail#695 Update sbt-sonatype to 3.9.3
- guardrail-dev/guardrail#698 Add note to MIGRATING about scalafix rules
Contributors:
Java invalid character escaping, more consistent type/variable naming, Java models build fix
Note that this release may contain changes to generated code that require changes to consumer code. See the MIGRATING file for details.
Included issues:
- guardrail-dev/guardrail#641 Make circe enums extend Product & Serializable
- guardrail-dev/guardrail#644 Path matcher before method matcher in Akka HTTP routes.
- guardrail-dev/guardrail#659 Escape invalid characters when used in Java identifiers
- guardrail-dev/guardrail#689 Move Shower class to framework def instead of server/client def
Supporting issues:
- guardrail-dev/guardrail#640 Scoverage coverageMininum 80.5
- guardrail-dev/guardrail#639 swagger-parser 2.0.20
- guardrail-dev/guardrail#653 Update semanticdb-scalac to 4.3.14
- guardrail-dev/guardrail#636 Update sbt-updates to 0.5.1
- guardrail-dev/guardrail#657 javaparser 3.16.1
- guardrail-dev/guardrail#658 Update sbt-scalafix to 0.9.17
- guardrail-dev/guardrail#660 Update semanticdb-scalac to 4.3.15
- guardrail-dev/guardrail#661 scala-java8-compat 0.9.1
- guardrail-dev/guardrail#662 Adding more useful documentation stubs
- guardrail-dev/guardrail#664 Making scala-steward able to update deps for unlinked *Sample projects
- guardrail-dev/guardrail#679 Update cats-effect to 2.1.3
- guardrail-dev/guardrail#678 Update atto-core to 0.6.5
- guardrail-dev/guardrail#677 Update spring-boot-starter-test, ... to 2.2.8.RELEASE
- guardrail-dev/guardrail#670 Update junit to 4.13
- guardrail-dev/guardrail#665 Update wiremock to 1.58
- guardrail-dev/guardrail#674 Update http4s-blaze-client, ... to 0.21.4
- guardrail-dev/guardrail#666 Update akka-http, akka-http-testkit to 10.0.15
- guardrail-dev/guardrail#669 Update jaxb-api to 2.2.12
- guardrail-dev/guardrail#668 Update scala-java-time to 2.0.0
- guardrail-dev/guardrail#667 Update dropwizard-core, dropwizard-forms, ... to 1.3.23
- guardrail-dev/guardrail#671 Update org.eclipse.jdt.core to 3.21.0
- guardrail-dev/guardrail#683 Update jaxb-api to 2.3.1
- guardrail-dev/guardrail#676 Update mockito-scala to 1.14.4
- guardrail-dev/guardrail#672 Update org.eclipse.equinox.app to 1.4.400
- guardrail-dev/guardrail#686 circe-generic has not been used for a long, long time
- guardrail-dev/guardrail#691 Update org.eclipse.equinox.app to 1.4.500
- guardrail-dev/guardrail#690 Update org.eclipse.jdt.core to 3.22.0
- guardrail-dev/guardrail#692 Update mockito-scala to 1.14.7
- guardrail-dev/guardrail#695 Update sbt-sonatype to 3.9.3
- guardrail-dev/guardrail#698 Add note to MIGRATING about scalafix rules
Contributors:
Exposing optional encoding/decoding parameters
Following up on v0.58.0, adding the following options:
encodeOptionalAs = ...,
decodeOptionalAs = ...,
with the supported values: codingRequiredNullable
, codingOptional
, codingOptionalLegacy
Fix regex quoting issue in name normalizer
Fix regex quoting issue in name normalizer
Included issues:
- guardrail-dev/guardrail#655 Quoting issue
Supporting issues:
- guardrail-dev/guardrail#647 docs: fixed CLI warning
- guardrail-dev/guardrail#648 Fix typo in generating-clients.md
- guardrail-dev/guardrail#651 Update sbt to 1.3.12
- guardrail-dev/guardrail#650 Update sbt-wartremover to 2.4.9
- guardrail-dev/guardrail#646 Update sbt-scalafix to 0.9.16
Contributors:
Adding support for x-nullable for Scala clients and servers
Adding support for x-nullable for Scala clients and servers
Thanks @hanny24!
Included issues:
- guardrail-dev/guardrail#627 fix issue315 for scala
Supporting PRs:
- guardrail-dev/guardrail#631 Update scalatest to 3.1.2
- guardrail-dev/guardrail#633 Update sbt-microsites to 1.2.1
- guardrail-dev/guardrail#634 Update sbt-scalajs to 0.6.33
Contributors:
Resolving cryptic java error, adding better support for Scala Vector AddArg
Resolving cryptic java error, adding better support for Scala Vector AddArg
Included issues:
- guardrail-dev/guardrail#493 Make WrapToObject optional (Resolves "Currently not supported for java" error)
- guardrail-dev/guardrail#629 Adding List and Vector to form encoder lifters, AddArg
Supporting PRs:
- guardrail-dev/guardrail#628 Update sbt-wartremover to 2.4.8
Contributors:
[dropwizard] Fixing missing @Produces for some routes, [akka-http] Additional context for unhelpful errors
[dropwizard] Fixing missing @produces for some routes, [akka-http] Additional context for unhelpful errors
Included issues:
- guardrail-dev/guardrail#620 Fix missing Produces annotation when no 2xx response with body
- guardrail-dev/guardrail#621 Propagating tracker (#619)
Supporting PRs:
- guardrail-dev/guardrail#617 Permitting overriding CoreTermInterp members
- guardrail-dev/guardrail#618 Docs for java dropwizard
- guardrail-dev/guardrail#615 Update semanticdb-scalac to 4.3.10
Contributors:
Finishing Tagless Final migration
Finishing Tagless Final migration
Included issues:
- guardrail-dev/guardrail#610 Repackaging scala generators
- guardrail-dev/guardrail#614 Finishing switching from Free to Tagless Final
Supporting PRs:
- guardrail-dev/guardrail#461 enable code coverage
- guardrail-dev/guardrail#607 Adding codecov github action
- guardrail-dev/guardrail#608 Update sbt-microsites to 1.2.0
- guardrail-dev/guardrail#609 Update sbt-scalafix to 0.9.15
- guardrail-dev/guardrail#612 Rewriting deprecated scalafix class names
Contributors:
Major refactor from Free to Tagless Final, file rendering performance enhancements
Major refactor from Free to Tagless Final, file rendering performance enhancements
Included issues:
- guardrail-dev/guardrail#589 Re-enable logger
- guardrail-dev/guardrail#590 Removing CoreTarget
- guardrail-dev/guardrail#588 Add DW test to verify character encoding of strings
- guardrail-dev/guardrail#591 Converting Free to Tagless final (pt1)
- guardrail-dev/guardrail#592 Thread through required/nullable state
- guardrail-dev/guardrail#595 Tagless final pt2
- guardrail-dev/guardrail#597 Tagless final pt3
- guardrail-dev/guardrail#599 Add support for releasing old versions to write-release-template.sh
- guardrail-dev/guardrail#600 Rendering syntax for generated files inside Future
- guardrail-dev/guardrail#606 Conditionally enable logger
- guardrail-dev/guardrail#605 Finishing converting to Tagless Final
Supporting PRs:
- guardrail-dev/guardrail#594 Update sbt-scalafmt to 2.3.4
- guardrail-dev/guardrail#596 Update semanticdb-scalac to 4.3.8
- guardrail-dev/guardrail#598 Update sbt-scalafix to 0.9.14
- guardrail-dev/guardrail#601 Update sbt to 1.3.10
- guardrail-dev/guardrail#603 Update sbt-wartremover, wartremover to 2.4.6
- guardrail-dev/guardrail#604 Update sbt-wartremover to 2.4.7
Contributors: