Happy to share a prerelease of the upcoming guardrail 1.0.0, available via `sbt-guardrail` 1.0.0-SNAPSHOT`. The biggest change is stabilization of the internal ABI between guardrail core and various modules, as well as opt-in dependency on module providers. [1/3]
Previously, every change to any module would roll up into a single version number, now the wonderful scala steward can keep you up to date with only changes relevant to your project. Also in this snapshot is a preview of proper support for `oneOf`, please give it a try! [2/3]
1
69
Finally, we've also released an initial version of `guardrail-scala-pekko-http`, 0.1.0-SNAPSHOT, which is feature compatible with the latest version of the guardrail-scala-akka-http module. You can take a look at github.com/guardrail-dev/gua… for an example of how to try it out!
69
guardrail retweeted
For those interested, I've just published an initial version of guardrail-scala-pekko-http. If you'd like to try it out, it's available via SNAPSHOTs, instructions here: github.com/guardrail-dev/gua… .
It should have equivalent functionality to the most recent akka-http release.
guardrail retweeted
Join the talk by @blast_hardchese at #FunctionalScala2023 and learn about server & client code generation, prod-like server mocks for testing, and managing spec changes using #sbt and #Guardrail. 🔥 See you there! #Scala
🎟️ Register at functionalscala.com/
While guardrail has had support for @http4s code generation since 0.38.x (Thanks again to @WixEng!) we just got proper documentation for it (Thanks, @twilio!) New documentation can be found here: guardrail.dev/scala/http4s/
guardrail retweeted
Slides from tonight’s presentation:
Guardrail state of the union
speakerdeck.com/sullis/guard…
New GitHub organization, with @scala_lang #http4s, #zio, and @java #SpringMVC sample projects! github.com/guardrail-dev
guardrail retweeted
Wrote a small example of generating the routing layer for, and then implementing, a server with #http4s, #zio, and @guardrail_dev: github.com/blast-hardcheese/… #Scala
We're happy to announce 0.59.0! This change comes with a small syntax change for Scala codebases: The `respond` object type is no longer special-cased.Release notes (and a scalafix rule!) here: github.com/twilio/guardrail/… As always, thanks to @twilio for supporting #FOSS #opensource!
Announcing some excellent work from @avast_antivirus in 0.58.0, adding support for differentiating presence vs nullability, via x-nullable! Check out the release notes here: github.com/twilio/guardrail/…
guardrail retweeted
Gonna stream for a bit on a follow-up to github.com/twilio/guardrail/… in around 1hr, give or take 30 minutes. It won't be a super long stream, but I'm hoping to knock out some incorrect assumptions that were silently injecting "String" in places they shouldn't. twitch.tv/bhardcheese
0.57.1-0.57.4 included some pretty significant performance enhancements to the code generator itself, as well as some bugfixes. In our tests we saw as much as a 50% reduction total time to run on extremely large specifications!Check out the release notes: github.com/twilio/guardrail/…
0.57.0 added support for `format: bytes`, as well as fixing some bugs in the Dropwizard server generator! Release notes: github.com/twilio/guardrail/…
2
Some great releases that didn't get called out on this account, 0.56.0 added Spring MVC server generation, thanks to the excellent work from github.com/head-thrash ! Release notes: github.com/twilio/guardrail/…
Interested in hearing from folk that have been silently suffering with long codegen phases!
Pretty pleased with this trend, if I'm honest: github.com/twilio/guardrail/…
1
guardrail retweeted
Short notice, but I'm starting a new @Twitch stream series, on the innards of @guardrail_code. Today, I'll be talking about IndexedFunctor and Tracker[_], techniques for safely traversing Java-idiomatic POJOs. Join me in about 15m at twitch.tv/bhardcheese #scala #oss @twilio
guardrail retweeted
Planning on doing another livestream, hacking on the guardrail codebase -- this time, attempting to merge the two main effect monads, Target and CoreTarget. I'll get started in two to three hours here: twitch.tv/bhardcheese















