Skip to content

Commit

Permalink
'3.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed Jun 18, 2024
1 parent c669d7b commit 72adcb0
Show file tree
Hide file tree
Showing 36 changed files with 1,786 additions and 1,786 deletions.
1,962 changes: 981 additions & 981 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="x88eb5eaea7164244">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xd5e421b1a0da4f8b">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-kotlin&lt;/artifactId&gt;
&lt;version&gt;3.2.0&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x88eb5eaea7164244"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.2.1&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xd5e421b1a0da4f8b"><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="x25a47a9a30934e89">implementation 'io.jooby:jooby-kotlin:3.2.0'</code><button class="clipboard" data-clipboard-target="#x25a47a9a30934e89"><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="xa7d0166e5604d58">implementation 'io.jooby:jooby-kotlin:3.2.1'</code><button class="clipboard" data-clipboard-target="#xa7d0166e5604d58"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand Down
32 changes: 16 additions & 16 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="xa41ca0490a4a49a7">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xbf549ecb7a574d5b">&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="#xa41ca0490a4a49a7"><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="#xbf549ecb7a574d5b"><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="x736300ee7c0b4e6d">implementation 'io.jooby:jooby-avaje-inject:1.1.0'</code><button class="clipboard" data-clipboard-target="#x736300ee7c0b4e6d"><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="xd0723ffdcd854923">implementation 'io.jooby:jooby-avaje-inject:1.1.0'</code><button class="clipboard" data-clipboard-target="#xd0723ffdcd854923"><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="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="x181c02b6f4e04250">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x4ffe967b42bb4ddd">public class App extends Jooby {

{
install(AvajeInjectModule.of()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -618,9 +618,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="#x181c02b6f4e04250"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x4ffe967b42bb4ddd"><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="xd795798240e5409a">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xd31c0b444112450f">fun main(args: Array&lt;String&gt;) {
runApp(args) {
install(AvajeInjectModule.of()) <i class="conum" data-value="1"></i><b>(1)</b>

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

<div class="colist arabic">
Expand All @@ -652,27 +652,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="xf9688b91a0f44cd2">currency = USD</code><button class="clipboard" data-clipboard-target="#xf9688b91a0f44cd2"><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="x1574c17ecd014d92">currency = USD</code><button class="clipboard" data-clipboard-target="#x1574c17ecd014d92"><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="x632470e724824fa7">@Singleton
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xb8779bfc2b0b4a73">@Singleton
public class BillingService {

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

}</code><button class="clipboard" data-clipboard-target="#x632470e724824fa7"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xb8779bfc2b0b4a73"><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="xd53e2ee069e749cd">@Singleton
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xd829dd88f7a04507">@Singleton
class BillingService @Inject constructor(@Named("currency") currency: String) {
...
}</code><button class="clipboard" data-clipboard-target="#xd53e2ee069e749cd"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xd829dd88f7a04507"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand All @@ -685,7 +685,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="xbe4f483ebb9b481f">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xa82f36aacaa54396">public class App extends Jooby {

{
install(AvajeInjectModule.of()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -696,15 +696,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="#xbe4f483ebb9b481f"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xa82f36aacaa54396"><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="x6371bc23885e44dc">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x45f6a2cd5ea04856">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="#x6371bc23885e44dc"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x45f6a2cd5ea04856"><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="x66e59a617ad94717">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xc26c8288e9f944d5">&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.0&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x66e59a617ad94717"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.2.1&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xc26c8288e9f944d5"><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="x9e4be4b52e5d46e4">implementation 'io.jooby:jooby-avaje-jsonb:3.2.0'</code><button class="clipboard" data-clipboard-target="#x9e4be4b52e5d46e4"><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="xc7e80255c7a4d23">implementation 'io.jooby:jooby-avaje-jsonb:3.2.1'</code><button class="clipboard" data-clipboard-target="#xc7e80255c7a4d23"><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="x650a4330b95d45ab">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xd8f9a281729f4aac">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="#x650a4330b95d45ab"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xd8f9a281729f4aac"><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="xe615b01a84d5407e">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="xc5cac7bdbc0e4a4c">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="#xe615b01a84d5407e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xc5cac7bdbc0e4a4c"><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="x8418bd98bba64bf7">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x4eee2d82b48241b1">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="#x8418bd98bba64bf7"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x4eee2d82b48241b1"><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="x8adad76300494f71">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x26be348d0ea14d4a">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="#x8adad76300494f71"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x26be348d0ea14d4a"><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="x34487fb2e4464cf2">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x92482e842a6244d2">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="#x34487fb2e4464cf2"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x92482e842a6244d2"><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="xb371892c4ed84ebc">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x1ac1d84d72e042e6">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="#xb371892c4ed84ebc"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x1ac1d84d72e042e6"><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 72adcb0

Please sign in to comment.