API-CHANGES.txt 12 KB

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