v0.64.0 - FlameFrame extends BareFrame (2026-04-04)¶
What Changed?¶
FlameFrame now extends BareFrame directly, so frame.length, frame.headers,
and all other BareFrame properties and methods are available directly on frame.
FlameFrame.from now returns only valid rows in frame; rows that failed schema guards
are excluded and recorded in errors with their original row index from the source df.
What's New¶
Main Feature: FlameFrame as a BareFrame subclass¶
What it does:
FlameFrame<T> now extends BareFrame.
frame contains only rows that passed all schema guards.
errors records which rows and columns failed, using the original row index from df.
How to use it:
JavaScript
const df = gaslamp.BareFrame.fromSheet(sheet);
const { frame, errors } = gaslamp.FlameFrame.from(df, {
name: gaslamp.FlameGuards.isString,
age: gaslamp.FlameGuards.isNumber,
});
// frame exposes BareFrame properties directly
Logger.log(frame.length); // number of valid rows
Logger.log(frame.headers); // column names
if (errors.hasErrors) {
// errors.rowIndex refers to the original df row
Logger.log(errors.toDataFrame().toString());
}
// frame contains only valid rows — safe to write directly
frame.toSheet(outputSheet);
Added¶
unfoldColumnsuser guide (docs/guides/unfold.md)displayuser guide (docs/guides/display.md)- BareFrame-First Design developer guide (
docs/dev/guides/bareframe.md)
Changed¶
FlameFrame<T>now extendsBareFrame—frame.length,frame.headers, and all otherBareFramemethods are accessible directly onframeFlameFrame.fromreturns only valid rows inframe; previously all rows were includederrors.rowIndexrefers to the original sourceBareFramerow indexBareFrameconstructor changed toprotectedto support subclassingBareFrame.getData()added as aprotected staticaccessor for subclassesFlameFrame.toString()andFlameFrame.toSheet()removed (inherited fromBareFrame)FlameFrame.toDataFrame()retained for backward compatibility
Is It Safe to Upgrade?¶
- Breaking Changes: Yes
- Backward Compatible: Partial
Existing code that calls frame.toDataFrame() continues to work.
Code that assumed frame contained all rows (including invalid ones) will see different behavior —
frame now contains only valid rows.
Release Details¶
- Date: 2026-04-04
- Version: v0.64.0
- gaslamp: 123
- pilotlamp: 81
- Commits:
e22d8617feat(torch): FlameFrame extends BareFrame; from returns valid rows only894140b6docs(torch): update FlameFrame docstrings for extends redesign59e70d6edocs(guides): add unfold.md and register in nav and index32ee18f2docs(getting-started): update README to BareFrame-first5cb01be7docs(guides): rewrite display.md0ffa68bbdocs(guides): simplify dataframe.md96ddf03bdocs(installation): replace FlameFrame.fromArrays with BareFrame-first patternde61e13bdocs(dev/guides): add BareFrame-first design guide
Next Steps¶
- Update user guides (
flameframe.md) to reflect the newframe.length/frame.headersusage