API-CHANGES.txt 12 KB

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