Skip to content

build(deps): bump @ng-bootstrap/ng-bootstrap from 9.1.0 to 10.0.0 in /{{ cookiecutter.project_slug }}#803

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/{{-cookiecutter.project_slug-}}/ng-bootstrap/ng-bootstrap-10.0.0
Open

build(deps): bump @ng-bootstrap/ng-bootstrap from 9.1.0 to 10.0.0 in /{{ cookiecutter.project_slug }}#803
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/{{-cookiecutter.project_slug-}}/ng-bootstrap/ng-bootstrap-10.0.0

Conversation

@dependabot-preview
Copy link
Contributor

Bumps @ng-bootstrap/ng-bootstrap from 9.1.0 to 10.0.0.

Release notes

Sourced from @​ng-bootstrap/ng-bootstrap's releases.

10.0.0

This release adds Angular 12 support

BREAKING CHANGES

  • datepicker: The deprecated datepicker @Input() showWeekdays: boolean is removed from NgbDatepicker and NgbInputDatepicker. It was replaced by @Input() weekdays: TranslationWidth | boolean; that also accepts TranslationWidth if necessary.

BEFORE:

<!-- datepicker -->
<ngb-datepicker [showWeekdays]="true"></ngb-datepicker>
<input ngbDatepicker [showWeekdays]="true"></input>

<!-- datepicker config --> constructor(config: NgbDatepickerConfig) { config.showWeekdays = true; }

AFTER:

<!-- datepicker -->
<ngb-datepicker [weekdays]="true"></ngb-datepicker>
<input ngbDatepicker [weekdays]="true"></input>

<!-- datepicker config --> constructor(config: NgbDatepickerConfig) { config.weekdays = TranslationWidth.Short; }

  • datepicker: This change concerns you if you're creating custom datepicker calendars and i18ns.

The deprecated datepicker getWeekdayShortName(weekday: number): string; is removed from NgbDatepickerI18n. It was replaced by getWeekdayLabel(weekday: number, width?: TranslationWidth): string; to add TranslationWidth option and align naming.

BEFORE:

@Injectable()
export class MyDatepickerI18n extends NgbDatepickerI18n {
  getWeekdayShortName(weekday: number) { return 'your weekday short name'; }
}

AFTER:

@Injectable()
export class MyDatepickerI18n extends NgbDatepickerI18n {
  getWeekdayLabel(weekday: number, width?: TranslationWidth) { return 'your weekday short name'; }
}
</tr></table> 

... (truncated)

Changelog

Sourced from @​ng-bootstrap/ng-bootstrap's changelog.

10.0.0 (2021-07-01)

This release adds Angular 12 support

BREAKING CHANGES

  • datepicker: The deprecated datepicker @Input() showWeekdays: boolean is removed from NgbDatepicker and NgbInputDatepicker. It was replaced by @Input() weekdays: TranslationWidth | boolean; that also allows providing TranslationWidth if necessary.

BEFORE:

<!-- datepicker -->
<ngb-datepicker [showWeekdays]="true"></ngb-datepicker>
<input ngbDatepicker [showWeekdays]="true"></input>

<!-- datepicker config --> constructor(config: NgbDatepickerConfig) { config.showWeekdays = true; }

AFTER:

<!-- datepicker -->
<ngb-datepicker [weekdays]="true"></ngb-datepicker>
<input ngbDatepicker [weekdays]="true"></input>

<!-- datepicker config --> constructor(config: NgbDatepickerConfig) { config.weekdays = TranslationWidth.Short; }

  • datepicker: This change concerns you if you're creating custom datepicker calendars and i18ns.

The deprecated datepicker getWeekdayShortName(weekday: number): string; is removed from NgbDatepickerI18n. It was replaced by getWeekdayLabel(weekday: number, width?: TranslationWidth): string; to add TranslationWidth option and align naming.

BEFORE:

@Injectable()
export class MyDatepickerI18n extends NgbDatepickerI18n {
  getWeekdayShortName(weekday: number) { return 'your weekday short name'; }
}

AFTER:

@Injectable()
export class MyDatepickerI18n extends NgbDatepickerI18n {
  getWeekdayLabel(weekday: number, width?: TranslationWidth) { return 'your weekday short name'; }
</tr></table> 

... (truncated)

Commits
  • 11708c8 docs: release 10.0.0
  • 08886af build: make tslib dependency less restrictive
  • 98d5cd8 docs: add version 10 requirements to the getting started page
  • a0789b3 build(schematics): bump to version 10
  • 84d302c demo: fix deprecated router.isActive() call (#4117)
  • 9e208a3 build: remove deprecated --prod option (#4115)
  • f5f0cb1 feat(datepicker): remove deprecated getWeekdayShortName method
  • 9dd1a25 feat(datepicker): remove deprecated showWeekdays input
  • c5eea2e docs: update readme to include v10
  • f8761eb fix(schematics): use instead of deprecated id schema key
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [@ng-bootstrap/ng-bootstrap](https://github.com/ng-bootstrap/ng-bootstrap) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/ng-bootstrap/ng-bootstrap/releases)
- [Changelog](https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CHANGELOG.md)
- [Commits](ng-bootstrap/ng-bootstrap@9.1.0...10.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants