CHANGELOG.md in dbee-1.2.1 vs CHANGELOG.md in dbee-2.0.0.pre.alpha
- old
+ new
@@ -1,56 +1,72 @@
+# 2.0.0 (September 3rd, 2019)
+
+### Additions:
+
+* New DSL method for declaring child associations: `child`.
+* New DSL method for declaring parent associations: `parent`.
+* Added global inflection using Dry::Inflector, can be overridden using Dbee.inflector = Dry::Inflector.new # or some other instance.
+
+### Breaking changes:
+
+Inflection was introduced with this release and hence changes some of the default naming inference behavior:
+
+* Table name is now inferred to be the pluralized and de-modulized class name (unless explicitly declared.)
+* Top level root model name is inferred to be the underscored and de-modulized class name.
+* Model is now inferred to be the relative, singular, and camelized association name (unless explicitly declared.)
+
# 1.2.1 (September 1st, 2019)
-Fixes:
+### Fixes:
* Dbee::Base table name should default to the most-parent table name (if none are explicitly defined.) Overriding still takes most child sub-class precedence.
# 1.2.0 (August 29th, 2019)
-Additions:
+### Additions:
* Added partitioners to a model specification. A Partitioner is essentially a way of explicitly specifying that a data model must meet a specific equality for a column.
-Changes:
+### Changes:
* Model#ancestors renamed to Model#ancestors!
* Model#ancestor now returns a hash where the key is an array of strings and not just a pre-concatenated string.
# 1.1.0 (August 28th, 2019)
-Additions:
+### Additions:
* Added better equality and sort methods for Ruby objects (added class type checks where needed.)
-Changes:
+### Changes:
* Removed Sorter in favor of Sorter subclasses.
* Duplicate filters and sorters will be ignored in a Query.
# 1.0.3 (August 27th, 2019)
-Additions:
+### Additions:
* Added 'parent' keyword for static constraints. This makes it possible to have a static constraint apply to a parent and not just a child relationship.
# 1.0.2 (August 26th, 2019)
-Fixes:
+### Fixes:
* Dbee::Base subclasses can now support cycles to N-depth, where N is limited by the Query. The recursion will go as far as the Query specifies it has to go.
-Additions:
+### Additions:
* Equals filter is now the default type when type is omitted.
* model can now be a string so it can be lazy evaluated at run-time instead of at script evaluation time.
# 1.0.1 (August 26th, 2019)
-Fixes:
+### Fixes:
* Dbee::Base subclasses can now declare self-referential associations. Note that it will stop the hierarchy once the cycle is detected.
-Additions:
+### Additions:
* Static constraint is now the default type when type is omitted.
# 1.0.0 (August 22nd, 2019)