API-CHANGES.txt 11 KB

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