Sorry for the lack of messages from me recently. This weekend, I want to start taking care of outstanding issues (and to start working on getting Thomas's fork pulled into the main repo).
Ideally, all packages can be updated to support the recent versions of the Dart SDK, as well as null-safety. I will also get to work on updating the documentation.
Before I start working at my new job, I want to make sure that existing apps will at least continue to work, and get ready to either transfer ownership to a new person, or close things down if nobody specifically wants to take it over
It may still be a little longer before I can continue with the current work. I just started my new job this past week, and need to firstly focus on training/onboarding, and then familiarize myself with the policies surrounding contributing to existing open source projects.
I don't imagine there will be any complications, but it will definitely take some time.
Angel works with Dart 2
And how to upgrade?
build 1.6.2 (2.0.0 available)
build_config 0.4.5 (0.4.7 available)
...
flutter 0.0.0 from sdk flutter
flutter_launcher_icons 0.7.5 (0.9.0 available)
flutter_slidable 0.5.7
flutter_sticky_header 0.4.6 (0.5.0 available)
flutter_test 0.0.0 from sdk flutter
MacMini-Leonardo:teste_api leonardo$ dart pub upgrade
Resolving dependencies... (4.5s)
analyzer 0.41.2 (was 0.36.0) (1.3.0 available)
angel_auth 2.1.5+1
angel_client 2.0.2
angel_configuration 2.2.0
angel_container 1.1.0 (was 1.0.4)
angel_framework 2.1.1
angel_hot 2.0.6
angel_http_exception 1.1.0
angel_jael 2.0.0
angel_migration 2.0.0
angel_migration_runner 2.0.0
angel_model 1.0.3
angel_orm 2.1.0-beta.3
angel_orm_generator 2.0.5
angel_orm_postgres 1.0.0
angel_production 1.0.0
angel_route 3.1.0+1 (was 3.0.6)
angel_serialize 2.2.3+3
angel_serialize_generator 2.5.0
angel_static 2.1.3+2
angel_test 2.0.1
angel_validate 2.0.2
angel_websocket 2.0.3 (was 2.0.1)
args 1.6.0 (was 1.5.1) (2.0.0 available)
async 2.5.0 (was 2.2.0)
boolean_selector 2.1.0 (was 1.0.4)
build 1.6.2 (was 1.1.3) (2.0.0 available)
build_config 0.4.5 (was 0.3.2) (0.4.7 available)
build_daemon 2.1.10 (was 0.5.0)
build_resolvers 1.5.3 (was 1.0.4) (2.0.0 available)
build_runner 1.11.1 (was 1.3.3) (1.12.2 available)
build_runner_core 6.1.7 (was 3.0.3) (6.1.12 available)
built_collection 5.0.0 (was 4.2.0)
built_value 8.0.4 (was 6.4.0)
charcode 1.2.0 (was 1.1.2)
code_builder 3.7.0 (was 3.2.0)
collection 1.15.0 (was 1.14.11)
combinator 1.1.0
convert 2.1.1 (3.0.0 available)
crypto 2.1.5 (was 2.0.6) (3.0.0 available)
dart2_constant 1.0.2+dart2 (discontinued)
dart_style 1.3.12 (was 1.2.7) (2.0.0 available)
dbcrypt 2.0.0
dotenv 1.0.0 (2.0.0 available)
file 5.2.1 (was 5.0.7) (6.1.0 available)
fixnum 1.0.0 (was 0.10.9)
glob 1.2.0 (was 1.1.7) (2.0.1 available)
graphs 0.2.0 (2.0.0 available)
html_builder 1.0.5
http 0.12.2 (was 0.12.0+2) (0.13.1 available)
http2 1.0.1 (was 1.0.0) (2.0.0 available)
http_multi_server 2.2.0 (was 2.0.5) (3.0.0 available)
http_parser 3.1.4 (was 3.1.3) (4.0.0 available)
http_server 0.9.8+3 (was 0.9.8+1) (1.0.0 available)
inflection2 0.4.3 (was 0.4.2)
intl 0.15.8 (0.17.0 available)
io 0.3.5 (was 0.3.3) (1.0.0 available)
jael 2.0.2 (was 2.0.1+2)
jael_preprocessor 2.0.1
js 0.6.3 (was 0.6.1+1)
json_annotation 4.0.1 (was 2.2.0)
json_god 2.0.0-beta+3
json_rpc_2 2.2.2 (was 2.0.10)
library 0.0.3 from path /Users/Developer/template-dart/library
logging 0.11.4 (was 0.11.3+2) (1.0.1 available)
matcher 0.12.10 (was 0.12.5)
merge_map 1.0.2
meta 1.3.0 (was 1.1.7)
mime 0.9.7 (was 0.9.6+2) (1.0.0 available)
mock_request 1.0.7 (was 1.0.5)
node_preamble 1.4.13 (was 1.4.4) (2.0.0 available)
package_config 1.9.3 (was 1.0.5) (2.0.0 available)
path 1.8.0 (was 1.6.2)
pedantic 1.11.0 (was 1.5.0)
pool 1.5.0 (was 1.4.0)
postgres 1.0.2 (2.3.1 available)
pub_semver 2.0.0 (was 1.4.2)
pub_sub 2.3.0 (was 2.2.0)
pubspec_parse 0.1.8 (was 0.1.4) (1.0.0 available)
quiver 2.1.5 (was 2.0.3) (3.0.0 available)
quiver_hashcode 2.0.0 (discontinued replaced by quiver)
range_header 2.0.2+2
recase 2.0.1 (3.0.1 available)
shelf 0.7.9 (was 0.7.5) (1.1.0 available)
shelf_packages_handler 2.0.1 (was 1.0.4) (3.0.0 available)
shelf_static 0.2.9+2 (was 0.2.8) (1.0.0 available)
shelf_web_socket 0.2.4+1 (was 0.2.3) (1.0.1 available)
source_gen 0.9.10+3 (was 0.9.4+2) (1.0.0 available)
source_map_stack_trace 2.1.0 (was 1.1.5)
source_maps 0.10.10 (was 0.10.8)
source_span 1.8.1 (was 1.5.5)
stack_trace 1.10.0 (was 1.9.3)
stream_channel 2.1.0 (was 1.7.0)
stream_transform 2.0.0 (was 0.0.17)
string_scanner 1.1.0 (was 1.0.4)
symbol_table 2.0.0
term_glyph 1.2.0 (was 1.1.0)
test 1.16.5 (was 1.6.2) (1.16.8 available)
test_api 0.2.19 (was 0.2.5) (0.3.0 available)
test_core 0.3.15 (was 0.2.4) (0.3.19 available)
teste_model 0.0.1 from path /Users/Developer/template-dart/teste_model
timing 0.1.1+3 (was 0.1.1+1) (1.0.0 available)
tuple 1.0.3 (was 1.0.2) (2.0.0 available)
typed_data 1.3.0 (was 1.1.6)
uuid 2.2.2 (was 2.0
how do I solve this:
angel_framework
package: angel_framework / angel_framework.dart
An easily-extensible web server framework in Dart.
The library 'package: angel_framework / angel_framework.dart' is legacy, and should not be imported into a null safe library.
Try migrating the imported library.dart (import_of_legacy_library_into_null_safe)
void main() {
print(null.that);
null.that = 3;
print(null.that);
}
extension on Null {
static Object _that = Object();
Object get that => _that;
set that(Object other) { _that = other; }
}
////// OR //////
void main() {
// print(null.that); fatal
null.that = 3;
print(null.that);
}
extension on Null {
static late Object _that;
Object get that => _that;
set that(Object other) { _that = other; }
}
null.that
possible as a global variable.