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

Change all public types in namespace Cysharp.Text to internal #372

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

axunonb
Copy link
Member

@axunonb axunonb commented Jan 29, 2024

Regression caused by #368

  • Stop namespace collision with Cysharp.ZString nuget package (again)
    • Affects: class, struct, interface, delegate, enum
    • using /~https://github.com/zzzprojects/findandreplace on command line, so we can automate this step:
      "fnr.exe" --cl --dir "SmartFormat.ZString\repo\src\ZString" --fileMask "*.cs,*.tt" --includeSubDirectories --caseSensitive --useRegEx --find "public (?=.*(class |struct |enum |interface |delegate ))" --replace "internal "
  • Add a unit test to get an alert when Cysharp.Text objects are public

Bump version to v3.3.2

* Regression caused by axuno#368
* Stop namespace collision with Cysharp.Text nuget package
* Affects: class, struct, interface, delegate, enum
* using /~https://github.com/zzzprojects/findandreplace on command line, so we can automate this step:
"fnr.exe" --cl --dir "SmartFormat.ZString\repo\src\ZString" --fileMask "*.cs,*.tt" --includeSubDirectories --caseSensitive --useRegEx --find "public (?=.*(class |struct |enum |interface |delegate ))" --replace "internal "
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d217ceb) 96% compared to head (a94de9a) 96%.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #372   +/-   ##
===================================
  Coverage    96%    96%           
===================================
  Files        92     92           
  Lines      3233   3233           
===================================
  Hits       3117   3117           
  Misses      116    116           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@axunonb axunonb merged commit 245d3b0 into axuno:main Jan 29, 2024
5 checks passed
@axunonb axunonb deleted the pr/cysharp-text-internal branch January 29, 2024 18:32
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.

1 participant