API-CHANGES.txt 12 KB

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