Skip to content

Releases: locomotivemtl/charcoal-object

charcoal-object 0.8.1

30 Jan 18:18
0.8.1
cfead6c
Compare
Choose a tag to compare

Complete commits list: 0.8.0.1...0.8.1

Summary:

  • Improve Hierarchical mixin:

    • Added method hasMasterObject().
    • Added methods loadHierarchy() and loadSiblings().
  • Fix missing orphaned descendants in HierarchicalCollection:

    When collection is displayed on one page, orphaned descendants should be displayed.

    Previously, they were only displayed in pagination was enabled.

  • Fix bad hierarchy repair in HierarchicalCollection:

    • Set master to null instead of 0.
  • Filter argument of HierarchicalTrait::setMaster():

    • Fix edge case where hasMaster() compares 0 to null.
    • Reset masterObject when master changes to avoid conflicts.

charcoal-object 0.8.0

27 Nov 20:39
bdfc56d
Compare
Choose a tag to compare

Summary

  • fix hierarchical-trait master object loading
  • move the loading of a master object to its own function to prevent hasty object load and allow access to the actual master object's id without the need to load it first

BREAKING: the master method now returns the master ID and masterObject returns the actual object

charcoal-object 0.7.4

02 Mar 23:32
Compare
Choose a tag to compare

Complete commits list: 0.7.3.1...0.7.4

Summary:

  • Changed internals on ObjectRevision to skip database lookup if missing
  • Changed revUser property on ObjectRevision to support Admin users

charcoal-object 0.7.3

02 Mar 23:32
Compare
Choose a tag to compare

Complete commits list: 0.7.2...0.7.3

Summary:

charcoal-object 0.7.2

02 Mar 23:32
Compare
Choose a tag to compare

Complete commits list: 0.7.1.5...0.7.2

Summary:

  • Added alias for RoutableTrait::objectRouteClass()
  • Added get method prefix on ObjectRevision methods
  • Fixed ArrayAccess syntax for ObjectRoute
  • Fixed alias for CategoryTrait::categoryItemType() method

charcoal-object 0.7.1

01 Aug 15:44
Compare
Choose a tag to compare

Missing ArrayAccess in Content and Routable.
Legacy support for categoryItemType()

charcoal-object 0.7.0

24 Jul 15:06
Compare
Choose a tag to compare

MAJOR BREAKING

This version of charcoal-object uses the latest changes to charcoal-config (0.10.0) which allows Model getters to use getFoo() instead of foo().

The best way to ensure code compatibility is to use the standard ArrayAccess getters instead of calling the method.

charcoal-object 0.6..2.1

24 Jul 12:21
Compare
Choose a tag to compare

Validate json files with jsonlint.

charcoal-object 0.6.2

19 Jul 13:09
Compare
Choose a tag to compare
  • Default metadata for Content
  • Order categorizable's "category" by position by default
  • Add a non-storable numCategoryItems property on Category

charcoal-object 0.6.0

05 Jun 15:25
Compare
Choose a tag to compare