@nebular/security
Advanced tools
Changelog
6.2.0 (2020-09-25)
Please note required @angular/cdk
package version changed to 10.2.1
+.
<a name="6.1.0"></a>
Changelog
6.1.0 (2020-09-17)
<a name="6.0.1"></a>
Changelog
6.0.0 (2020-07-31)
NbIconLibraries.getSvgIcon
and NbIconLibraries.getIcon
could return null if icon wasn't found and won't throw. As methods don't throw now, you need to handle possible null
return value.NbBasePickerComponent
. If you use NbBasePicker
as a base class of your custom picker change it to NbBasePickerComponent
.<a name="5.1.0"></a>
Changelog
5.0.0 (2020-03-09)
requireValidToken
set to true by default.
Now if response contains invalid token NbAuthIllegalTokenError
is thrown.
To enable old behavior, set requireValidToken: false
in the auth strategy method config, e.g.:NbPasswordAuthStrategy.setup({
// ...
login: {
// ...
requireValidToken: false,
},
});
or
NbOAuth2AuthStrategy.setup({
// ...
authorize: {
// ...
requireValidToken: false,
},
});
Badge, button, progress bar, toastr components now use basic status as a default.
calendar:
NbCalendarHeaderComponent
removed. Along with that showHeader
property removed from following components:
NbBaseCalendarComponent
NbCalendarRangeComponent
NbCalendarComponent
NbBasePicker
NbBasePickerComponent
medium
and size-medium
css classes were removed along with medium
/isMedium
properties from the following classes:
NbCalendarDayPickerComponent
NbCalendarMonthPickerComponent
NbCalendarYearPickerComponent
NbBaseCalendarComponent
NbCalendarWeekNumberComponent
Properties date
, changeMode
, isRtl
removed from NbCalendarPageableNavigationComponent
File nb-calendar-week-number.component
renamed to calendar-week-number.component
YEARS_IN_VIEW, YEARS_IN_ROW
constants removed. Use NbCalendarYearModelService
s getYearsInView
and getRowInView
methods.
NbCalendarNavigationComponent
replaced with NbCalendarViewModeComponent
.
initYears
method removed from NbCalendarYearPickerComponent
.
calendar-range-cells.ts
file split into calendar-range-day-cell.component.ts
, calendar-range-month-cell.component.ts
and calendar-range-year-cell.component.ts
.
Following theme properties were removed:
calendar-body-height
calendar-header-text-color
calendar-header-text-font-family
calendar-header-title-text-font-size
calendar-header-title-text-font-weight
calendar-header-title-text-line-height
calendar-header-sub-title-text-font-size
calendar-header-sub-title-text-font-weight
calendar-header-sub-title-text-line-height
calendar-navigation-button-width
calendar-large-body-height
calendar-cell-in-range-background-color
calendar-cell-disabled-background-color
datepicker-text-color
datepicker-arrow-size
cdk: NbPlatform and NbScrollStrategyOptions from theme/components/cdk/overlay/mapping.ts removed. Use NbPlatform from theme/components/cdk/platform/platform-service.ts and NbScrollStrategyOptions from theme/components/cdk/adapter/block-scroll-strategy-adapter.ts. NbPlatformModule removed.
select: select-option-*
theme properties renamed to option-
. nb-option
and nb-option-group
components moved to own options
directory.
select: Generic value type removed from NbSelectComponent.
Angular: Nebular packages now require Angular 9+.
tslib: We no longer have a direct dependency on tslib. Instead it is now listed a peerDependency. This matches Angular framework. Users not using the Angular CLI will need to manually install tslib via:
yarn add tslib
# or
npm install tslib --save
<a name="4.6.0"></a>