Skip to content

Commit

Permalink
'3.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed Jul 22, 2024
1 parent b698790 commit 308eef3
Show file tree
Hide file tree
Showing 36 changed files with 1,798 additions and 1,806 deletions.
1,996 changes: 994 additions & 1,002 deletions index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions migration/3.x/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -635,13 +635,13 @@ <h4 id="upgrading-from-2-x-to-3-x-kotlin"><a class="anchor" href="#upgrading-fro


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x8128227d7fa44b33">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xa432a7ccc6a444fa">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-kotlin&lt;/artifactId&gt;
&lt;version&gt;3.2.5&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x8128227d7fa44b33"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.2.6&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xa432a7ccc6a444fa"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="xa3542e7cb89b46c5">implementation 'io.jooby:jooby-kotlin:3.2.5'</code><button class="clipboard" data-clipboard-target="#xa3542e7cb89b46c5"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x379903914ead463a">implementation 'io.jooby:jooby-kotlin:3.2.6'</code><button class="clipboard" data-clipboard-target="#x379903914ead463a"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand Down
40 changes: 20 additions & 20 deletions modules/avaje-inject/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -588,13 +588,13 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x6836b9f54cb64920">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xbd93df0835904050">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-avaje-inject&lt;/artifactId&gt;
&lt;version&gt;1.1.0&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x6836b9f54cb64920"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xbd93df0835904050"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x459d58792c954c17">implementation 'io.jooby:jooby-avaje-inject:1.1.0'</code><button class="clipboard" data-clipboard-target="#x459d58792c954c17"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x2d34d5d547bf4071">implementation 'io.jooby:jooby-avaje-inject:1.1.0'</code><button class="clipboard" data-clipboard-target="#x2d34d5d547bf4071"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="paragraph">
Expand All @@ -604,7 +604,7 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x25cf7706288f4d51">&lt;build&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x80354a26cb1c4931">&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
Expand All @@ -621,15 +621,15 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
&lt;/configuration&gt;
&lt;/plugin&gt;
&lt;/plugins&gt;
&lt;/build&gt;</code><button class="clipboard" data-clipboard-target="#x25cf7706288f4d51"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;/build&gt;</code><button class="clipboard" data-clipboard-target="#x80354a26cb1c4931"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x71d84ae09fd4e75">plugins {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x3a673712878b4afe">plugins {
id "org.jetbrains.kotlin.kapt" version "1.9.10"
}

dependencies {
kapt 'io.avaje:avaje-inject-generator:10.0'
}</code><button class="clipboard" data-clipboard-target="#x71d84ae09fd4e75"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x3a673712878b4afe"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="paragraph">
Expand All @@ -639,7 +639,7 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
<div class="title">Installing Avaje Inject</div>

<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xf7ac1fb05dc94b63">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x7f6707939db245d1">public class App extends Jooby {

{
install(AvajeInjectModule.of()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -653,9 +653,9 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
public static void main(String[] args) {
runApp(args, App::new);
}
}</code><button class="clipboard" data-clipboard-target="#xf7ac1fb05dc94b63"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x7f6707939db245d1"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x6b9f4f79b3f420e">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x84c56521a69b4b9e">fun main(args: Array&lt;String&gt;) {
runApp(args) {
install(AvajeInjectModule.of()) <i class="conum" data-value="1"></i><b>(1)</b>

Expand All @@ -664,7 +664,7 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
service.doSomething()
}
}
}</code><button class="clipboard" data-clipboard-target="#x6b9f4f79b3f420e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x84c56521a69b4b9e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="colist arabic">
Expand All @@ -687,27 +687,27 @@ <h4 id="avaje-inject-property-injection"><a class="anchor" href="#avaje-inject-p
<div class="listingblock">
<div class="title">application.conf</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash" id="x3833f22d341f4f8a">currency = USD</code><button class="clipboard" data-clipboard-target="#x3833f22d341f4f8a"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash" id="xd397ae3a73c44c9">currency = USD</code><button class="clipboard" data-clipboard-target="#xd397ae3a73c44c9"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div>
</div>
<div class="listingblock primary">


<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x5507dd0370404cdb">@Singleton
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xe701fbfbc5754d76">@Singleton
public class BillingService {

@Inject
public BillingService(@External @Named("currency") String currency) {
...
}

}</code><button class="clipboard" data-clipboard-target="#x5507dd0370404cdb"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xe701fbfbc5754d76"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x221e611e7b3b4ba3">@Singleton
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xc8796d916c444888">@Singleton
class BillingService @Inject constructor(@External @Named("currency") currency: String) {
...
}</code><button class="clipboard" data-clipboard-target="#x221e611e7b3b4ba3"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xc8796d916c444888"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand All @@ -720,7 +720,7 @@ <h4 id="avaje-inject-mvc-routes"><a class="anchor" href="#avaje-inject-mvc-route
<div class="title">MVC and Avaje Inject</div>

