API-CHANGES.txt 12 KB

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