Skip to content

Releases: kimmelsg/cj-temporal-models

1.0.7

16 Nov 15:31
Compare
Choose a tag to compare
Merge branch 'develop' of github.com:navjobs/temporal-models into dev…

Fixing a bug with scheduling conflicts

19 Jan 13:47
Compare
Choose a tag to compare

Prevent the endOrDelete method (which is called from the deleting observer) from dropping back into the model observer when it updates.

05 Jan 15:08
Compare
Choose a tag to compare

If a temporal object should be ended instead of deleted, the end date update was actually being called on the object. This would cause the object to drop back into the updating observer which could get stuck in a loop. Now we are just doing the end date update on a query builder so that it does not trigger the event again.

Can look at cleaning this code up in the future.

Properly pass through the observer when a conflict is being resolved.

05 Jan 14:42
Compare
Choose a tag to compare

We were calling delete on the query builder which was ignoring the observer.

Fixing a bug with checking the primary key when it does not yet exist.

05 Jan 14:26
Compare
Choose a tag to compare
1.0.3

We should only be limiting by the primaryKey when the object has one …

Fixing a bug with removing scheduling conflicts.

05 Jan 13:51
Compare
Choose a tag to compare

The removal was being too greedy and getting rid of everything that was scheduled. Now it is more reasonable and only removes the ones that are actually conflicting.

5 second buffer to not in the past check.

25 Oct 20:53
Compare
Choose a tag to compare

Adding a small tolerance to the check that makes sure the valid_start is not in the past. This will prevent latency from causing an exception to be thrown.

Version 1.0

25 Oct 19:42
Compare
Choose a tag to compare
1.0.0

Removing incorrect property visibility.