Skip to content

Releases: fantom-lang/fantom

Fantom 1.0.80

23 Apr 14:47
Compare
Choose a tag to compare

Build 1.0.80 (23 Apr 2024)

  • New ECMA class-based JavaScript design
  • Move fwt pods into separate repo
  • Crypto JWT and JWK APIs
  • Actor queue overflow limits
  • Add Doc.elemFromPos, elemsFromPos
  • Add Event.keyChar
  • Add new dom HttpSocket API
  • New concurrent Lock API
  • Add Graphics.drawEllipse,fillEllipse
  • Add Image.render and Image.write
  • Fixes for Crypto EC keypair support
  • Fix Time.minus 24hr boundary checks
  • Allow mixins to have non-abstract fields if no storage required
  • Fix Color HSL implementation to match browser behavoir
  • Add MimeType.isText
  • Add util::LockFile
  • Redesign ES compiler to not generate code for every pod
  • Include TypeScript decl file in pods with JS code
  • Prompt support for jline 3
  • #2909 RGB to HSL conversion
  • #2912 remove Future.state

Fantom 1.0.79

17 Jul 22:04
Compare
Choose a tag to compare

Build 1.0.79 (17 Jul 2023)

  • New yaml API
  • Zip.readEach, Zip.unzipInto
  • StrBuf.reverse
  • List.eachNotNull
  • Env.path
  • New util::FileLoc class
  • IpInterface.prefixSize
  • HttpReq.postFormMultipart
  • Convert File.copy to use NIO
  • Add WebRes.statusPhrase
  • Add Win.clipboardReadText,clipboardWriteText
  • Date toLocale support for quarter
  • Fix charset handling on wrapped InStreams
  • Enhance compiler to allow covariant dynamic calls
  • Elem.closest
  • Event.relatedTarget
  • New BuildPod "js" target to stage for Node.JS
  • JS support for file API when running in Node.JS
  • Deprecate Future.state in favor of Future.status

Fantom 1.0.78

26 Apr 12:49
Compare
Choose a tag to compare

Build 1.0.78 (26 Apr 2022)

  • New graphics APIs: GraphicsEnv, Graphics, Image, Stroke, Paint
  • Canvas rendering via Elem.renderCanvas
  • New Java2D graphics implementation
  • Deprecate Font.metrics & DeviceContext in favor of Graphics.metrics
  • Deprecate Int/Float clip in favor of clamp
  • Duration.clamp
  • Str.eachWhile
  • WebOutStream.main
  • ConcurrentMap.getAndSet
  • dom: ResizeObserver

Fantom 1.0.77

02 Sep 14:49
Compare
Choose a tag to compare

Build 1.0.77 (2 Sep 2021)

  • Distribution zip now shipped without tests
  • List groupBy, groupByInto
  • Move examples/js/ -> examples/webfwt/
  • Env.compileScriptToJs
  • Add new examples/js/ sample code for different JS use cases
  • New WebOutStream.initJs that deprecates WebUtil.jsMain
  • Move obix out of Fantom into Haxall repo
  • js: New formal Env.var initialization design for JS
  • js: TimeZone.cur now defaults to Env.var or queries browser for best match
  • js: Locale.cur can now be defaulted via Env.var
  • New asn1 pod
  • New crypto pod
  • New SocketConfig and TLS support in inet
  • #2652: List.groupBy()
  • #2798: JS Test Code

Fantom 1.0.76

10 May 15:48
Compare
Choose a tag to compare

Build 1.0.76 (10 May 2021)

  • Allow This to be in any func param position as method param
  • Allow once methods to be used on const classes
  • Add once as new fcode bitmask flag 0x80000
  • BoolArray clear, eachTrue, getAndSet
  • Int.clip, Float.clip
  • dom: Elem.fromNative fix if already Elem instance
  • domkit: SashBox.onSashResize
  • WebClient.authBasic
  • Minor enhancements to compilerDoc APIs
  • #2488: Javascript - No warnings on func params
  • #2820: Proposal: once methods on const classes

Fantom 1.0.75

24 Aug 14:19
Compare
Choose a tag to compare

Build 1.0.75 (24 Aug 2020)

  • Move repo from BitBucket to GitHub
  • List addNotNull, mapNotNull, findNotNull
  • Map addNotNull, mapNotNull, findNotNull
  • Deprecated List.addIfNotNull, Map.addIfNotNull
  • domkit: Add DropTarget.onLeave callback
  • Updates to original documentation
  • Actors now yield based on time instead of msg count
  • Actor improved diagnostics
  • ActorPool.balance experimental method
  • Future is now abstract
  • Pod flattenDepends, orderByDepends
  • Remove JS fixed sourceMappingURL in favor of SourceMap header
  • New web::FilePack class
  • Add opts to Zip.writeNext
  • New math pod
  • #2428: Remove actor message serialization
  • #2669: js: Ordered map is unordered after serialization
  • #2726: Serialising Nested Maps
  • #2770: JS: Type methods (undefined)
  • #2781: Proposal to remove Xmx512M as default option
  • #2809: JS: Depend.equals()
  • #2810: JS: Decimal.toStr()

Fantom 1.0.74

09 Mar 16:15
Compare
Choose a tag to compare

To run this build on Java now requires Java 8 or higher. We have built sys.jar and other Java bytecode to target Java 8 (classfile version 52.0).

Build 1.0.74 (2 Mar 2020)

  • Java 8 runtime required
  • Compiler support for Jigsaw Java 9+
  • Binary integer literals prefixed with "0b"
  • List/Map addIfNotNull
  • Buf.bytesEqual
  • Env.indexPodNames
  • dom: HttpReq.send support for sending DomFile as raw content
  • dom: HttpReq.onProgress callback
  • dom: allow Dialog.title to take Elem content in addition to Str label
  • dom: Event.fromNative
  • dom: Elem.scrollIntoView
  • domkit: Dnd support for DomFiles
  • domkit: DragTarget.onDragImage
  • Enhance Regex to support cross-platform flags
  • Update timezone database to tzinfo 2019c
  • web: WebRes.removeCookie
  • #2673: JS: Unimplemented methods on Pod.js
  • #2760: JS: Backwards compatibility issue
  • #2784: fan.sys.FileBuf.toDigest() bug