Skip to content

Latest commit

 

History

History
91 lines (72 loc) · 3.56 KB

CHANGELOG.md

File metadata and controls

91 lines (72 loc) · 3.56 KB

Changelog

The objective of this file is to document the changes to the Wollok language definition. The format is based on Keep a Changelog. Currently, the Wollok language does not adhere to Semantic Versioning. Hopefully, we will be able to do that in the near future.

v3.1.6

  • Adding sanity tests for circular imports

v3.1.5

  • Adding sanity tests for missing reference error

v3.1.4

  • More sanity tests for validations
  • Minor test refactors

v3.1.3

  • Moving game tests from TS to lang

v3.1.2

  • Added methods in io object.
  • The following methods are no longer native:
    • whenKeyPressDo, whenCollideDo, onCollideDo, onTick, schedule, removeTickEvent, clear and stop in game object.
  • Added methods currentTime() and flushEvents(time) in game object.
  • Changes in method start() in game object.
  • Deprecating method doStart in game object.
  • Added game tests (see test/sanity/game folder).

v3.1.1

  • Minor test refactors

v3.1.0

  • We have annotations! 🥳
  • New @Expect annotation used in validation tests.
  • Changes in Wollok Game:
    • New MutablePosition class, as alternative to default (immutable) Position.
    • Sounds can be played before game starts.
    • Change method removeVisual in game object: if the object is not in the game it doesn't throw an exception.
  • Fix some operations with not empty runtime validations.

v3.0.3

  • Deprecating addVisualIn and addVisualCharacterIn in game object.
  • Deprecating drawElement and drawCharacter in Position class.
  • Added method onSameCell in game object (used for collision detection).
  • Added methods: round() in Number and Position classes.
  • Changes in List.get behaviour for float numbers.
  • Added validator functions, based on @Expect annotation (see test/validations folder)

v3.0.2

  • Date related WKO moved to new wollok.lang.calendar object.
  • Deprecating Date() instantiation to get today's date in favor of calendar.today()

v3.0.1

  • Exceptions have an initialize native method.

v3.0.0

  • Dropping Constructors in favor of named instantiation.
  • Dropping Fixtures in favor of initialize methods in Describes.
  • New syntax for supertype linearization.

v2.1.0

  • Many Wollok Game changes for web implementation.
  • Changes in substring method.
  • Changes in toString behaviour.
  • Added some wollokdocs.
  • Added methods: isWorkDay() & isWeekendDay() in Date class.
  • New only flag for tests.
  • Added more sanity tests.
  • 2 is ṕrime!

v2.0.2

  • Rename a describe test

v2.0.1

  • == method was duplicated in Set and List classes

v2.0.0

  • Equality is now fully based on the == method.

v1.9.1

v1.9.0

v1.8.5 - 2019-09-09

  • Add new method uniqueCollider in game object, that receives a visual object and returns the unique other object that is in same position of given object. Will throw an error if the cell does not contain exaclty two visual objects.