API-CHANGES.txt 12 KB

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