CHANGELOG 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. 25 September 2016 - Release 0.16.0
  2. ===================================
  3. * boot.js overhaul:
  4. * brikz external, reworked to less imperative (no ensure call).
  5. * addClass returns the class.
  6. * no wrapClassName, using setClassConstructor in later stage.
  7. * traverseClassTree (eg allSubclassesDo:) in kernel, not allSubclasses.
  8. * runtime part extracted to kernel-runtime.js.
  9. * runtime loaded lazily, packages can load without runtime in.
  10. * initialize returns a Promise.
  11. * init done automatically upon class creation if runtime is active.
  12. * amber-dev upgrade (to honour initialize returning a Promise).
  13. * Edits relating to lolg.it move.
  14. * Fixes.
  15. Commits: https://lolg.it/amber/amber/commits/0.16.0.
  16. 6 February 2016 - Release 0.15.1
  17. ===================================
  18. * From this version on, Amber will fully comply to semver:
  19. * Any breaking change will result in increase of first non-zero number.
  20. * If first non-zero number is not changed, no breaking changes are present in release.
  21. * Changed how ST globals are implemented, resulting in shorter and faster code.
  22. * Not working any more on IE8 (b/c of changed globals).
  23. * amber.initialize(...) returns a promise.
  24. * JS global Promise must be present.
  25. * If missing, you can polyfill with `bower install amber-compat-es2015 --save`.
  26. * JS Promise is wrapped in ST class Promise.
  27. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.18...0.15.1.
  28. 1 January 2016 - Release 0.14.18
  29. ===================================
  30. Maintenance release.
  31. Cleaning the code in compiler and parser.
  32. Some bug fixes (in compiler/interpreter as well as in other places).
  33. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.17...0.14.18
  34. 6 October 2015 - Release 0.14.17
  35. ===================================
  36. Maintenance release.
  37. Some fixes, optimizations and moving things around.
  38. Using virtual module "amber/Platform". This needs to be mapped
  39. to either "amber_core/Platform-Browser" or "amber_core/Platform-Node".
  40. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.16...0.14.17
  41. 20 June 2015 - Release 0.14.16
  42. ===================================
  43. Bugfix release - Date >> =, Class >> javascriptConstructor:.
  44. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.15...0.14.16
  45. 9 June 2015 - Release 0.14.15
  46. ===================================
  47. Bugfix release - in some browsers, package commit failed.
  48. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.14...0.14.15
  49. 24 May 2015 - Release 0.14.14
  50. ===================================
  51. Highlights:
  52. * Extraction of `Web` and `Wrappers-JQuery` to own repos.
  53. * Amber core itself formally with no production dependencies.
  54. * Packages with 'use strict'.
  55. * `PlatformInterface` replaced by services `Terminal` and `Platform`.
  56. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.13...0.14.14
  57. 29 March 2015 - Release 0.14.13
  58. ===================================
  59. Highlights:
  60. * Rename namespaces of `Web` and `Wrappers-JQuery`.
  61. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.12...0.14.13
  62. 22 February 2015 - Release 0.14.12
  63. ===================================
  64. Highlights:
  65. * Wrapped JS object can be put on streams via aStream << anObject.
  66. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.11...0.14.12
  67. 21 February 2015 - Release 0.14.11
  68. ===================================
  69. Highlights:
  70. * `anObject in: aBlock` added
  71. * ProtoStream with extracted basic streaming protocol.
  72. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.10...0.14.11
  73. 17 February 2015 - Release 0.14.10
  74. ===================================
  75. Highlights:
  76. * Package renames, classes moved between packages:
  77. * Web and Wrappers-JQuery in amber-contrib-xxx namespaces,
  78. * Platform-Xxx packages to keep Kernel-Xxx to kernel.
  79. * Some core speedups.
  80. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.4...0.14.10
  81. 1 February 2015 - Release 0.14.4
  82. ===================================
  83. Highlights:
  84. * Compiler now allows the "import them as package-global vars" of 0.14.3.
  85. * Some core speedups.
  86. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.3...0.14.4
  87. 20 January 2015 - Release 0.14.3
  88. ===================================
  89. Highlights:
  90. * Package can specify external dependencies and import them as package-global vars.
  91. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.2...0.14.3
  92. Issues: https://github.com/amber-smalltalk/amber/issues?q=milestone%3A0.14.3+is%3Aclosed
  93. For the most important API related changes see the file API-CHANGES.txt.
  94. 11 January 2015 - Release 0.14.2
  95. ===================================
  96. Highlights:
  97. * Slimmed core - es5-shim and IE8 compatibilty tweaks in amber-compat-* repos.
  98. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.1...0.14.2
  99. For the most important API related changes see the file API-CHANGES.txt.
  100. 8 January 2015 - Release 0.14.1
  101. ===================================
  102. Highlights:
  103. * Slimmed core - legacy IDE, Examples and Benchfib in own repo.
  104. * Smalltalk optOut: used instead allowJavaScriptCalls to make jQuery work.
  105. Commits: https://github.com/amber-smalltalk/amber/compare/0.14.0...0.14.1
  106. For the most important API related changes see the file API-CHANGES.txt.
  107. 1 January 2015 - Release 0.14.0
  108. ===================================
  109. Highlights:
  110. * Removed deprecated stuff and backward compatibility support code.
  111. * You can wrap any object using #asJQuery.
  112. Commits: https://github.com/amber-smalltalk/amber/compare/0.13.2...0.14.0
  113. Issues: https://github.com/amber-smalltalk/amber/issues?q=is%3Aissue+is%3Aclosed+milestone%3A0.14.0
  114. For the most important API related changes see the file API-CHANGES.txt.
  115. 31 December 2014 - Release 0.13.3
  116. ===================================
  117. This is a planned maintenance release.
  118. It contains everything 0.14.0 contains,
  119. but it retains all the backwards compatibility stuff,
  120. which is going to be removed in 0.14.0.
  121. 22 October 2014 - Release 0.13.2
  122. ===================================
  123. This is maintenance release to upgrade CodeMirror
  124. jointly in Amber and Helios.
  125. Highlights:
  126. * CodeMirror upgrade for Amber and Helios.
  127. * Cleaned of all (as far as findable) uses of deprecated code.
  128. * Recompile using `grunt` in Windows now does not add cr characters.
  129. Commits: https://github.com/amber-smalltalk/amber/compare/0.13.0...0.13.2
  130. For the most important API related changes see the file API-CHANGES.txt.
  131. 10 October 2014 - Release 0.13.1
  132. ===================================
  133. Highlights:
  134. * Reworked cleaner DNU handling in core.
  135. * `amber init` fully embraced as the way to create new project.
  136. * Helios IDE is extracted and is now a project on its own.
  137. * It is included as dev-dependency in any new project by default.
  138. * Movable data out of index.html:
  139. * list of production packages in deploy.js;
  140. * list of development packages in devel.js;
  141. * project amd mappings in local.amd.json;
  142. * libraries' amd mappings in lib_directory.amd.json.
  143. * 'Batteries included' deployment via `grunt deploy`.
  144. * 0.13.1 because of technical issues w/ 0.13.0 release process.
  145. Commits: https://github.com/amber-smalltalk/amber/compare/0.12.6...0.13.0
  146. Issues: https://github.com/amber-smalltalk/amber/issues?q=is%3Aissue+is%3Aclosed+milestone%3A0.13.0
  147. For the most important API related changes see the file API-CHANGES.txt.
  148. 1 July 2014 - Release 0.12.6
  149. ===================================
  150. Highlights:
  151. * SUnit Runner in Helios IDE.
  152. * `amber` and `amberc` cli moved to `external` directory
  153. and to dedicated npm package.
  154. * Bootstrap 3 can be used in Amber projects
  155. (no more nameclash with Helios' bootstrap 2 using bootstrap2.3.2 name).
  156. * Wider range of jQuery versions allowed.
  157. * Amber now parses `$c` character literal.
  158. * `amber` is not to be installed globally any more.
  159. Instead, `npm install -g amber-cli` installs cli tooling.
  160. * After installing the cli tooling, `amber init` initializes
  161. new project if run in empty directory.
  162. Commits: https://github.com/amber-smalltalk/amber/compare/0.12.4...0.12.6
  163. Issues: https://github.com/amber-smalltalk/amber/issues?milestone=13&state=closed
  164. For the most important API related changes see the file API-CHANGES.txt.
  165. 11 April 2014 - Release 0.12.4
  166. ===================================
  167. Highlights:
  168. * Fixed backward compatibility for pre-0.12.3 loader syntax.
  169. * `namespace/_source` is not needed to map and is recommended
  170. not to use; `.st` files are by default committed to the `.js` location.
  171. * All sources, including js files into the src/ directory
  172. * Many improvements in Helios, especially in its debugger and
  173. inspector, as well as UI-related improvements
  174. * New Helios dark theme by @BenjaminVanRyseghem
  175. Commits: https://github.com/amber-smalltalk/amber/compare/0.12.3...0.12.4
  176. Issues: https://github.com/amber-smalltalk/amber/issues?milestone=12&state=closed
  177. For the most important API related changes see the file API-CHANGES.txt.
  178. 22 January 2014 - Release 0.12.3
  179. ===================================
  180. Highlights:
  181. * JQuery updated to ~1.10.2; jquery-ui updated to match
  182. * Subclasses of `nil` can be created
  183. * Several fixes for IE8
  184. * amber.js can be loaded asynchronously (it must
  185. have an id 'amber-path-mapper' in that case)
  186. * CodeMirror updated to ~3.20.0
  187. Commits: https://github.com/amber-smalltalk/amber/compare/0.12.2...0.12.3
  188. Issues: https://github.com/amber-smalltalk/amber/issues?milestone=11&state=closed
  189. For the most important API related changes see the file API-CHANGES.txt.
  190. 3 December 2013 - Release 0.12.2
  191. ===================================
  192. Highlights:
  193. * Loading Amber in nested pages now possible (via additional `data-libs` attribute of the `<script>` tag which loads `amber.js`)
  194. * IDE related fixes
  195. * Contributions Guide
  196. * Improved Collections
  197. * Amber Server responds with `not found` instead of `internal server error` if `index.html` could not be found
  198. Commits: https://github.com/amber-smalltalk/amber/compare/0.12.1...0.12.2
  199. Issues: https://github.com/amber-smalltalk/amber/issues?milestone=10&state=closed
  200. For the most important API related changes see the file API-CHANGES.txt.
  201. 14 November 2013 - Release 0.12.1
  202. ===================================
  203. Fixes a bug in Helios preventing class definitions from being compiled
  204. Commits: https://github.com/amber-smalltalk/amber/compare/0.12.0...0.12.1
  205. Issues: https://github.com/amber-smalltalk/amber/issues?milestone=9&state=closed
  206. 11 November 2013 - Release 0.12.0
  207. ===================================
  208. After 3 months of work we are pleased to announce the 0.12.0 release of Amber.
  209. Besides the usual bug fixes a lot of new features have emerged.
  210. The biggest change is the switch to RequireJS to specify Amber package dependencies
  211. and for loading the packages as AMD modules.
  212. Amber is now additionally available as Bower [2] component.
  213. Bower is also used to manage required JavaScript libraries which don't have to be kept
  214. around in the repository anymore.
  215. The repository layout was restructured to provide a cleaner separation of different Amber parts:
  216. * Smalltalk code is located in 'st'
  217. * Compiled Amber packages are located in 'js'
  218. * Supporting JavaScript code is located in 'support'
  219. Together with the RequireJS changes the specifying their dependencies the Brickz [3]
  220. reconfigurable micro composition system was introduced.
  221. This is used for
  222. On the Smalltalk side support has been added for writing exponential numbers of the form 2e5.
  223. Helios (the new IDE) is progressing nicely and has seen a lot of improvements.
  224. One of the great parts is the new stepping debugger which is also making progress.
  225. To try Helios, open the helios.html page or
  226. evaluate in any other amber page `require('amber/helpers').popupHelios()`.
  227. The last enhancements target the commandline compiler which can be used as
  228. `amberc` (an executable script) or as a Grunt task.
  229. The following features have been added:
  230. * generation of shebang line (#!/usr/bin/env node)
  231. * specification of target namespace (`-n` flag; `amd_namespace` option in Grunt)
  232. * specification of additional library directories (`-L` flag; `library_dirs` option in Grunt)
  233. The following features have been removed:
  234. * creation of *.deploy.js files (`-d` flag; `deploy` option in Grunt)
  235. * optimization passes via Closure compiler (`-o`/`-O` flags; `closure_jar` option in Grunt)
  236. The same behavior can be achieved by using specific Grunt tasks
  237. Additionally, the Grunt task now handles the -v/--verbose flag which triggers the same behavior
  238. as the `verbose` option which can be specified in the Gruntfile.
  239. Some numbers about this release (starting from 0.11.0):
  240. * 660 commits
  241. * 10 committers
  242. * 66 unit tests added
  243. * 152 issues were closed
  244. * 379 unit tests in total
  245. Commits: https://github.com/amber-smalltalk/amber/compare/0.11.0...0.12.0
  246. Issues: https://github.com/amber-smalltalk/amber/issues?direction=desc&milestone=8&page=1&sort=updated&state=closed
  247. For the most important API related changes see the file API-CHANGES.txt.
  248. * Installing Amber from NPM
  249. To install Amber from NPM, run
  250. npm install amber
  251. * Installing Amber from Bower
  252. To install Amber from Bower, run
  253. bower install amber
  254. * Migration from Amber 0.11.0
  255. First, the loading of JavaScript files must be adapted. The custom loader has been replaced with
  256. requirejs for loading files in the browser. New loader code is thouroughly
  257. explained in [4].
  258. After updating the loader part, `.st` files need to be recompiled
  259. into new AMD `.js` files. During loader changes, a namespace was choosen and will be needed for recompilation.
  260. Go to your directory with `.st` files and issue this from the shell:
  261. ```sh
  262. <path-to-amber>/bin/amberc -l SUnit,Canvas -n <chosen-namespace> -D <path-for-compiled-js-files> *.st
  263. ```
  264. In windows, use `\` as path separator, the rest is identical.
  265. 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.
  266. This migrate scenario only covers simple deployments with your project's code and amber.
  267. If your project is more complicated, using libraries and packages from multiple sources,
  268. it is hard to give general advices to migrate - you must do it library by library,
  269. giving each location its own namespace, and `-L` option of `amberc`
  270. comes handy when integrating; ask on the mailing list if problems arise.
  271. [1] http://requirejs.org/
  272. [2] http://bower.io/
  273. [3] https://github.com/amber-smalltalk/brikz
  274. [4] https://github.com/amber-smalltalk/amber/wiki/How-to-load-amber
  275. 9 July 2013 - Release 0.11.0
  276. ===============================
  277. Three months have passed and we are happy to announce the release
  278. of Amber 0.11.0!
  279. Some numbers about this release:
  280. * 494 commits
  281. * 13 committers
  282. * increasing the number of core committers to 25
  283. * 50 unit tests added to the kernel
  284. * 313 unit tests in total
  285. Since the last release 60 issues were closed, bringing us to 499
  286. issues closed.
  287. This release includes a lot of bug fixes, improvements to the
  288. CLI, as well as a preview of the next IDE, named Helios. Amber
  289. now also uses a CI server [1].
  290. To try the Helios, the new IDE, open the helios.html page, or
  291. evaluate in any other amber page `amber.loadHelios()`.
  292. The compiler also received some improvements, especially
  293. regarding message send optimisations and super sends.
  294. Here's the list of commits and closed issues:
  295. https://github.com/amber-smalltalk/amber/compare/0.10.0...0.11.0
  296. https://github.com/amber-smalltalk/amber/issues?direction=desc&milestone=6&page=1&sort=updated&state=closed
  297. There is a lot more to come with Helios, a stepping debugger
  298. based on the AST is in progress and currently in the 'debugger'
  299. branch on GitHub.
  300. * Installing Amber from NPM
  301. To install amber from NPM, run
  302. npm install amber
  303. * Migration from Amber 0.10.0
  304. Amber compiled code should be compatible with Amber 0.10.0, but
  305. recompiling is needed in order to get contexts working:
  306. Compiler new recompile: (Package named: 'MyPackage') classes.
  307. (Package named: 'MyPackage') commit
  308. For API related changes see the file API-CHANGES.txt.
  309. 13 March 2013 - Release 0.10.0
  310. ================================
  311. Here's a summary of change since the 0.9.1 release:
  312. - Travis CI jobs
  313. - Almost 300 issues closed
  314. - 150 new unit tests written
  315. - All classes in the Kernel are documented
  316. - New and much improved compiler toolchain, providing:
  317. - Semantic analysis
  318. - AST Node annotation
  319. - Intermediate representation (easier to optimize)
  320. - Better inlining
  321. - an AST interpreter
  322. - support for blocks contexts
  323. - New build system based on grunt.js, replacing the old makefiles
  324. - New bin/amberc compiler written in Amber/Node.js
  325. - SUnit improvements and cleanup, with support for async assertions
  326. - Improved ClassBuilder with better class migration support
  327. - Improved loader for third party packages
  328. - New: Announcements
  329. - Classes can be augmented by light-weight methods created from blocks
  330. - Snippets of HTML can be marked to become virtual tags in HTMLCanvas
  331. - Amber server supports Basic HTTP authentication (not recommended for production environments/unencrypted connections)
  332. - New IDE on it's way for Amber 1.0
  333. 16 January 2012 - Release 0.9.1
  334. =================================
  335. Here's a summary of changes since the 0.9 release:
  336. - 80 new unit tests written
  337. - 52 issues fixed
  338. - All classes in Kernel-Objects, Kernel-Classes and Kernel-Methods has been documented
  339. - New documentation framework (see http://amber-lang.net/documentation.html)
  340. - Better class organisations, "Kernel" package split into several packages
  341. - First class packages have replaced class categories
  342. - Internet Explorer 7+ compatibility
  343. - New Announcement framework ported from Pharo
  344. - New console-based REPL written in Amber using node.js
  345. - Symbol class implemented together with object identity and #==
  346. - New OrderedCollection and Set implementation
  347. - Dictionary can now have any kind of object as keys. String-key dictionary has been renamed HashedCollection
  348. - New TwitterWall example
  349. - Improved HTML Canvas, now compatible with IE7
  350. - Improved JSObjectProxy for seamless JavaScript objects access from Amber
  351. - No more jQuery binding. Amber is fully capable of sending messages to JavaScript objects
  352. 13 September 2011 - Release 0.9
  353. =================================
  354. Amber has been evolving furiously since the presentation at ESUG 2011 in Edinburgh less than 3 weeks ago.
  355. This is a summary:
  356. Language, compiler and runtime
  357. - New 100x faster parser built using PEGjs instead of the old parser built using PetitParser.
  358. - New much faster ChunkParser implementation in handwritten Amber instead of using PetitParser.
  359. - Improved parsing error report with quoted source code plus marker pinpointing parsing error.
  360. - Removed PetitParser since it is no longer needed by Amber itself.
  361. - Added compiler optimizations in the form of speculative inlining of specific messages and control structures.
  362. - Added support for dynamic Arrays, just like in Squeak/Pharo.
  363. - Added support for similar dynamic Dictionaries, not seen in other Smalltalks.
  364. - Added & and | as allowed binary selectors and implemented them in Boolean.
  365. - Added a Set implementation.
  366. - Added first basic support for real Packages with dependency information.
  367. ...and various extensions, enhancements and bug fixes to the library classes.
  368. Development environment
  369. - A working Debugger with integrated inspector, proceed etc.
  370. - A new structure with
  371. - A working amberc command line compiler including a Makefile for recompiling the whole Amber.
  372. - Enabled TestRunner in the IDE for running unit tests based on SUnit.
  373. - Added "File in" button in Workspace to easily paste and filein source code in chunk format in the IDE.
  374. Example code and ports
  375. - Ported ProfStef interactive tutorial, available on Amber homepage but also in examples directory.
  376. - Included the ESUG presentation as an example also in the examples directory.
  377. - Several new examples running on Node.js and webOS included, all with Makefiles.
  378. Various other things
  379. - Issue tracker on github now used as primary source, closed a bunch of reported issues.
  380. - Wiki pages on github with information on how to port code from other Smalltalks, lists of articles, tutorials, roadmap and more.