2
0

API-CHANGES.txt 12 KB

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