Repository navigation
Minor Changes
-
#99
a36e7d8Thanks @Fausto95! -lucent doctorreads the app's build: the steps the last build failed at (an Android dependency conflict, with its log), why steps ran again, a platform this JavaScript was built without, and whether the newest Xcode or Gradle build of the app was built from these sources, judged as the app judges it -
#102
296d799Thanks @Fausto95! - Offer quick fixes in the editor where a diagnostic's fix is exact (a thrown string becomes an Error, a copied prop is read in place, a missing module import is added), and name what each SDK class and member calls natively in its doc comment, so hover andlucent sdk showsay where it comes from -
#103
733d318Thanks @Fausto95! - Every command's--jsonnow writes one JSON document described by a published schema (explain,new moduleandcleangained one), or is refused with exit code 2 by commands without JSON output (init,dev,trace), and errors under--jsongo to stderr instead of being dropped -
#88
cb08732Thanks @Fausto95! - Show a native view's children by condition ({cond && <X />},{c ? <X /> : <Y />}) and as keyed lists ({items.map((item) => <X key={item.id} />)}), keeping each kept item's view, and accept a quoted value for an Android setter prop (text="note") -
#97
c737a47Thanks @Fausto95! - Lay out native view JSX with React Native's Yoga:<Flex style={{ flexDirection: "row", gap: 8 }}>fromlucent:uiplaces its children, each child'slayout={{ flexGrow: 1 }}places it, and native containers (stack views, LinearLayouts) keep laying out their own -
#98
c896eb6Thanks @Fausto95! - Report coverage of every SDK module withlucent sdk coverage --all(modules the extractor cannot read are listed, not fatal), and append a markdown summary of why members are left out with--summary <file>
Patch Changes
-
#87
2bffa45Thanks @Fausto95! - Declare the initializers an iOS class inherits through a superclass that inherits them too (init(coder:)onUIWindowScene.ActivationAction) on every build, not only when the SDK's classes happen to be read in order -
#85
36064d4Thanks @brunokiafuka! - Keep every Swift overload of one name that a Swift overlay gives an Objective-C class:NSCoder.decodeTopLevelObject(forKey:)andRunLoop.schedule(after:tolerance:options:_:)were dropped beside their first overload. A Swiftinoutparameter is now skipped with its reason, instead of binding the member as if it took a value and generating a shim that does not compile. -
#92
9ced06cThanks @brunokiafuka! - Call an arrow function passed straight tosort,map,filter,forEach,reduceand the like directly, instead of through a function value:sortNumbersruns 1.4x faster, and generated code is smaller. -
#100
62b6f69Thanks @Fausto95! - Read uint32 values back out of anumber[]without mispredicting (crc32runs 1.8x faster), and index arrays with anumberwithout a C library call on x86-64 hosts without SSE4.1, which madesievefar slower on Linux CI. -
#93
93ecab0Thanks @brunokiafuka! - Keep arithmetic whose range is proven, such assum = (sum + x) % m, in integer registers:xorshiftruns 3x faster. Arithmetic that could give -0, NaN or a value past 2^53 stays a double. -
#90
eb6975bThanks @brunokiafuka! - Make strings cheaper: each is one allocation, or none up to 15 Latin-1 characters, and short strings compare and hash faster asMapkeys;joinallocates once. ThestringsandwordCountbenchmark kernels run 1.5–1.8x faster.