1
0

API-CHANGES.txt 12 KB

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