CHANGELOG 27 KB

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