Skip to content

Latest commit

 

History

History
241 lines (153 loc) · 9.81 KB

CHANGELOG.md

File metadata and controls

241 lines (153 loc) · 9.81 KB

Change Log

Find all notable changes of this project in this file.

v2.3.0 - 2024-06-28

Improvements

  • #142 Add support for React Admin v5 @slax57
  • updated dependencies

v2.2.0 - 2024-06-28

Improvements

  • #123 Adding global sort order options @kav

v2.1.0 - 2024-02-27

Improvements

  • updated dependencies

Fixes

  • #123 Modifying update call to only update changed fields @kav

v2.0.0 - 2023-12-29

Improvements

  • updated dependencies

Fixes

Breaking changes

  • the fix in this version might break old versions, as the {} are removed. Thus, one needs to manually add the {} for cs/cd.

v2.0.0-alpha.4 - 2023-10-23

Improvements

  • updated dependencies

New feature

  • #100 support "meta.columns" on all code paths (useful when the user does not have permissions on all the columns in which case doing select=* gives permissions errors) - @ruslantalpa

Fixes

v2.0.0-alpha.3 - 2023-06-16

Improvements

  • updated dependencies

New feature

Fixes

Breaking changes

  • Changed from from regular parameters to instantiate the dataProvider to a configuration interface/class. Thus, in future initalize the dataProvider by creating a structure which implements the interface:
import { fetchUtils } from 'react-admin';
import postgrestRestProvider, 
    { IDataProviderConfig, 
      defaultPrimaryKeys, 
      defaultSchema } from '@raphiniert/ra-data-postgrest';

const config: IDataProviderConfig = {
    apiUrl: 'http://path.to.my.api/',
    httpClient: fetchUtils.fetchJson,
    defaultListOp: 'eq',
    primaryKeys: defaultPrimaryKeys,
    schema: defaultSchema
}

dp = postgrestRestProvider(config);

v2.0.0-alpha.2 - 2023-04-24

Improvements

  • updated dependencies

New feature

  • #49, custom schema name can be used

v2.0.0-alpha.1 - 2023-04-09

Improvements

  • updated dependencies
  • updated urlBuilder and integrated URL encoding

New feature

v1.2.1 - 2023-04-07

  • small fix in condition
  • fixed package name

v2.0.0-alpha.0 - 2022-11-23

Breaking changes

  • dropped authProvider as this should rather be an own package in case of a generic piece of software or application specific.

v1.2.0 - 2022-08-23

v1.1.9 - 2022-08-23

  • #30, updated ts and modified code, such that some package dependencies became unrequired - @corrideat

v1.1.8 - 2022-01-07

  • required re-release as I missed to transpile all and upload the features of 1.1.7 to npm.

v1.1.7 - 2022-01-07

Fixes

New feature

v1.1.6 - 2021-01-16

Fixes

v1.1.5 - 2021-01-16

Fixes

  • fixed query string generation of rpc endpoints issue #22

Breaking changes

  • Support was dropped for generating the query string given many ids in case of an rpc endpoint. If your application has some psql functions which parse the standard input, I recommend to rework your db design. If this change causes strong damage to your application, please contact me in order to find a proper generic solution. Query strings of single rpc calls now drop the operator (eq.) and are generated properly.

v1.1.4 - 2021-01-16

  • deployment error

v1.1.3 - 2020-11-30

Fixes

  • #20, fixed small bug in update - @mkkane
  • removed console log

v1.1.2 - 2020-10-05

Fixes

  • fixed the last fix of getMany and getManyReferecnce for compound keys :)

v1.1.1 - 2020-09-28

Fixes

  • fixed getMany and getManyReferecnce for compound keys

v1.1.0 - 2020-09-16

Fixes

  • removed requirement to define order key in react admin, when using compound keys: default was id, now it's the compound key

Breaking changes

  • refactored compound primary keys: For single custom keys wrap an array as follows:
    const dataProvider = postgrestRestProvider(
        API_URL,
        fetchUtils.fetchJson,
        'eq',
        new Map([
            ['some_table', ['custom_id']], // <- instead of ['some_table','custom_id']
            ['another_table', ['first_column', 'second_column']],
        ])
    );

v1.0.7 - 2020-08-23

New feature

Maintenance

  • import React from 'react'; -> import * as React from 'react';
  • Some minor code cleanup

v1.0.6 - 2020-06-15

Fixes

v1.0.5 - 2020-06-15

Fixes

v1.0.4 - 2020-06-08

Fixes

  • Fixed missing js files in npm package #8
  • #9, Fixed typo in readme - @seclace

v1.0.3 - 2020-05-17

Fixes

v1.0.2 - 2020-03-10

Fixes

  • #4, Fixed bug while using ReferenceField with UUID - @xero88

v1.0.1 - 2020-02-01

  • initial release