Skip to content

Commit 69a08b7

Browse files
committed
add some warnings
1 parent 1596852 commit 69a08b7

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,22 @@
77
JET employs Julia's type inference system to detect potential bugs and type instabilities.
88

99
> [!WARNING]
10-
> The latest release **v0.10.0 is a transitional release with limited functionality**:
11-
> - **Compatibility**: JET v0.10.0 supports Julia v1.12 but is incompatible with v1.11.
10+
> **The current latest version, v0.10 series, is only compatible with Julia v1.12,
11+
> and some features may not function correctly at this moment**.
12+
> - **Compatibility**: JET v0.10 supports Julia v1.12 but is incompatible with v1.11.
1213
> Users on v1.11 should continue using JET v0.9, which will only receive bug fixes.
13-
> - **Functionality**: This version provides basic local analysis features but lacks
14-
> fully functional top-level analysis capabilities. These will be addressed in future updates.
14+
> - **Functionality**: ~~This version provides basic local analysis features but lacks~~
15+
> ~~fully functional top-level analysis capabilities. These will be addressed in future updates.~~
16+
> Updated (v0.10.3): As of v0.10.3, Most functions, including `report_package`, should now be functional.
1517
> - **Future Plans**: Development will focus on stabilizing v0.10 and refactoring JET
1618
> for integration with the new language server project. For stable use, stick with v0.9.
1719
>
18-
> JET v0.10.0 introduces compatibility with Julia v1.12, addressing significant changes in
20+
> JET v0.10 series introduces compatibility with Julia v1.12, addressing significant changes in
1921
> the runtime and compiler systems. However, maintaining compatibility with Julia v1.11 was
2022
> deemed infeasible, leading to the decision to drop support for it in this release.
2123
> Users on Julia v1.11 should remain on JET v0.9, which will continue to receive bug fixes
2224
> but no new features.
2325
>
24-
> This release is a stepping stone toward full compatibility with Julia v1.12.
25-
> Due to the urgency of supporting Julia v1.12 for the [PkgEval](https://github.com/JuliaCI/PkgEval.jl)
26-
> process, JET v0.10.0 was released despite its limitations:
27-
> - **Working Features**: Basic local analysis features, such as `[@]report_call` and
28-
> `[@]report_opt`, are expected to be functional.
29-
> - **Non-Functional Features**: Top-level analysis features, such as `report_package` and
30-
> `report_file`, are not yet verified and will be updated in future patch releases.
31-
>
3226
> ### Future Development:
3327
> - Updates to the v0.10 series will focus on improving stability and functionality.
3428
> - Extensive refactoring is planned to support JET's integration into the [JETLS](https://github.com/aviatesk/JETLS.jl) project.

src/JET.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,16 @@ using Base: Compiler as CC
3535
# precompile when their tests are run, instead there will be test failures when JET is
3636
# used (but potentially other tests can at least run).
3737
@static if JET_LOADABLE
38-
include("JETBase.jl")
38+
if VERSION < v"1.12.0-beta1.11"
39+
include("JETBase.jl")
40+
end
41+
function __init__()
42+
@warn """
43+
The latest version of JET is incompatible with Julia versions earlier than `v"1.12.0-beta1.11"`.
44+
To build a compatible Julia version, follow the instructions at
45+
https://github.com/aviatesk/JET.jl/blob/master/CHANGELOG.md#0103.
46+
"""
47+
end
3948
else
4049
include("JETEmpty.jl")
4150
end

0 commit comments

Comments
 (0)