API-CHANGES.txt 15 KB

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