1
0

CHANGELOG 21 KB

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