Skip to content

Commit

Permalink
Prepare version 0.14.0 (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpasipanodya authored Jun 22, 2024
1 parent 9eeee1f commit 88d13fc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# 0.14.0

* Make the thread local `CurrentTenantId` accessible to consumers of this library.
* Bump jvm from 1.9.21 to 2.0.0 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/170
* Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.16.0 to 2.17.1 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/169
* Bump org.junit:junit-bom from 5.10.1 to 5.10.2 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/166
* Bump org.jetbrains.dokka from 1.9.10 to 1.9.20 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/168
* Bump org.postgresql:postgresql from 42.7.0 to 42.7.3 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/171
* Bump org.slf4j:slf4j-simple from 2.0.9 to 2.0.13 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/167
* Bump com.fasterxml.jackson.module:jackson-module-kotlin from 2.16.0 to 2.17.1 by @dependabot in https://github.com/tpasipanodya/exposed-extensions/pull/172

# 0.13.0

- `exposed` version `0.10.0`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A collection of extensions for [Exposed](https://github.com/tpasipanodya/Exposed

## How to Use
```kotlin
implementation("io.taff:exposed-extensions:0.13.0")
implementation("io.taff:exposed-extensions:0.14.0")
```

Using logical tenant isolation as an example:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "io.taff"
version = "0.13.0${ if (isReleaseBuild()) "" else "-SNAPSHOT" }"
version = "0.14.0${ if (isReleaseBuild()) "" else "-SNAPSHOT" }"
java.sourceCompatibility = JavaVersion.VERSION_20

repositories {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/io/taff/exposed/extensions/Functions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package io.taff.exposed.extensions
import kotlinx.coroutines.asContextElement

/** The current tenant's id */
internal var CurrentTenantId = ThreadLocal<Any>()
val CurrentTenantId = ThreadLocal<Any>()

fun <ID> currentTenantId() = CurrentTenantId.get() as ID

Expand Down

0 comments on commit 88d13fc

Please sign in to comment.