Skip to content

Commit e6428de

Browse files
committed
no-jira: bump version to 0.12.1; update CHANGELOG
1 parent 9c624ba commit e6428de

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44

55
Note: 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

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
declare_schema (0.12.0)
4+
declare_schema (0.12.1)
55
rails (>= 4.2)
66

77
GEM

lib/declare_schema/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module DeclareSchema
4-
VERSION = "0.12.0"
4+
VERSION = "0.12.1"
55
end

0 commit comments

Comments
 (0)