From 7957beb52e2b14216582f4fb6fde60a162e2b603 Mon Sep 17 00:00:00 2001 From: Matias de Andrea Date: Tue, 2 Jul 2024 12:56:52 +0200 Subject: [PATCH] chore(release): 6.0.0 --- CHANGELOG.md | 8 ++++++++ README.md | 11 ++++++++++- pubspec.yaml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ce177e..9e59ad1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 6.0.0 + +* BREAKING CHANGES + * Rename package from `common_module_flutter` to `osam_common_module_flutter` + * To import, use only `import 'package:osam_common_module_flutter/osam_common_module_flutter.dart';` and not src/ or other subdirectories. + * Need to use minimal Dart SDK version 3.0.0 + * Need to use minimal Flutter version 3.10.0 + ## 5.1.0 * Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to version 2.1.8. Only for Android. diff --git a/README.md b/README.md index fbc9683..4d9bb6b 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,15 @@ --- +## Migrate from 5.0.x to 6.0.0 + +- Rename package from `common_module_flutter` to `osam_common_module_flutter` + - On pubspec.yaml, change `common_module_flutter` to `osam_common_module_flutter` + - On imports, change `import 'package:common_module_flutter/common_module_flutter.dart';` to `import 'package:osam_common_module_flutter/osam_common_module_flutter.dart';` +- To import, use only `import 'package:osam_common_module_flutter/osam_common_module_flutter.dart';` and not src/ or other subdirectories. +- Need to use minimal Dart SDK version 3.0.0 +- Need to use minimal Flutter version 3.10.0 + ## Introdució Des de la OSAM es proporcionen mòduls per realitzar un conjunt de tasques comunes a totes les apps publicades per l'Ajuntament de Barcelona. @@ -26,7 +35,7 @@ A partir de la versió 3.0.0 la llibreria es un wrapper de la [desenvolupada en osam_common_module_flutter: git: url: https://github.com/AjuntamentdeBarcelona/modul_comu_osam_flutter.git - ref: '5.1.0' + ref: '6.0.0' ``` En cas que les dependències de Firebase Analytics, Firebase Performance i Firebase Crashlytics fallin, cal afegir aquestes aquesta configuració al pubspec: diff --git a/pubspec.yaml b/pubspec.yaml index bdf6755..e9c9851 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: osam_common_module_flutter description: OSAM's Flutter common module -version: 5.1.0 +version: 6.0.0 homepage: 'https://ajuntament.barcelona.cat/imi/ca/oficina-de-serveis-al-mobil' issue_tracker: 'https://github.com/AjuntamentdeBarcelona/modul_comu_osam_flutter/issues' repository: 'https://github.com/AjuntamentdeBarcelona/modul_comu_osam_flutter'