Skip to content

Releases: SoftwareBrothers/adminjs

v4.0.0-beta.3

14 Apr 13:53
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

4.0.0-beta.3 (2021-04-14)

Features

  • add navigation: false option to hide resource from nav bar (1647c3a), closes #749

v4.0.0-beta.2

14 Apr 07:00
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2021-04-14)

Bug Fixes

  • frontend: hide label in show record (da14a50)
  • add newline at end of file (03cc2cf)
  • expose bulkDelete action in ActionsMap (edf8cb5)
  • import error (148f023)
  • remove changes in availableValues (192ee5a)

v4.0.0

13 Apr 08:48
Compare
Choose a tag to compare

4.0.0 (2021-04-13)

Bug Fixes

  • add a param to ignore old params in redirect urls (5b0deb7)
  • call new simplified create() method on save (afb5883)
  • fix an issue where mixed type would add another nesting layer (0e19886)
  • Revert yarn.lock (a4b69d6)
  • temporarily set i18next to fixed v19.8.7 (379e502)
  • use design system >v1.7.3 to fix datepicker input issue (55d7699)
  • use the latest @admin-bro/design-system (2e79e0a)

Features

  • add drag and drop to allow to reorder array elements (d1c1213)
  • Allow sidebar override (d670a52)
  • move accessibility check to after before hook is called (58c809a)
  • store previous page url in location state when navigating (c73d1d0)

BREAKING CHANGES

  • This is to force major version release due to one of the changes in earlier commits.
    #765 fixed a bug where 'mixed' (JSON/JSON Array) properties would be nested under it's own name in the database.
    It also resulted in the property being displayed incorrectly in 'show' action view later.
    If you used 'mixed' type previously, you might need to migrate your database data to work with the improved syntax.
    Example resource config:
properties: {
  additional_data: { type: 'mixed' },
  'additional_data.label': { type: 'string' },
  'additional_data.value': { type: 'string' },
}

If the above config results in your data being saved as:

{ "additional_data": { "label": "test", "value": "test" } }

instead of

{ "label": "test", "value": "test" }

in your database under 'additional_data' column, an example migration for PostgreSQL would be:

UPDATE my_table_name
SET additional_data = jsonb_extract_path(additional_data, 'additional_data');

v4.0.0-beta.1

09 Apr 12:30
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2021-04-09)

Bug Fixes

  • use design system >v1.7.3 to fix datepicker input issue (55d7699)
  • use the latest @admin-bro/design-system (2e79e0a)

BREAKING CHANGES

  • This is to force major version release due to one of the changes in earlier commits.
    #765 fixed a bug where 'mixed' (JSON/JSON Array) properties would be nested under it's own name in the database.
    It also resulted in the property being displayed incorrectly in 'show' action view later.
    If you used 'mixed' type previously, you might need to migrate your database data to work with the improved syntax.
    Example resource config:
properties: {
  additional_data: { type: 'mixed' },
  'additional_data.label': { type: 'string' },
  'additional_data.value': { type: 'string' },
}

If the above config results in your data being saved as:

{ "additional_data": { "label": "test", "value": "test" } }

instead of

{ "label": "test", "value": "test" }

in your database under 'additional_data' column, an example migration for PostgreSQL would be:

UPDATE my_table_name
SET additional_data = jsonb_extract_path(additional_data, 'additional_data');

v3.4.0-beta.9

25 Mar 16:38
Compare
Choose a tag to compare
v3.4.0-beta.9 Pre-release
Pre-release

3.4.0-beta.9 (2021-03-25)

Bug Fixes

  • call new simplified create() method on save (afb5883)

v3.4.0-beta.8

09 Mar 11:11
Compare
Choose a tag to compare
v3.4.0-beta.8 Pre-release
Pre-release

3.4.0-beta.8 (2021-03-09)

Bug Fixes

  • temporarily set i18next to fixed v19.8.7 (379e502)

v3.4.0-beta.7

01 Mar 14:25
Compare
Choose a tag to compare
v3.4.0-beta.7 Pre-release
Pre-release

3.4.0-beta.7 (2021-03-01)

Features

  • store previous page url in location state when navigating (c73d1d0)

v3.4.0-beta.6

17 Feb 13:29
Compare
Choose a tag to compare
v3.4.0-beta.6 Pre-release
Pre-release

3.4.0-beta.6 (2021-02-17)

Features

  • add drag and drop to allow to reorder array elements (d1c1213)

v3.4.0-beta.5

15 Feb 09:14
Compare
Choose a tag to compare
v3.4.0-beta.5 Pre-release
Pre-release

3.4.0-beta.5 (2021-02-15)

Bug Fixes

  • fix an issue where mixed type would add another nesting layer (0e19886)

v3.4.0-beta.4

12 Feb 14:28
Compare
Choose a tag to compare
v3.4.0-beta.4 Pre-release
Pre-release

3.4.0-beta.4 (2021-02-12)

Bug Fixes

  • add a param to ignore old params in redirect urls (5b0deb7)