File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44
55Note: this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 0.12.1] - 2021-05-10
8+ ### Fixed
9+ - When an ` enum ` type field is declared, there is now enforcement that its ` limit: ` must be an array of 1 or more Symbols,
10+ and its ` default: ` --if given--must be a Symbol or ` nil ` .
11+
712## [ 0.12.0] - 2021-04-28
813### Added
914- ` belongs_to ` now always infers the ` limit: ` of the foreign key to match that of the primary key it points to.
@@ -174,6 +179,7 @@ using the appropriate Rails configuration attributes.
174179### Added
175180- Initial version from https://github.com/Invoca/hobo_fields v4.1.0.
176181
182+ [ 0.12.1 ] : https://github.com/Invoca/declare_schema/compare/v0.12.0...v0.12.1
177183[ 0.12.0 ] : https://github.com/Invoca/declare_schema/compare/v0.11.1...v0.12.0
178184[ 0.11.1 ] : https://github.com/Invoca/declare_schema/compare/v0.11.0...v0.11.1
179185[ 0.11.0 ] : https://github.com/Invoca/declare_schema/compare/v0.10.1...v0.11.0
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- declare_schema (0.12.0 )
4+ declare_schema (0.12.1 )
55 rails (>= 4.2 )
66
77GEM
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module DeclareSchema
4- VERSION = "0.12.0 "
4+ VERSION = "0.12.1 "
55end
You can’t perform that action at this time.
0 commit comments