All Versions
36
Latest Version
Avg Release Cycle
49 days
Latest Release
1754 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.5.3 Changes
April 23, 2017- โฌ๏ธ bump crystal db version for crystal 0.22.0
-
v0.5.2 Changes
April 18, 2017- ๐ critical bug preventing database connection from being pooled
-
v0.5.1 Changes
April 13, 2017- ๐ fixed Repo - timezone issue @metacortex
- ๐ SMALLINT support (postgres and mysql)
- can use
String
type as primary key
-
v0.5.0 Changes
April 04, 2017- ๐ fixed but preventing updating of nil or false values - @Zhomart
- (breaking change) changed usage of Repo. Repo is now user defined and is where database configuration is set.
- dependent options:
dependent: :delete
,dependent: :nullify
- โ added repo.confi uri option for faster configuration or configuring through a single ENV variable
-
v0.4.4 Changes
March 24, 2017- ๐ฎ force all Int type fields to
PkeyValue
- Sqlite3 adapter - @Zhomart
- ๐ฎ force all Int type fields to
-
v0.4.3 Changes
March 21, 2017- โก๏ธ update to crystal-db 0.4.0
-
v0.4.2 Changes
March 21, 2017- โ added validate_length with array parameter @metacortex
- ๐ supports IS NULL in .where query -
.where(name: nil)
- ๐จ schema refactor
- (breaking change) added
#get!
and#get_by
to Repo.#get
and#get_by
will return nil if no record exists (nilable), where#get!
and#get_by
will raise an errorif no record exists (not nilable) - using
belongs_to
association will auto set the foreign key (belongs_to :user, User
will assumefield :user_id, PkeyValue
)
-
v0.4.1 Changes
March 14, 2017- ๐จ
BaseAdapter
database adapters refactor #distinct
queries- 'Json' field type (postgres only)
- ๐ฒ Database logging
- travis runs postgres AND mysql specs / adapter query specs @neovintage
- ๐ Fix to support unstrict schema mapping (#41) @huacnlee
- ๐ Fix empty preloads @huacnlee
- ๐จ
-
v0.4.0 Changes
February 26, 2017Repo.get
now raisesNoResults
error if no record is found- MULTI + TRANSACTIONS!
-
v0.3.5 Changes
February 21, 2017Repo#aggregate
methodshas_one
relation type- โ added explicit
require "json"
- โก๏ธ
update_all
method override to allow for named tuples