From 5ba964341803a5b6ef60a4ab1f015787d0729c86 Mon Sep 17 00:00:00 2001 From: Priyanka Terala <104053200+Terala-Priyanka@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:59:01 +0530 Subject: [PATCH] Release v10.0.0 (#2569) * Release v10.0.0 * Release v10.0.0 --- CHANGELOG.md | 41 +++++++++++++++++++++------- package.json | 9 +++--- src/settings/AddressTypesSettings.js | 4 +-- yarn.lock | 2 +- 4 files changed, 39 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6fb9ca16..55750b931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,28 @@ # Change history for ui-users -## 10.0.0 IN PROGRESS +## [11.0.0] IN PROGRESS + +## [10.0.0](https://github.com/folio-org/ui-users/tree/v10.0.0) (2023-10-13) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v9.0.3...v10.0.0) * Add STATUS FILTER to LOST ITEMS REQUIRING ACTUAL COST processing page. Refs UIU-2748. -* Correctly handle removing all permissions from given user. Fixes UIU-2822. -* Add "Status" filter to LOST ITEMS REQUIRING ACTUAL COST processing page. Refs UIU-2748. -* Fix problem with remaining amount (not shown correct value after filling the payment amount). Refs UIU-2812. * Add "Status" column to LOST ITEMS REQUIRING ACTUAL COST processing page. Refs UIU-2772. * Add "Lost items requiring actual cost" to Actions dropdown in User details record. Refs UIU-2810. * Add "Fee/fine details" to LOST ITEMS REQUIRING ACTUAL COST processing page. Refs UIU-2773. * Fix ability to remove all service points. Fixes UIU-2819. * Add close button to "Lost items requiring actual cost" page. Refs UIU-2813. -* Fix permission error when viewing fees/fines for payment. Refs UIU-2824. * Fix paths to `StripesContext`. Fixes UIU-2834. -* Support `feesfines` interface version `18.0`. Refs UIU-2825 +* Support `feesfines` interface version `18.0`. Refs UIU-2825. +* View a users affiliations accordion in the details pane. refs UIU-2821. * Update Jest from v26 to v29. Refs UIU-2820. -* A result is not displayed in list of permissions after clicking on the 'Search' button. Refs UIU-2835. * Get rid of blinking list on lost items page. Refs UIU-2831. +* configure Jest to leverage multi-core CPUs in CI. Refs UIU-2842. * Add actual cost details to lost items requiring actual cost processing page. Refs UIU-2774. * Display `expirationDate` based on the current timezone. Refs UIU-2839. * Assign/unassign users affiliations. Refs UIU-2801. * View affiliation associated permissions. Refs UIU-2800. * Confirmation modal for manual anonymization. Refs UIU-1631. +* Fix translations. Refs UIU-2854. * Fixed bug with certain accordions not closing in edit view. Refs UIU-2811. * Users: Implement search by middle name. Refs UIU-2860. * Notify patron checkbox not checked correctly when fee/fine owner has default notice. Refs UIU-2823. @@ -44,6 +45,8 @@ * Do not publish CI artifacts (e.g. test coverage) to NPM. * Make Limit menu visible if user has "ui-users.settings.limits.all" permission. Refs UIU-2880. * In loan history, older staff notes should NOT be marked as "SUPERSEDED". Fixes UIU-2891. +* Create Jest/RTL test for BlockTemplateForm.js. Refs UIU-2402. +* create Jest/RTL test for BlockTemplates.js. Refs UIU-2379. * Users with view-only access to user permissions and access to edit user records get error message when saving a user record. Refs UIU-2885. * Use new WSAPI for adding patron/staff notes to loans. Fixes UIU-2893. **Note.** The new requirement of the `add-info` interface is a breaking change. * Modify add-patron/staff-info permission to use new subpermission. Fixes UIU-2895. @@ -51,7 +54,6 @@ * Handle sparse data in "Overdue loans report". Fixes UIU-2901. * Update translations text for permission.settings.manual-charges.all. Fixes UIU-2908. * Rename user setting permissions disaplay name and update their visibility. Refs UIU-2907. -* Convert primary search listing to use prev/next pagination vs load-more pagination. Refs UIU-2870. * Cleanup User Settings permissions – Part 1. Refs UIU-2906 * Prevent editing of shared settings from outside "Consortium manager". Refs UIU-2914. * User settings > Fee/fine section: Disable editing for users with "Setting (Users): View all settings" permission. Refs UIU-2904. @@ -61,7 +63,10 @@ * Convert primary search listing to use prev/next pagination vs load-more pagination. Refs UIU-2870. * Add permisson check to edit Patron block conditions in user settings. Refs UIU-2911. * Add permissions check to edit Limits in user settings. Refs. UIU-2912. +* Restrict edit of Patron Block Templates in settings based on permissions check. UIU-2913. * User settings > Comment required: Disable editing for users with "Setting (Users): View all settings" permission. Refs UIU-2905. +* Add permission checks to address types, patron groups pages to restrict edit. Refs. UIU-2902. +* Hebis: Modify "Overdue Loans Report" to include reminder fee information. Refs. UIU-2588. * Display assigned users accordion on Permission set. Refs UIU-2872. * Add support for `request-storage` version `6.0` for ``. Refs UIU-2920. * Add permisison checks to restrict edit on Manual charges settings page. Ref. UIU-2903. @@ -74,7 +79,7 @@ * Update Node.js to v18 in GitHub Actions. Refs. UIU-2927. * Add PULL_REQUEST_TEMPLATE.md file to the repository. Refs. UIU-2918. * Adjust `loans.staffInfoDialogBody` translation. Refs. UIU-2922. -* *BREAKING* Upgrade React to v18. Refs-UIU-2912. +* *BREAKING* Upgrade React to v18. Refs-UIU-2921. * ECS - Do not display shadow users in search results. Refs UIU-2933. * User can't pay the fee/fine. Refs UIU-2930. * Sort proxies and sponsors by user display name. Refs UIU-2799. @@ -90,6 +95,23 @@ * ECS - Prevent editing of specific shadow user data. Refs UIU-2951. * Fix user can not renew the loan through the override. Refs UIU-2948. +## [9.0.3](https://github.com/folio-org/ui-users/tree/v9.0.3) (2023-03-31) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v9.0.2...v9.0.3) + +* A result is not displayed in list of permissions after clicking on the 'Search' button. Refs UIU-2835. + +## [9.0.2](https://github.com/folio-org/ui-users/tree/v9.0.2) (2023-03-29) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v9.0.1...v9.0.2) + +* Fix permission error when viewing fees/fines for payment. Refs UIU-2824. + +## [9.0.1](https://github.com/folio-org/ui-users/tree/v9.0.1) (2023-03-28) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v9.0.0...v9.0.1) + +* Fix problem with remaining amount (not shown correct value after filling the payment amount). Refs UIU-2812. +* Correctly handle removing all permissions from given user. Fixes UIU-2822. + + ## [9.0.0](https://github.com/folio-org/ui-users/tree/v9.0.0) (2023-02-20) [Full Changelog](https://github.com/folio-org/ui-users/compare/v8.1.0...v9.0.0) @@ -123,7 +145,6 @@ * Allow proxy/sponsor lists to be emptied completely. Refs UIU-2804. * Show an error if the proxy record is corrupt, instead of an NPE. Refs UIU-2803. * Create Jest/RTL test for LoanDetails.js. Refs UIU-2428. -* Add permission checks to address types, patron groups pages to restrict edit. Refs. UIU-2902. ## [8.2.0](https://github.com/folio-org/ui-users/tree/v8.2.0) (2022-10-24) [Full Changelog](https://github.com/folio-org/ui-users/compare/v8.1.0...v8.2.0) diff --git a/package.json b/package.json index 70b408886..50c168b23 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,11 @@ ], "okapiInterfaces": { "add-info": "0.1", - "users": "15.0 16.0", + "users": "16.0", "configuration": "2.0", - "permissions": "5.5", - "login": "6.0 7.0", - "users-bl": "5.0 6.0", + "permissions": "5.6", + "login": "7.3", + "users-bl": "6.1", "tags": "1.0" }, "optionalOkapiInterfaces": { @@ -1025,6 +1025,7 @@ "formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-users ./translations/ui-users/compiled" }, "devDependencies": { + "@aashutoshrathi/word-wrap": "^1.2.6", "@babel/core": "^7.21.4", "@babel/eslint-parser": "^7.15.0", "@babel/plugin-proposal-class-properties": "^7.13.0", diff --git a/src/settings/AddressTypesSettings.js b/src/settings/AddressTypesSettings.js index 248c6063b..9f9c41d40 100644 --- a/src/settings/AddressTypesSettings.js +++ b/src/settings/AddressTypesSettings.js @@ -49,8 +49,8 @@ class AddressTypesSettings extends React.Component { sortby="addressType" canCreate={hasCreatePerm} actionSuppressor={{ - delete: item => !hasDeletePerm, - edit: (item) => !hasEditPerm, + delete: _ => !hasDeletePerm, + edit: _ => !hasEditPerm, }} /> ); diff --git a/yarn.lock b/yarn.lock index b9e1e103b..bed64eb34 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@aashutoshrathi/word-wrap@^1.2.3", "word-wrap@npm:@aashutoshrathi/word-wrap@^1.2.6": +"@aashutoshrathi/word-wrap@^1.2.3", "@aashutoshrathi/word-wrap@^1.2.6", "word-wrap@npm:@aashutoshrathi/word-wrap@^1.2.6": name word-wrap version "1.2.6" resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf"