API-CHANGES.txt 12 KB

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