API-CHANGES.txt 12 KB

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