Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump typedi from 0.8.0 to 0.9.1 #261

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 11, 2021

Bumps typedi from 0.8.0 to 0.9.1.

Changelog

Sourced from typedi's changelog.

0.9.1 - 2021.01.11

Fixed

  • correctly export error classes from package root

0.9.0 - 2021.01.10

BREAKING CHANGES

Unregistered types are not resolved

Prior to this version when an unknown constructable type was requested from the default container it was added automatically to the container and returned. This behavior has changed and now a ServiceNotFoundError error is thrown.

Changed container reset behavior

Until now resetting a container removed all dependency declarations from the container. From now on the default behavior is to remove the created instances only but not the definitions. This means requesting a Service again from the container won't result in a ServiceNotFoundError but will create a new instance of the requested function again.

The old behavior can be restored with passing the { strategy: 'resetServices'} to the ContainerInstance.reset function.

Changed

  • [BREAKING] unknown values are not resolved anymore (ref #87)
  • [BREAKING] resetting a container doesn't remove the service definitions only the created instances by default
  • [BREAKING] container ID can be string only now
  • default container ID changed from undefined to default
  • stricter type definitions and assertions across the project
  • updated the wording of ServiceNotFoundError to better explain which service is missing (#138)
  • updated various dev-dependencies
  • various changes to project tooling

Fixed

  • fixed a bug where requesting service with circular dependencies from a scoped container would result in Maximum call stack size exceeded error (ref #112)
  • fixed a bug where @Inject-ed properties were not injected in inherited child classes (ref #102)
  • fixed a typing issue which prevented using abstract class as service identifier (ref #144)
  • fixed a bug which broke transient services when Container.reset() was called (ref #157)
  • fixed some typos in the getting started documentation
Commits
Maintainer changes

This version was pushed to npm by typestack-release-bot, a new releaser for typedi since your current version.


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 will merge this PR once CI passes on it, as requested by @Alxzu.


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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot requested a review from a team as a code owner January 11, 2021 12:41
@dependabot-preview dependabot-preview bot requested review from alexfradiani, pablanco and diebarral and removed request for a team January 11, 2021 12:41
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 11, 2021
Copy link
Collaborator

@Alxzu Alxzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/typedi-0.9.1 branch from 84e61f0 to 65cb16c Compare January 13, 2021 12:24
Copy link
Collaborator

@Alxzu Alxzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@Alxzu Alxzu added the bug Something isn't working label Jan 15, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #282.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/typedi-0.9.1 branch January 18, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant