CHANGELOG 20 KB

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