Skip to content

Commit

Permalink
'3.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed May 20, 2024
1 parent 189e848 commit 95cdc95
Show file tree
Hide file tree
Showing 36 changed files with 1,795 additions and 1,795 deletions.
1,978 changes: 989 additions & 989 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="xe5155376b5444042">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x9df45c2431904732">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-kotlin&lt;/artifactId&gt;
&lt;version&gt;3.1.0&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xe5155376b5444042"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.1.1&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x9df45c2431904732"><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="x8b1137e598dd4dd2">implementation 'io.jooby:jooby-kotlin:3.1.0'</code><button class="clipboard" data-clipboard-target="#x8b1137e598dd4dd2"><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="xb42454f573d64d53">implementation 'io.jooby:jooby-kotlin:3.1.1'</code><button class="clipboard" data-clipboard-target="#xb42454f573d64d53"><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="x39326cb0e2784c1e">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xf19b83e0707442d">&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="#x39326cb0e2784c1e"><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="#xf19b83e0707442d"><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="xadc3ca1f5ad4a17">implementation 'io.jooby:jooby-avaje-inject:1.1.0'</code><button class="clipboard" data-clipboard-target="#xadc3ca1f5ad4a17"><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="x3b7b07ae20b4498b">implementation 'io.jooby:jooby-avaje-inject:1.1.0'</code><button class="clipboard" data-clipboard-target="#x3b7b07ae20b4498b"><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="xed07478fee13400e">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x86cc535ea15b4d48">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="#xed07478fee13400e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x86cc535ea15b4d48"><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="xa54a28c1c4c3407b">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xf99e8ff52d6a4c2e">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="#xa54a28c1c4c3407b"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xf99e8ff52d6a4c2e"><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="xd83c249497fc4980">currency = USD</code><button class="clipboard" data-clipboard-target="#xd83c249497fc4980"><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="xdf7dfbf9e29a4f36">currency = USD</code><button class="clipboard" data-clipboard-target="#xdf7dfbf9e29a4f36"><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="x7dcd49b320b64e02">@Singleton
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x8f3e8d178c524d05">@Singleton
public class BillingService {

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

}</code><button class="clipboard" data-clipboard-target="#x7dcd49b320b64e02"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x8f3e8d178c524d05"><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="xc35a95ada4944b05">@Singleton
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xf2e52142fee3475f">@Singleton
class BillingService @Inject constructor(@Named("currency") currency: String) {
...
}</code><button class="clipboard" data-clipboard-target="#xc35a95ada4944b05"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xf2e52142fee3475f"><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="xb8f8b26718f3405e">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x1e6864ed37cb4b98">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="#xb8f8b26718f3405e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x1e6864ed37cb4b98"><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="xece1092a076f4460">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x394e0734e6944519">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="#xece1092a076f4460"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x394e0734e6944519"><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="xca46288f9a7a41ed">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x1418052479114cd7">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-avaje-jsonb&lt;/artifactId&gt;
&lt;version&gt;3.1.0&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xca46288f9a7a41ed"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.1.1&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x1418052479114cd7"><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="xf451e2b37ea54dba">implementation 'io.jooby:jooby-avaje-jsonb:3.1.0'</code><button class="clipboard" data-clipboard-target="#xf451e2b37ea54dba"><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="x3f9e26e7a01d446a">implementation 'io.jooby:jooby-avaje-jsonb:3.1.1'</code><button class="clipboard" data-clipboard-target="#x3f9e26e7a01d446a"><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="xd3ea8c0609454bb8">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x3d0dbb7646544d6e">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="#xd3ea8c0609454bb8"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x3d0dbb7646544d6e"><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="xe8e5db439d0c4233">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="xf88b82b2379a4c1b">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="#xe8e5db439d0c4233"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xf88b82b2379a4c1b"><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="xb0bd2186329346d4">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xdd81fee7f02144b4">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="#xb0bd2186329346d4"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xdd81fee7f02144b4"><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="xc145b5c9b1d841a2">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="x574267408d7e4dee">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="#xc145b5c9b1d841a2"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x574267408d7e4dee"><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="xfed410efd0bb4180">import io.jooby.avaje.jsonb.AvajeJsonbModule;
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x2fcedeefbe634220">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="#xfed410efd0bb4180"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x2fcedeefbe634220"><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="xee2c0a7f1b54055">import io.jooby.avaje.jsonb.AvajeJsonbModule
<pre class="highlightjs highlight"><code class="language-kt hljs" data-lang="kt" id="xbc59735948424897">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="#xee2c0a7f1b54055"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xbc59735948424897"><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 95cdc95

Please sign in to comment.