Lemmy.World

171,333 readers
7,231 users here now

The World's Internet Frontpage Lemmy.World is a general-purpose Lemmy instance of various topics, for the entire world to use.

Be polite and follow the rules โš– https://legal.lemmy.world/tos

Get started

See the Getting Started Guide

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Liberapay patrons

GitHub Sponsors

Join the team ๐Ÿ˜Ž

Check out our team page to join

Questions / Issues

More Lemmy.World

Follow us for server news ๐Ÿ˜

Mastodon Follow

Chat ๐Ÿ—จ

Discord

Matrix

Alternative UIs

Monitoring / Stats ๐ŸŒ

Service Status ๐Ÿ”ฅ

https://status.lemmy.world

Mozilla HTTP Observatory Grade

Lemmy.World is part of the FediHosting Foundation

founded 2 years ago
ADMINS
1
 
 

Changelog

v1.24.3 - 2024-04-06 - Aged Moon

The theme of this release is about stabilizing core APIs, cleaning them up, improving type safety and other related refactorings where needed. These changes make it clearer what types are accepted and removes some approaches that previously could be confusing to the API user, such as with contains(..) and invoke(..).

As part of this change, Unit, rather than null, is encouraged when clearing values (be that in a table/view or in meta classes). Nulls are still supported most places to clear values, but must now have a specified type.

The core APIs are unlikely to change drastically after this release, but new data types and new features are expected.

Added

  • Tighten equals checks with added support for contains across Table, Column, Row, Cell, and meta classes
  • Add source to tableView and make source on Table public
  • Cache transformed tables obtained via tableView[Table]
  • Various test case improvements, better coverage
  • Various related documentation improvements
  • Add asBoolean and asString on Cell

Fixed

  • Fix issue with BasicFunctions on cell clear + added tests
  • Tidy up some edge cases on Table related iterators
  • Avoid accidental column create when not wanted

Changed

  • Simplified registry interactions and how tables/views are initially created and then obtained again through Table[..]
  • Refactor transformer APIs and add support for TableTransformer, ColumnTransformer, and RowTransformer
  • Update column filter on load functions to match column transformer function
  • Change setters to accept nullable types, encourage use of Unit to reset
  • Simplify class structure by removing BaseTable, BaseColumn, and BaseRow
  • Change Cells constructor API to better match overall API with Cells[..]
  • Refactor invoke(..) for better type safety and a more intuitive API
  • Tighten acceptable types in contains(..) functions
  • Allow columns to recreate themselves if needed

Removed

  • Nothing
2
 
 
view more: next โ€บ