CHANGELOG 22 KB

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