2
0

API-CHANGES.txt 12 KB

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