Skip to content
Open
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
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
## 0.18.0 [Unreleased]
* Change to semver
* Move CI to gitlab

## Previous versions

`0.17` Compatible with Kotlin 1.1.3-2.
* Fix #14 - Incorrect parameter positions for collections
* Lazily set `Statement.poolable`

`0.16` Compatible with Kotlin 1.1.0.

`0.15` Compatible with Kotlin 1.0.4.
* Mapper: Support ThreadLocalSessions in Dao by creating implicit transactions (thanks @brianmadden)

`0.14` Compatible with Kotlin 1.0.4.

`0.13` Compatible with Kotlin 1.0.3.

`0.12` Compatible with Kotlin 1.0.2.
* Core: QueryBuilder
* Core: Fix collection binding when not first parameter
* Mapper: Add Dao.findByIdForUpdate

`0.11` Compatible with Kotlin 1.0.2.
* Core: Fix logging of statements with bound values containing `$`
* Core: Add experimental sqlite support
* Mapper: Support generated keys for MySQL in DAOs

`0.10` Compatible with Kotlin 1.0.2.

`0.9` Compatible with Kotlin 1.0.0.
* Mapper: add `Table.optionalCol` to construct optional types via paths

`0.8` Compatible with Kotlin 1.0.0-rc-1036.
* Mapper: support PreUpdate and PreInsert events (thanks @davemaple)
* Remove tomcat pool module as Postgres drivers now support prepared statement caching

`0.7` Compatible with Kotlin 1.0.0-beta-3595.
* Add MySQL dialect

`0.6` Compatible with Kotlin 1.0.0-beta-1038.

`0.5` Compatible with Kotlin M14.

`0.4` Compatible with Kotlin M13:
* Provide a consistent set of defaults and converters for mapping standard types
* Add defaults and converters for OffsetDateTime and ZonedDateTime

`0.3` Compatible with Kotlin M13:
* Improved docs
* Simplified transaction listeners
* Made transactions re-entrant
* Renamed ThreadLocalSession to ManagedThreadLocalSession and introduced a new ThreadLocalSession for
use without interceptors and annotations.

`0.2` Compatible with Kotlin M12, adding transactional interceptors.

`0.1` Compatible with Kotlin M11.
77 changes: 12 additions & 65 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
#### Kwery Overview
# Kwery [![Build Status](https://travis-ci.org/andrewoma/kwery.svg?branch=master)](https://travis-ci.org/andrewoma/kwery)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use our gitlab build badge instead of the old travis one


Kwery is an SQL library for Kotlin.

Kwery consists of three major modules (core, mapper and fetcher) that when combined provide similar
functionality to a traditional ORM.
Kwery is an SQL library for Kotlin. It consists of three major modules core, mapper, and fetcher which when combined provide similar
functionality to a traditional ORM.

Kwery's manifesto:
* **Your domain model is sacred.** No annotations or modifications to your model are required. Immutable models are fully supported.
* **No implicit fetching.** Joins and graph fetches are explicit for predictable performance.
* **No magic.** No proxies, interceptors, reflection or implicit saves. Explicit functions with sensible defaults control everything.
* **Useful logging.** Logged statements are valid SQL with inline parameters for your dialect.

[![Build Status](https://travis-ci.org/andrewoma/kwery.svg?branch=master)](https://travis-ci.org/andrewoma/kwery)

_Note: This fork was made due to inactivity of [andrewoma/kwery](https://github.com/andrewoma/kwery).
Credits to the original author for his work._

## Installation
Kwery is available in [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Candrewoma.kwery)
and [jcenter](https://bintray.com/bintray/jcenter/com.github.andrewoma.kwery%3Acore).

## Modules

#### Core

Expand Down Expand Up @@ -161,62 +167,6 @@ See the [readme](transactional-jersey) for more information.

Kwery is unstable. It's currently being developed for a side project, so features are added as required.

Kwery is available in [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Candrewoma.kwery)

`0.17` Compatible with Kotlin 1.1.3-2.
* Fix #14 - Incorrect parameter positions for collections
* Lazily set `Statement.poolable`

`0.16` Compatible with Kotlin 1.1.0.

`0.15` Compatible with Kotlin 1.0.4.
* Mapper: Support ThreadLocalSessions in Dao by creating implicit transactions (thanks @brianmadden)

`0.14` Compatible with Kotlin 1.0.4.

`0.13` Compatible with Kotlin 1.0.3.

`0.12` Compatible with Kotlin 1.0.2.
* Core: QueryBuilder
* Core: Fix collection binding when not first parameter
* Mapper: Add Dao.findByIdForUpdate

`0.11` Compatible with Kotlin 1.0.2.
* Core: Fix logging of statements with bound values containing `$`
* Core: Add experimental sqlite support
* Mapper: Support generated keys for MySQL in DAOs

`0.10` Compatible with Kotlin 1.0.2.

`0.9` Compatible with Kotlin 1.0.0.
* Mapper: add `Table.optionalCol` to construct optional types via paths

`0.8` Compatible with Kotlin 1.0.0-rc-1036.
* Mapper: support PreUpdate and PreInsert events (thanks @davemaple)
* Remove tomcat pool module as Postgres drivers now support prepared statement caching

`0.7` Compatible with Kotlin 1.0.0-beta-3595.
* Add MySQL dialect

`0.6` Compatible with Kotlin 1.0.0-beta-1038.

`0.5` Compatible with Kotlin M14.

`0.4` Compatible with Kotlin M13:
* Provide a consistent set of defaults and converters for mapping standard types
* Add defaults and converters for OffsetDateTime and ZonedDateTime

`0.3` Compatible with Kotlin M13:
* Improved docs
* Simplified transaction listeners
* Made transactions re-entrant
* Renamed ThreadLocalSession to ManagedThreadLocalSession and introduced a new ThreadLocalSession for
use without interceptors and annotations.

`0.2` Compatible with Kotlin M12, adding transactional interceptors.

`0.1` Compatible with Kotlin M11.

#### Building

```bash
Expand Down Expand Up @@ -262,8 +212,5 @@ Robustness/Performance:
* Soak test - check for leaking connections/resources over extended usage
* Profile array based in clauses on large tables

Misc:
* Better IDE support for highlighting inline SQL. Vote for [KT-6610](https://youtrack.jetbrains.com/issue/KT-6610)

#### License
This project is licensed under a MIT license.