Is this library deprecated? Should we switch to M5Unified?
wsanders opened this issue · 5 comments
Describe the bug
The main class M5Core2 in the file M5Core2.h Arduino IDE library version 0.1.9, contains the following attribute:
class M5Core2 {
public:
M5Core2();
[[deprecated(
"It is recommended to use M5Unified Lib, which will be discontinued "
"soon.")]] void
That comment makes no sense in English translation. One would not want to recommend a library that will be discontinued. I think you mean "It is recommended to use M5Unified Lib, this library will be discontinued soon."
Should we all be using M5Unified now?
Maybe if M5Core2 is deprecated it should be removed from the Arduino IDE library database?
To reproduce
All environments
Expected behavior
If library is deprecated, retranslate attribute to:
"It is recommended to use the M5Unified Lib. The M5Core2 lib will be discontinued soon."
Screenshots
No response
Environment
- OS:
- IDE &IDE Version:
- Repository Version:
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- My report contains all necessary details
We will gradually migrate to Unified.
@Tinyu-Zhao please change the comment? It currently reads
It is recommended to use M5Unified Lib, which will be discontinued soon.
This means that M5Unified will be discontinued soon. You should change it to this?
It is recommended to switch to the M5Unified library. The M5Core2 library will be discontinued soon.
...which I think is what you mean?
M5Unified will be integrated in the M5Core2 repository, similarly to the M5CoreS3 lib.
@Tinyu-Zhao to clarify:
- the M5Core2 library is deprecated (probably you won't DELETE it, but you'll stop updating it soon if not already)
- the M5Unified library is the recommended basis for new code
- BUT the M5Unified library will be migrated into this repository (m5stack/M5Core2) in the future so watch out for that
Did I get it right?
If so, please change the deprecation warning to "Please switch to the M5Unified library"? (The talk of "will be discontinued soon" is confusing.)
@Tinyu-Zhao to clarify:
- the M5Core2 library is deprecated (probably you won't DELETE it, but you'll stop updating it soon if not already)
- the M5Unified library is the recommended basis for new code
- BUT the M5Unified library will be migrated into this repository (m5stack/M5Core2) in the future so watch out for that
Did I get it right?
If so, please change the deprecation warning to "Please switch to the M5Unified library"? (The talk of "will be discontinued soon" is confusing.)
yes, I will change