2
0

CHANGELOG 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. 2013 - Release 0.12.0
  2. ===============================
  3. After 3 months of work we are pleased to announce the 0.12.0 release of Amber.
  4. Besides the usual bug fixes a lot of new features have emerged.
  5. The biggest change is the switch to using RequireJS to specifying Amber package dependencies
  6. and for loading the packages as AMD modules.
  7. Amber is now additionally available as Bower [2] component.
  8. Bower is also used to manage required JavaScript libraries which don't have to be kept
  9. around in the repository anymore.
  10. The repository layout was restructured to provide a cleaner separation of different Amber parts:
  11. * Smalltalk code is located in 'st'
  12. * Compiled Amber packages are located in 'js'
  13. * Supporting JavaScript code is located in 'support'
  14. Together with the RequireJS changes the specifying their dependencies the Brickz [3]
  15. reconfigurable micro composition system was introduced.
  16. This is used for
  17. On the Smalltalk side support has been added for writing exponential numbers of the form 2e5.
  18. Helios (the new IDE) is progressing nicely and has seen a lot of improvements.
  19. One of the great parts is the new stepping debugger which is also making progress.
  20. To try Helios, open the helios.html page or
  21. evaluate in any other amber page `amber.loadHelios()`.
  22. The last enhancements target the commandline compiler which can be used as
  23. `amberc` (an executable script) or as a Grunt task.
  24. The following features have been added:
  25. * generation of shebang line (#!/usr/bin/env node)
  26. * specification of target namespace (`-n` flag; `amd_namespace` option in Grunt)
  27. * specification of additional library directories (`-L` flag; `library_dirs` option in Grunt)
  28. The following features have been removed:
  29. * creation of *.deploy.js files (`-d` flag; `deploy` option in Grunt)
  30. * optimization passes via Closure compiler (`-o`/`-O` flags; `closure_jar` option in Grunt)
  31. The same behavior can be achieved by using specific Grunt tasks
  32. Additionally, the Grunt task now handles the -v/--verbose flag which triggers the same behavior
  33. as the `verbose` option which can be specified in the Gruntfile.
  34. Some numbers about this release (starting from 0.11.0):
  35. * commits
  36. * 9 committers
  37. * 66 unit tests added
  38. * 379 unit tests in total
  39. Commits: https://github.com/amber-smalltalk/amber/compare/0.11.0...0.12.0
  40. Issues: https://github.com/amber-smalltalk/amber/issues?direction=desc&milestone=8&page=1&sort=updated&state=closed
  41. For the most important API related changes see the file API-CHANGES.txt.
  42. * Installing Amber from NPM
  43. To install Amber from NPM, run
  44. npm install amber
  45. * Installing Amber from Bower
  46. To install Amber from Bower, run
  47. bower install amber
  48. * Migration from Amber 0.11.0
  49. First, the loading of JavaScript files must be adapted. The custom loader has been replaced with
  50. requirejs for loading files in the browser. New loader code is thouroughly
  51. explained in [4].
  52. After updating the loader part, `.st` files need to be recompiled
  53. into new AMD `.js` files. During loader changes, a namespace was choosen and will be needed for recompilation.
  54. Go to your directory with `.st` files and issue this from the shell:
  55. ```sh
  56. <path-to-amber>/bin/amberc -l SUnit,Canvas -n <chosen-namespace> -D <path-for-compiled-js-files> *.st
  57. ```
  58. In windows, use `\` as path separator, the rest is identical.
  59. The `-l SUnit,Canvas` is just a general guess, if your code depends on more (or less) non-kernel packages from amber, list them here accordingly.
  60. This migrate scenario only covers simple deployments with your project's code and amber.
  61. If your project is more compilicated, using libraries and packages from multiple sources,
  62. it is hard to give general advices to migrate - you must do it library by library,
  63. giving each location its own namespace, and `-L` option of `amberc`
  64. comes handy when integrating; ask on the mailing list if problems arise.
  65. [1] http://requirejs.org/
  66. [2] http://bower.io/
  67. [3] https://github.com/amber-smalltalk/brikz
  68. [4] https://github.com/amber-smalltalk/amber/wiki/How-to-load-amber
  69. 09th July 2013 - Release 0.11.0
  70. ===============================
  71. Three months have passed and we are happy to announce the release
  72. of Amber 0.11.0!
  73. Some numbers about this release:
  74. * 494 commits
  75. * 13 committers
  76. * increasing the number of core committers to 25
  77. * 50 unit tests added to the kernel
  78. * 313 unit tests in total
  79. Since the last release 60 issues were closed, bringing us to 499
  80. issues closed.
  81. This release includes a lot of bug fixes, improvements to the
  82. CLI, as well as a preview of the next IDE, named Helios. Amber
  83. now also uses a CI server [1].
  84. To try the Helios, the new IDE, open the helios.html page, or
  85. evaluate in any other amber page `amber.loadHelios()`.
  86. The compiler also received some improvements, especially
  87. regarding message send optimisations and super sends.
  88. Here's the list of commits and closed issues:
  89. https://github.com/amber-smalltalk/amber/compare/0.10.0...0.11.0
  90. https://github.com/amber-smalltalk/amber/issues?direction=desc&milestone=6&page=1&sort=updated&state=closed
  91. There is a lot more to come with Helios, a stepping debugger
  92. based on the AST is in progress and currently in the 'debugger'
  93. branch on GitHub.
  94. * Installing Amber from NPM
  95. To install amber from NPM, run
  96. npm install amber
  97. * Migration from Amber 0.10.0
  98. Amber compiled code should be compatible with Amber 0.10.0, but
  99. recompiling is needed in order to get contexts working:
  100. Compiler new recompile: (Package named: 'MyPackage') classes.
  101. (Package named: 'MyPackage') commit
  102. For API related changes see the file API-CHANGES.txt.
  103. 13th March 2013 - Release 0.10.0
  104. ================================
  105. Here's a summary of change since the 0.9.1 release:
  106. - Travis CI jobs
  107. - Almost 300 issues closed
  108. - 150 new unit tests written
  109. - All classes in the Kernel are documented
  110. - New and much improved compiler toolchain, providing:
  111. - Semantic analysis
  112. - AST Node annotation
  113. - Intermediate representation (easier to optimize)
  114. - Better inlining
  115. - an AST interpreter
  116. - support for blocks contexts
  117. - New build system based on grunt.js, replacing the old makefiles
  118. - New bin/amberc compiler written in Amber/Node.js
  119. - SUnit improvements and cleanup, with support for async assertions
  120. - Improved ClassBuilder with better class migration support
  121. - Improved loader for third party packages
  122. - New: Announcements
  123. - Classes can be augmented by light-weight methods created from blocks
  124. - Snippets of HTML can be marked to become virtual tags in HTMLCanvas
  125. - Amber server supports Basic HTTP authentication (not recommended for production environments/unencrypted connections)
  126. - New IDE on it's way for Amber 1.0
  127. 16th January 2012 - Release 0.9.1
  128. =================================
  129. Here's a summary of changes since the 0.9 release:
  130. - 80 new unit tests written
  131. - 52 issues fixed
  132. - All classes in Kernel-Objects, Kernel-Classes and Kernel-Methods has been documented
  133. - New documentation framework (see http://amber-lang.net/documentation.html)
  134. - Better class organisations, "Kernel" package split into several packages
  135. - First class packages have replaced class categories
  136. - Internet Explorer 7+ compatibility
  137. - New Announcement framework ported from Pharo
  138. - New console-based REPL written in Amber using node.js
  139. - Symbol class implemented together with object identity and #==
  140. - New OrderedCollection and Set implementation
  141. - Dictionary can now have any kind of object as keys. String-key dictionary has been renamed HashedCollection
  142. - New TwitterWall example
  143. - Improved HTML Canvas, now compatible with IE7
  144. - Improved JSObjectProxy for seamless JavaScript objects access from Amber
  145. - No more jQuery binding. Amber is fully capable of sending messages to JavaScript objects
  146. 13th September 2011 - Release 0.9
  147. =================================
  148. Amber has been evolving furiously since the presentation at ESUG 2011 in Edinburgh less than 3 weeks ago.
  149. This is a summary:
  150. Language, compiler and runtime
  151. - New 100x faster parser built using PEGjs instead of the old parser built using PetitParser.
  152. - New much faster ChunkParser implementation in handwritten Amber instead of using PetitParser.
  153. - Improved parsing error report with quoted source code plus marker pinpointing parsing error.
  154. - Removed PetitParser since it is no longer needed by Amber itself.
  155. - Added compiler optimizations in the form of speculative inlining of specific messages and control structures.
  156. - Added support for dynamic Arrays, just like in Squeak/Pharo.
  157. - Added support for similar dynamic Dictionaries, not seen in other Smalltalks.
  158. - Added & and | as allowed binary selectors and implemented them in Boolean.
  159. - Added a Set implementation.
  160. - Added first basic support for real Packages with dependency information.
  161. ...and various extensions, enhancements and bug fixes to the library classes.
  162. Development environment
  163. - A working Debugger with integrated inspector, proceed etc.
  164. - A new structure with
  165. - A working amberc command line compiler including a Makefile for recompiling the whole Amber.
  166. - Enabled TestRunner in the IDE for running unit tests based on SUnit.
  167. - Added "File in" button in Workspace to easily paste and filein source code in chunk format in the IDE.
  168. Example code and ports
  169. - Ported ProfStef interactive tutorial, available on Amber homepage but also in examples directory.
  170. - Included the ESUG presentation as an example also in the examples directory.
  171. - Several new examples running on Node.js and webOS included, all with Makefiles.
  172. Various other things
  173. - Issue tracker on github now used as primary source, closed a bunch of reported issues.
  174. - Wiki pages on github with information on how to port code from other Smalltalks, lists of articles, tutorials, roadmap and more.