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

urlContainsHash removed from public API #1151

Closed
4 of 5 tasks
anton-gorbikov opened this issue Dec 11, 2019 · 2 comments · Fixed by #1202
Closed
4 of 5 tasks

urlContainsHash removed from public API #1151

anton-gorbikov opened this issue Dec 11, 2019 · 2 comments · Fixed by #1202
Assignees
Labels
bug A problem that needs to be fixed for the feature to function as intended. p1 P1 and P2 are priorities of the bug. P1 bugs should get Fixed/Closed within 4 weeks. work-in-progress Issue or PR is not finished.
Milestone

Comments

@anton-gorbikov
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

  • Chrome version XX
  • Firefox version XX
  • IE version XX
  • Edge version XX
  • Safari version XX

Library version


Library version: 1.2.0

Current behavior

urlContainsHash is missing in the public API

Expected behavior

  1. urlContainsHash removal should be mentioned as a breaking change;
  2. Informational messages about isCallback deprecation should not be logged as public API doesn't contain other options.

Minimal reproduction of the problem with instructions

In version 1.1.3 calling isCallback function resulted in informational message: isCallback will be deprecated in favor of urlContainsHash in MSAL.js v2.0.. We've changed the isCallback function to urlContainsHash. But in version 1.2.0 this function was removed from the UserAgentApplication prototype.

@sameerag
Copy link
Member

sameerag commented Dec 11, 2019

@anton-gorbikov Thanks for bringing this to our notice. This was an unintended side-effect of a code consolidation made for url helper functions. Can this wait until the next release or would you need a patch?

@sameerag sameerag added Issue Triage The engineering team has looked into the issue, understood the issue and classified the issue. bug A problem that needs to be fixed for the feature to function as intended. labels Dec 11, 2019
@anton-gorbikov
Copy link
Author

@sameerag Thanks for quick reply and confirming that it's unintended. As for me it can wait. The change in the code was minimal, I just replaced urlContainsHash back to isCallback.

@jasonnutter jasonnutter added this to the January 2020 milestone Jan 9, 2020
@jasonnutter jasonnutter added p1 P1 and P2 are priorities of the bug. P1 bugs should get Fixed/Closed within 4 weeks. and removed Issue Triage The engineering team has looked into the issue, understood the issue and classified the issue. labels Jan 9, 2020
@sameerag sameerag added the work-in-progress Issue or PR is not finished. label Jan 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug A problem that needs to be fixed for the feature to function as intended. p1 P1 and P2 are priorities of the bug. P1 bugs should get Fixed/Closed within 4 weeks. work-in-progress Issue or PR is not finished.
Projects
None yet
3 participants