Skip to content

Release v2.0.1#576

Open
SB-meiyalaganr wants to merge 15 commits intomainfrom
release-v2.0.1
Open

Release v2.0.1#576
SB-meiyalaganr wants to merge 15 commits intomainfrom
release-v2.0.1

Conversation

@SB-meiyalaganr
Copy link
Copy Markdown
Contributor

Bug fixes

  • Support Pascal case plist configuration values.
    #571

robert-smartbear and others added 15 commits January 21, 2026 11:21
Add a centralized helper to pick the Bugsnag config from an Info.plist (BSGSelectedBugsnagDict) which prefers a capitalized 'Bugsnag' key but falls back to 'bugsnag'. Introduce BSGEarlyConfiguration helpers bsg_loadConfigWithBundle: and bsg_loadConfigFromInfoDictionary: and update EarlyConfiguration and BugsnagPerformanceConfiguration to use the helper and BSGDynamicCast for safer access. Add unit tests (EarlyConfigurationInfoPlistTests.mm) verifying precedence, fallback, and non-dictionary handling, and update the Xcode project to include the new test file.
Add a new Cucumber scenario to features/default/configuration.feature to verify precedence and fallback behavior between "Bugsnag" and "bugsnag" plist keys. The scenario runs "ManualSpanScenario", waits for an error, and asserts the "Bugsnag-API-Key" header and the event "app.releaseStage" value. Also adds a trailing newline at the end of the file.
Add a TBD changelog entry documenting a bug fix to support Pascal-case plist configuration values (PR #571). Entry added above the 2.0.0 section.
Correct a typo in Sources/BugsnagPerformance/Public/BugsnagPerformanceConfiguration.mm by changing the comment from 'bug(s)nag' to 'bugsnag' in the loadConfigWithInfoDictionary method to improve clarity.
Delete a scenario from features/default/configuration.feature that tested precedence and fallback behavior between "Bugsnag" and "bugsnag" plist keys. The removed scenario ran ManualSpanScenario and asserted the "Bugsnag-API-Key" header and the event "app.releaseStage" equals "staging".
Add a trailing newline to features/default/configuration.feature to ensure the file ends with a POSIX-compliant newline and satisfy formatting/lint rules.
Strip an unnecessary empty line at the end of features/default/configuration.feature to clean up file formatting. No functional changes.
…onversion-in-plist

Bugsnag Naming Conversion in Plist
@github-actions
Copy link
Copy Markdown

BugsnagPerformance.framework binary size increased by 608 bytes from 909,152 to 909,760

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5%   +1008  +0.5%   +1008    __TEXT,__text
  +0.2%    +320  +0.2%    +320    Symbol Table
  +0.1%    +280  +0.1%    +280    String Table
  +0.8%    +164  +0.8%    +164    __TEXT,__gcc_except_tab
  +0.1%     +56  +0.1%     +56    __DATA,__objc_const
  +0.2%     +43  +0.2%     +43    __TEXT,__objc_methname
  +0.5%     +40  +0.5%     +40    __TEXT,__unwind_info
  +0.3%     +32  +0.3%     +32    __DATA_CONST,__cfstring
  +0.4%      +8  +0.4%      +8    Rebase Info
  -0.3%     -32  -0.3%     -32    [__DATA_CONST]
  -0.3%     -32  -0.3%     -32    __TEXT,__cstring
  -0.4%     -56  -0.4%     -56    [__DATA]
  [ = ]       0  -7.3%    -608    [__LINKEDIT]
  -2.9% -1.19Ki  -2.9% -1.19Ki    [__TEXT]
  +0.1%    +608  [ = ]       0    TOTAL

Generated by 🚫 Danger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants