2
0

API-CHANGES.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. 0.18.0:
  2. * Remove class RethrowErrorHandler (hack for cli before 0.12.3).
  3. * Some internal API changes in Compiler-*.
  4. - Object >>
  5. - throw:
  6. 0.17.0:
  7. * Remove classes InterfacingObject, PlatformInterface.
  8. * Deprecate $boot.nil (use $boot.nilAsReceiver).
  9. + amber/boot api >>
  10. + nilAsReceiver
  11. - NativeFunction class >>
  12. - constructor:
  13. - constructor:value:
  14. - constructor:value:value:
  15. - constructor:value:value:value:
  16. 0.16.1:
  17. * Deprecate $boot.dnu (use $boot.nilAsClass).
  18. + amber/boot api >>
  19. + nilAsClass
  20. 0.16.0:
  21. * Deprecate ClassBuilder >> setupClass:
  22. * $core.initialize now returns a Promise
  23. * $core.addClass now returns the class
  24. + amber/boot api >>
  25. + send2
  26. + traverseClassTree
  27. + Promise class >>
  28. + new
  29. - amber/boot api >>
  30. - wrapClassName
  31. - send
  32. - allSubclasses
  33. - AbstractCodeGenerator
  34. - classNameFor:
  35. 0.15.1:
  36. * Thenable class added
  37. * Promise class added, wraps JS Promise, subclass of Thenable
  38. + Thenable >>
  39. + catch:
  40. + on:do:
  41. + on:do:catch:
  42. + then:
  43. + then:catch:
  44. + then:on:do:
  45. + then:on:do:catch:
  46. + JSObjectProxy >>
  47. + catch:
  48. + on:do:
  49. + on:do:catch:
  50. + then:
  51. + then:catch:
  52. + then:on:do:
  53. + then:on:do:catch:
  54. + amber/boot api
  55. + seamless
  56. + Promise class >>
  57. + new:
  58. + forBlock:
  59. + value:
  60. + signal:
  61. + all:
  62. + any:
  63. 0.14.18:
  64. * Some internal API changes in Compiler-*.
  65. 0.14.14:
  66. * InterfacingObject >> ajax: deprecated
  67. * PlatformInterface class deprecated
  68. * Class BrowserInterface removed
  69. * Class Terminal, BrowserTerminal added
  70. * Class Platform, BrowserPlatform added
  71. + Environment >>
  72. + renamePackage:to:
  73. + Platform class >>
  74. + globals
  75. + newXhr
  76. + Terminal class >>
  77. + alert:
  78. + confirm:
  79. + prompt:
  80. + prompt:default:
  81. SmalltalkImage >>
  82. + existsJsGlobal:
  83. - PlatformInterface class >>
  84. - initialize
  85. - setWorker:
  86. 0.14.12:
  87. + JSObjectProxy >>
  88. + putOn:
  89. + ProtoStream >>
  90. + nextPutJSObject:
  91. 0.14.11:
  92. * Basic streaming protocol extracted from Stream to ProtoStream
  93. + Object >>
  94. + in:
  95. + JSObjectProxy >>
  96. + in:
  97. 0.14.10:
  98. + JSObjectProxy class >>
  99. + addObjectVariablesTo:ofProxy:
  100. + compareJSObjectOfProxy:withProxy:
  101. + forwardMessage:withArguments:ofProxy:
  102. + jsObject:ofProxy:
  103. + lookupProperty:ofProxy:
  104. - JSObjectProxy >>
  105. - jsObject:
  106. - lookupProperty:
  107. - compareJSObjectWith:
  108. - addObjectVariablesTo:
  109. - forwardMessage:withArguments:
  110. 0.14.4:
  111. + AmdExporter >>
  112. + importsForOutput:
  113. + AbstractCodeGenerator >>
  114. + currentPackage
  115. + currentPackage:
  116. + Compiler >>
  117. + currentPackage
  118. + currentPackage:
  119. + compile:forClass:protocol:
  120. + compileNode:forClass:package:
  121. + SemanticAnalyzer >>
  122. + thePackage
  123. + thePackage:
  124. + isVariableUndefined:inPackage:
  125. - Compiler >>
  126. - compile:
  127. - compile:forClass:
  128. - compileExpression:
  129. - SemanticAnalyzer >>
  130. - isVariableGloabllyUndefined:
  131. - Behavior >>
  132. - compile:
  133. 0.14.3:
  134. * #heliosClass is now #classTag
  135. + Compiler >>
  136. + eval:forPackage:
  137. + Behavior >>
  138. + packageOfProtocol:
  139. + Exporter >>
  140. + exportPackageContextOf:on:
  141. + exportPackageImportsOf:on:
  142. + Package >>
  143. + basicImports
  144. + imports
  145. + imports:
  146. + importsDefinition
  147. + importsFromJson:
  148. + importsAsJson
  149. + sortedImportsAsArray
  150. + validateImports:
  151. + Package class >>
  152. + named:imports:transport:
  153. + Association >>
  154. + importsString
  155. + String >>
  156. + importsString
  157. + ProtoObject >>
  158. + ifNil:
  159. + ifNil:ifNotNil:
  160. + ifNotNil:
  161. + ifNotNil:ifNil:
  162. + isNil
  163. + notNil
  164. - Object >>
  165. - ifNil:
  166. - ifNil:ifNotNil:
  167. - ifNotNil:
  168. - ifNotNil:ifNil:
  169. - isNil
  170. - notNil
  171. 0.14.1:
  172. * NativeFunction class >> constructor:[value:...] deprecated
  173. + NativeFunction class >>
  174. + constructorNamed:
  175. + constructorNamed:value:
  176. + constructorNamed:value:value:
  177. + constructorNamed:value:value:value:
  178. + constructorOf:
  179. + constructorOf:value:
  180. + constructorOf:value:value:
  181. + constructorOf:value:value:value:
  182. + functionNamed:
  183. + functionNamed:value:
  184. + functionNamed:value:value:
  185. + functionNamed:value:value:value:
  186. + functionNamed:valueWithArgs:
  187. + functionOf:
  188. + functionOf:value:
  189. + functionOf:value:value:
  190. + functionOf:value:value:value:
  191. + functionOf:valueWithArgs:
  192. + methodOf:this:
  193. + methodOf:this:value:
  194. + methodOf:this:value:value:
  195. + methodOf:this:value:value:value:
  196. + methodOf:this:valueWithArgs:
  197. + SmalltalkImage >>
  198. + optOut:
  199. + cancelOptOut:
  200. 0.14.0:
  201. + Object >>
  202. + asJQuery
  203. + asJQueryInContext:
  204. + BlockClosure >>
  205. + asJQuery
  206. + asJQueryInContext:
  207. - AnnouncementSubscription >>
  208. - block
  209. - block:
  210. - Collection >>
  211. - contains:
  212. - String >>
  213. - asSelector
  214. - asJavaScriptSelector
  215. - SmalltalkImage >>
  216. - at:
  217. - at:ifAbsent:
  218. - at:put:
  219. - current
  220. - vm
  221. - createPackage:properties:
  222. - MethodContext >>
  223. - temps
  224. - Object >>
  225. - try:catch:
  226. 0.13.2:
  227. + SourceArea class >>
  228. + codeMirror
  229. 0.13.1:
  230. * String >> asSelector is now String >> asJavaScriptMethodName
  231. * String >> asJavaScriptSelector is now String >> asJavaScriptPropertyName
  232. * smalltalk.selector is now smalltalk.st2js
  233. * smalltalk.convertSelector is now smalltalk.js2st
  234. * Collection >> ifEmpty:ifNotEmpty: family passes self to ifNotEmpty: block
  235. * Smalltalk vm is now Smalltalk core
  236. * boot.js's .vm is now .api
  237. * amber load sets' .vm is now .api
  238. * Internal variables smalltalk/globals/_st are now $core/$globals/$recv
  239. + smalltalk.
  240. + accessJavaScript
  241. + Object >>
  242. + postMessageTo:
  243. + postMessageTo:origin:
  244. + Class >>
  245. + heliosClass
  246. + SmalltalkImage >>
  247. + core
  248. + amber/boot exports
  249. + api
  250. + amber/{devel,deploy,lang} exports
  251. + api
  252. - ProtoObject class >>
  253. - heliosClass
  254. - Object class >>
  255. - heliosClass
  256. 0.12.6:
  257. + String >>
  258. + value:
  259. + ProtocolAnnouncement >>
  260. + package
  261. + Behavior >>
  262. + isTestClass
  263. + Package >>
  264. + isTestPackage
  265. + amber/{devel,deploy,lang} exports
  266. + nil
  267. + amber/helpers exports
  268. + nil
  269. 0.12.4:
  270. * Package Canvas renamed to Web
  271. * Object >> try:catch: deprecated in favour of BlockClosure >> tryCatch:
  272. + Announcer >>
  273. + on:do:for:
  274. + Node >>
  275. + navigationNodeAt:ifAbsent:
  276. + BlockClosure >>
  277. + tryCatch:
  278. + Environment >>
  279. + evaluate:for:
  280. + AmberCli >>
  281. + version:
  282. + Object >>
  283. + deprecatedAPI:
  284. - Environment >>
  285. - eval:on:
  286. - evaluateString:on:
  287. 0.12.3:
  288. * Package Import-Export renamed to Kernel-ImportExport
  289. * A dozen of methods moved from Object to ProtoObject
  290. * HashedCollection >> at:ifAbsentPut: pushed up to SequenceableCollection
  291. * HashedCollection >> , is now allowed (removed shouldNotImplement)
  292. * HashedCollection and Dictionary both subclasses of AssociativeCollection
  293. * Smalltalk class moved to SmalltalkImage class, Smalltalk is now global var
  294. * Smalltalk current deprecated in favour of Smalltalk
  295. * Smalltalk at:[put:] deprecated in favour of Smalltalk globals at:[put:]
  296. * <smalltalk.ClassName> deprecated in favour of <globals.ClassName>
  297. + CompiledMethod >>
  298. + defaultProtocol
  299. + Behavior >>
  300. + compile:protocol:
  301. + removeProtocolIfEmpty:
  302. + Package >>
  303. + load
  304. + loadFromNamespace:
  305. + Package class >>
  306. + load:
  307. + load:fromNamespace:
  308. + PackageTransport >> load
  309. + PackageHandler >> load:
  310. + AmdPackageHandler >> load:
  311. + Set >> removeAll
  312. + AssociativeCollection class
  313. + BucketStore class
  314. + SmalltalkImage >>
  315. + globals
  316. + vm
  317. + settings
  318. + Setting class
  319. + String >>
  320. + asSetting
  321. + asSettingIfAbsent:
  322. + settingValue
  323. + settingValueIfAbsent:
  324. + settingValue:
  325. + Smalltalk global variable
  326. - CompiledMethod >>
  327. - category: (use #protocol:)
  328. - defaultCategory
  329. - Behavior >> compile:category:
  330. - HTMLCanvas class >>
  331. - browserVersion
  332. - isMSIE
  333. - isMozilla
  334. - isOpera
  335. - isWebkit
  336. 0.12.2:
  337. * Collection >> contains: is deprecated in favor of anySatisfy:
  338. + Announcer >> on:doOnce:
  339. + String >>
  340. + uriEncoded
  341. + uriDecoded
  342. + uriComponentEncoded
  343. + uriComponentDecoded
  344. + Collection >>
  345. + removeAll
  346. + ifEmpty:ifNotEmpty:
  347. + ifNotEmpty:ifEmpty:
  348. + anyOne
  349. + noneSatisfy:
  350. + anySatisfy:
  351. + allSatisfy:
  352. 0.12.0:
  353. * SmalltalkMethodContext.prototype.fillBlock() takes a third 'index' parameter
  354. * Existing classes moved to new KernelInfrastructure package
  355. * ImporterExporter
  356. * are now StreamExporters
  357. * aware of AMD namespaces
  358. * support transport types and commit channels
  359. + Node >>
  360. + nextChild
  361. + method
  362. + postCopy
  363. + isCascadeNode
  364. + isLastChild
  365. + BlockNode >>
  366. + nextNode:
  367. + nextChild
  368. + SendNode >>
  369. + isCascadeSendNode
  370. + shouldBeAliased
  371. + CompiledMethod >> sendTo:arguments:
  372. + Array >>
  373. + addFirst:
  374. + removeLast
  375. + Number >>
  376. + ceiling
  377. + floor
  378. + asNumber
  379. + //
  380. + cos
  381. + sin
  382. + tan
  383. + arcCos
  384. + arcSin
  385. + arcTan
  386. + log
  387. + log:
  388. + raisedTo:
  389. + sign
  390. + **
  391. + ln
  392. + e
  393. + String class >> esc
  394. + String >>
  395. + asMutator
  396. + capitalized
  397. + isCapitalized
  398. + JSProxy >> printString
  399. + Behavior >>
  400. + ownProtocols
  401. + ownMethods
  402. + JSStream >> nextPutSendIndexFor:
  403. + InterfacingObject class
  404. + Interpreter class
  405. + DocumentFragmentTag class
  406. + AbstractExporter class
  407. + PlatformInterface class
  408. - Node >> extent
  409. - JSStream >> nextPutStatement:with:
  410. - Smalltalk.installSuperclass()
  411. - ClassReferenceNode class (now handled via VariableNode)
  412. 0.11.0:
  413. * AnnouncementSubscription use #valuable: instead of #block: (deprecated)
  414. * AbstractCodeGenerator inherits from Object, not NodeVisitor
  415. * Object>>printString
  416. * replace >>printString with >>printOn:
  417. * replace >>storeString with >>printString
  418. * PackageLoader is now PackageHandler (>>commit: >>setupPackagenamed:prefix: >>ajaxPutAt:data:
  419. * Package>>fetch: is now Package>>load:
  420. * Package>>fetch:prefix: is now Package>>load:prefix:
  421. * Queue>>front replaced by Queue>>next
  422. * Queue>>frontIfAbsent: replaced by Queue>>nextIfAbsent:
  423. * Queue>>back: replaced by Queue>>nextPut:
  424. * smalltalk.addMethod() does not use explicit JS selector
  425. * JSObjectProxy>>canForwardMessage: replaced by use of JSObjectProxy>>lookupProperty: with asJavaScriptSelector
  426. * JSObjectProxy>>forwardMessage: replaced by explicit JSObjectProxy>>forwardMessage:withArguments:
  427. * String>>asJavaScriptSelector moved to Kernel-Objects package
  428. + Object>>asString
  429. + Object>>putOn:
  430. + String>>isVowel
  431. + Collection>>putOn:
  432. + CharacterArray>>putOn:
  433. + Stream>><<
  434. + Stream>>write
  435. + SequenceableCollection>>newStream
  436. + SequenceableCollection>>readStream
  437. + SequenceableCollection>>stream
  438. + SequenceableCollection>>streamClass
  439. + SequenceableCollection>>writeStream
  440. + Collection>>isImmutable
  441. + Stream>>nextPutString:
  442. + StringStream>>nextPutString:
  443. + JSStream>>nextPutClassRefFunction:
  444. + String>>crlfSanitized
  445. + inlined Block now also responds to >>value:
  446. + Parser: split literal into runtimeLiteral and parseTimeLiteral
  447. + Parser: write #(4 #(5 6 #()) 7) as #(4 (5 6 ()) 7)
  448. + Parser: write #(#on:do: #Object) as #(on:do: Object)
  449. + Parser: Symbols for binarie selectores
  450. + Package>>commit
  451. + AIContext>>initializeLocals
  452. + ASTInterpreter>>withBlockContext:
  453. + smalltalk.allSelectors()
  454. + Object>>isCompiledMethod
  455. + Object>>isPackage
  456. + Object>>isBehavior
  457. + ClassMoved Announcemen class
  458. + Behavior>>includesBehavior:
  459. + Environment>>classes
  460. + Environment>>allSelectors
  461. + Environment>>removeProtocol:
  462. + Environment>>renameProtocol:to:in:
  463. + CompiledMethod>>protocol:
  464. + Smalltalk>>globalJsVariables
  465. + Smalltalk>>addGlobalJsVariable:
  466. + Smalltalk>>deleteGlobalJsVariable:
  467. - Object>>storeOn:
  468. - Object>>log:block:
  469. - Object>>printNl
  470. - Compiler-IR.st >>javascriptSelector
  471. - Compiler-IR.st >>nextPutVar:
  472. - Kernel-Collections.st >>asSuperSelector
  473. - Collection>>readStream
  474. - Collection>>stream
  475. - Collection>>streamClass
  476. - Collection>>writeStream
  477. - Symbol class (replaced with String)
  478. - IRInlinedNonLocalReturn class
  479. - IRInlinedSend>>nonLocalReturnInliner
  480. - IRNonLocalReturnInliner class
  481. - Package>>dependencies
  482. - Package>>dependencies:
  483. - Package>>properties
  484. - Package>>jsProperties
  485. - Package>>jsProperties:
  486. - Package>>propertiesAsJSON
  487. - Package>>propertyAt:
  488. - Package>>propertyAt:ifAbsent:
  489. - Package>>propertyAt:put:
  490. - Browser>>ajaxPutAt:data: