API-CHANGES.txt 12 KB

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