<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xfc5332ef66ad4ccb">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xb7d0e27946bc4b49">public class App extends Jooby {

{
install(AvajeInjectModule.of()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -731,15 +731,15 @@ <h4 id="avaje-inject-mvc-routes"><a class="anchor" href="#avaje-inject-mvc-route
public static void main(String[] args) {
runApp(args, App::new);
}
}</code><button class="clipboard" data-clipboard-target="#xfc5332ef66ad4ccb"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xb7d0e27946bc4b49"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x397275839c53461d">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x51e708d49211455b">fun main(args: Array&lt;String&gt;) {
runApp(args) {
install(AvajeInjectModule.of()) <i class="conum" data-value="1"></i><b>(1)</b>

mvc(MyController::class) <i class="conum" data-value="2"></i><b>(2)</b>
}
}</code><button class="clipboard" data-clipboard-target="#x397275839c53461d"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x51e708d49211455b"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="colist arabic">
Expand Down
32 changes: 16 additions & 16 deletions modules/avaje-jsonb/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,13 +594,13 @@ <h3 id="avaje-jsonb-usage"><a class="anchor" href="#avaje-jsonb-usage"></a><a cl


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xcec6aa7682d94ac2">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xd1cc04d71f5f4108">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-avaje-jsonb&lt;/artifactId&gt;
&lt;version&gt;3.2.5&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xcec6aa7682d94ac2"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.2.6&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xd1cc04d71f5f4108"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x4f13891ee46840ab">implementation 'io.jooby:jooby-avaje-jsonb:3.2.5'</code><button class="clipboard" data-clipboard-target="#x4f13891ee46840ab"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x488fa9f230b849d9">implementation 'io.jooby:jooby-avaje-jsonb:3.2.6'</code><button class="clipboard" data-clipboard-target="#x488fa9f230b849d9"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="paragraph">
Expand All @@ -610,7 +610,7 @@ <h3 id="avaje-jsonb-usage"><a class="anchor" href="#avaje-jsonb-usage"></a><a cl


<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x4d46e7d0909249be">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xc87a56d21b13400b">import io.jooby.avaje.jsonb.AvajeJsonbModule;

{
install(new AvajeJsonbModule()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -624,9 +624,9 @@ <h3 id="avaje-jsonb-usage"><a class="anchor" href="#avaje-jsonb-usage"></a><a cl
MyObject myObject = ctx.body(MyObject.class); <i class="conum" data-value="3"></i><b>(3)</b>
...
});
}</code><button class="clipboard" data-clipboard-target="#x4d46e7d0909249be"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xc87a56d21b13400b"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x29862227b0a84e63">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x52b7593e6b8a4040">import io.jooby.avaje.jsonb.AvajeJsonbModule

{
install(AvajeJsonbModule()) <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -640,7 +640,7 @@ <h3 id="avaje-jsonb-usage"><a class="anchor" href="#avaje-jsonb-usage"></a><a cl
val myObject = ctx.body&lt;MyObject&gt;() <i class="conum" data-value="3"></i><b>(3)</b>
...
}
}</code><button class="clipboard" data-clipboard-target="#x29862227b0a84e63"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x52b7593e6b8a4040"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="colist arabic">
Expand Down Expand Up @@ -669,7 +669,7 @@ <h3 id="avaje-jsonb-working-with-jsonb"><a class="anchor" href="#avaje-jsonb-wor
<div class="title">Default Jsonb</div>

<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x933bb50140b74df0">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x3bbc25ebeecd4a16">import io.jooby.avaje.jsonb.AvajeJsonbModule;
import io.avaje.jsonb.Jsonb;

{
Expand All @@ -678,16 +678,16 @@ <h3 id="avaje-jsonb-working-with-jsonb"><a class="anchor" href="#avaje-jsonb-wor
Jsonb jsonb = require(Jsonb.class);

...
}</code><button class="clipboard" data-clipboard-target="#x933bb50140b74df0"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x3bbc25ebeecd4a16"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x99d229052394c15">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x4c5640a17c94400e">import io.jooby.avaje.jsonb.AvajeJsonbModule
import io.avaje.jsonb.Jsonb

{
install(JacksonModule())

val jsonb = require&lt;Jsonb&gt;()
}</code><button class="clipboard" data-clipboard-target="#x99d229052394c15"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x4c5640a17c94400e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="paragraph">
Expand All @@ -697,23 +697,23 @@ <h3 id="avaje-jsonb-working-with-jsonb"><a class="anchor" href="#avaje-jsonb-wor
<div class="title">Custom Jsonb</div>

<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xd015b17e69e64bf4">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xb80b941ff1b74047">import io.jooby.avaje.jsonb.AvajeJsonbModule;
import io.avaje.jsonb.Jsonb;

{
var jsonb = Jsonb.builder().build();

install(new AvajeJsonbModule(jsonb));
}</code><button class="clipboard" data-clipboard-target="#xd015b17e69e64bf4"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xb80b941ff1b74047"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="xd219ac379310486b">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x1cf22db890ce4208">import io.jooby.avaje.jsonb.AvajeJsonbModule
import io.avaje.jsonb.Jsonb

{
var jsonb = Jsonb.builder().build()

install(AvajeJsonbModule(jsonb))
}</code><button class="clipboard" data-clipboard-target="#xd219ac379310486b"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x1cf22db890ce4208"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand Down
Loading

0 comments on commit 308eef3

Please sign in to comment.