Skip to content

Releases: louiss0/forastro

Release @forastro/utilities 4.3.8

13 Dec 01:09
Compare
Choose a tag to compare

Fixed

  • Type for getCollections to represent real overload for it uses EntryIsNotADraft
    instead of CollectionEntry.

Release @forastro/utilities 4.3.7

04 Dec 21:40
Compare
Choose a tag to compare

Fixed

  • If <Projector/> doesn't render a default slot it won't throw an error.

Release @forastro/utilities 4.3.5

03 Dec 23:53
Compare
Choose a tag to compare

Fixed

  • Make sure the executeIfElse() checks if the object is one with only if else options.
    and the other two functions don't exist.

Release @forastro/utilities 4.3.4

03 Dec 22:16
Compare
Choose a tag to compare

Fixed

  • Remove return statement from templater.

Changed

  • Use isObject() to check if props from <Templater/> and <Projector/> are objects.

Release @forastro/utilities 4.3.3

03 Dec 20:59
Compare
Choose a tag to compare

Fixed

  • Correct statement for checking whether templater props is an object with keys.

Release @forastro/utilities 4.3.2

27 Nov 03:37
Compare
Choose a tag to compare

Fixed

  • <Templater/> props were not passed to <Projector/> when not empty.

Changed

  • Only the default slot is passed from <Projector/> to <Templater/>.
  • getCollections() is turned into an overload.

Release @forastro/utilities 4.3.1

20 Nov 00:19
Compare
Choose a tag to compare

Fixed

  • Remove condition from <Projector/> that checks if a slot is
    a function while templater has props with keys in them.

Release @forastro/utilities 4.3.0

19 Nov 21:44
Compare
Choose a tag to compare

Changed

  • <Projector/> sends all slots to <Templater/> it receives all of them.

Fixed

  • Code to check if projector uses a slot when Templater passes props
    is now changed since props are always an object no matter what.

Release @forastro/utilities 4.2.0

19 Nov 16:00
Compare
Choose a tag to compare

Changed

  • Templater and Projector pass all props to each other and don't require context.
  • Props sent from Templater or Projector are shallow readonly.

Release @forastro/utilities 4.1.3

17 Nov 18:57
Compare
Choose a tag to compare

Fixed

  • Removed assertion from executeIf and throwIf
  • executeUnless and throwUnless return assert condition
  • Conditional functions no longer require a boolean at all.