Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare version 0.14.0 #173

Merged
merged 2 commits into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading