CHANGELOG 21 KB

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