CHANGELOG 28 KB

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