Metabase Toucan Versions Save

A classy high-level Clojure library for defining application models and retrieving them from a DB

1.18.0

2 years ago
  • Model resolution now remembers where existing models were defined rather than using root-model-namespace -- this makes it easier to define multiple models in the same namespace or in namespaces that don't follow the root-model-namespace convention (#91, credit @dpsutton)

1.17.0

2 years ago
  • Fix #70 (credit: @marksto)
  • Fix #88 (credit: @marksto)

1.16.0

2 years ago
  • Add tests for byte array PK (#65)
  • Support type-fns for PK fields (#87)
  • with-temp should respect custom primary key (#86)

1.15.4

3 years ago
  • reducible-query/select-reducible should merge default JDBC options (#78)
  • Bump HoneySQL version to 1.0.461 (#79)

1.15.1

4 years ago
  • Always default identifiers to locale-aware lower-case -- fixes an issue with Turkish (#74) (Credit: @walterl)

1.15.0

4 years ago
  • defmodel now uses Potemkin's defrecord+ to define corresponding record types rather than clojure.core/defrecord. This macro works similarly to vanilla defrecord but does not redefine the class if the body of the defrecord form has not changed since its initial definition. This fixes many annoyances in REPL-based development where reloading a namespace defining a Toucan model would require reloading any namespaces that referred to the resulting class directly, e.g. for class-based dispatch in interfaces, protocols, or multimethods. (#69)

1.14.1

4 years ago
  • Updated dependencies (#68)

1.14.0

4 years ago
  • Updated dependencies.
  • *transaction-connection* is now public (#61)
  • Default JDBC options passed to low-level jdbc/query and jdbc/execute! are now configurable by calling toucan.db/set-default-jdbc-options! (#60, #63)

1.13.0

4 years ago
  • Fix issues when user locale is Turkish (#59)

1.12.0

5 years ago
  • Fix issues caused by model-finding code in certain situations (#55) (Credit: @plexus)
  • Bump org.clojure/java.jdbc dependency (#57)