Skip to content

Releases: GrimoireGL/GrimoireJS

v0.15.3

02 Apr 12:35
Compare
Choose a tag to compare

<a name"0.15.3">

0.15.3 (2017-04-02)

Bug Fixes

  • ci: add document generate script (2c587220)

v0.15.2

02 Apr 06:11
Compare
Choose a tag to compare

<a name"0.15.2">

0.15.2 (2017-04-02)

Bug Fixes

v0.15.1

02 Apr 05:52
Compare
Choose a tag to compare

<a name"0.15.1">

0.15.1 (2017-04-02)

Bug Fixes

v0.15.0

25 Mar 08:25
Compare
Choose a tag to compare

<a name"0.15.0">

0.15.0 (2017-03-25)

Features

  • add queryChildren on GomlNode fix: improved error message on component (61420579)

v0.14.8

21 Mar 00:57
Compare
Choose a tag to compare

<a name"0.14.8">

0.14.8 (2017-03-21)

Bug Fixes

  • NumberConverter now accept an array sized 1 (dedcd730)
  • fix bug:GomlNode#enabled not works correctly. (30ac3d98)

v0.14.7

12 Feb 16:08
Compare
Choose a tag to compare

<a name"0.14.7">

0.14.7 (2017-02-12)

Bug Fixes

v0.14.6

12 Feb 15:20
Compare
Choose a tag to compare

<a name"0.14.6">

0.14.6 (2017-02-12)

Bug Fixes

v0.14.5

12 Feb 14:29
Compare
Choose a tag to compare

<a name"0.14.5">

0.14.5 (2017-02-12)

Bug Fixes

v0.14.4

12 Feb 12:11
Compare
Choose a tag to compare

<a name"0.14.4">

0.14.4 (2017-02-12)

Bug Fixes

  • semantic-release configurations (d904fa82)

Update v0.12.0

15 Dec 04:14
Compare
Choose a tag to compare

Release note

Breaking changes

  • Component interface is removed

We removed component interface since it can make bug easily. Sometimes queried items can be empty, different component from the component developer want to fetch.

Use GomlNode#getComponent alternatively.

const component = gr("#main")("mesh")("MeshRenderer")// <- removed
const component = gr("#main")("mesh").first().getComponent("MeshRenderer"); 
  • Component#getAttribute and Component#getValue was renamed.

We've used getAttribute as different meaning in GomlNode and Component. These name should represent same meaning in every situation.

Therefore, we renamed Component#getAttribute to Component#getAttributeRaw andComponent#getValuetoComponent#getAttribute`.

  • Attribute#addObserver was renamed to Attribute#watch

We've made NodeInterface#watch for handling changing attribute value from front-end engineer.
To unite them, the methods that have same feature on Attribute class was renamed,

And make sure the first argument of watch is converted value not Attribute.

  • defaultValue of attribute declaration was renamed to default
  • converter does not accept undefined as default value

Non-breaking changes

  • NodeInterface#watch was added.

now users can observe attribute changing event event if the user not created components.