API-CHANGES.txt 12 KB

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