08.04.2009
Released Swush 0.93.
Changes includes:
- This is the first actually usable release, I have been using it in production for some time now. Swush is still in beta though.
- Changed arrays syntax and relevant API. arrays are now in the form : name {a b c}, and can have both string elements and normal swush nodes : name {a b c:d d{1:2}}
- Improved Swush api:
- Added various selector API calls to the Swush class, for example:
- long selectLongProperty(String selector) : Select a long property (Int, Boolean, Float etc are also available)
- float selectFloatProperty(String selector, float _default)Â : Select a Float property, and return default_ if it’s not found (same api available for other types)
- Added various manipulator methods, for example:
- Swush addPair(String name, String value) : Adds a new Pair (key value pair) to a node and return the new key-value node.
- Swush addNode(String name) : Adds a new node and returns it.
- Swush addArray(String name, String … array) : Adds a new array node and returns it.
- Added various selector API calls to the Swush class, for example:
- General bug fixes.