Skip to content

Mark user-facing methods public#461

Open
timholy wants to merge 1 commit into
masterfrom
teh/public
Open

Mark user-facing methods public#461
timholy wants to merge 1 commit into
masterfrom
teh/public

Conversation

@timholy
Copy link
Copy Markdown
Member

@timholy timholy commented May 20, 2026

public was added in Julia 1.11 and the ExplicitImports package allows one to check whether a package only accesses public names in its dependencies. I've been finding this a useful addition to many of my packages. The help string now shows

help?> JSON.parsefile
  │ Warning
  │
  │  The following bindings may be internal; they may change or be removed in future versions:
  │
  │    •  JSON.parsefile

  See parse.

This should silence the warning and allow ExplicitImports tests in other packages that use JSON to pass.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.26%. Comparing base (19025cc) to head (a53d5eb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #461   +/-   ##
=======================================
  Coverage   90.26%   90.26%           
=======================================
  Files           7        7           
  Lines        1397     1397           
=======================================
  Hits         1261     1261           
  Misses        136      136           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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