datashape: Record api changed