mirror of
https://github.com/immich-app/isar.git
synced 2026-09-30 13:23:02 +08:00
Update v3 version to 3.1.6
This commit is contained in:
@@ -13,8 +13,8 @@ Dieser Schnellstart wird wenig um den heißen Brei herumreden und direkt mit dem
|
||||
Bevor es losgeht, müssen wir ein paar Pakete zur `pubspec.yaml` hinzufügen. Damit es schneller geht lassen wir pub das für uns erledigen.
|
||||
|
||||
```bash
|
||||
dart pub add isar:^3.1.5 isar_flutter_libs:^3.1.5 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.5 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. Klassen annotieren
|
||||
|
||||
@@ -13,8 +13,8 @@ Vamos a ser cortos en palabras para ir inmediatamente al código en esta guía d
|
||||
Antes de empezar la parte divertida, necesitamos agregar algunos paquetes al `pubspec.yaml`. Podemos usar pub para hacer el trabajo pesado por nosotros.
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. Anota las clases
|
||||
|
||||
@@ -13,8 +13,8 @@ Nous allons être brefs en mots et rapides en code dans ce démarrage rapide.
|
||||
Avant de débuter, nous devons ajouter quelques dépendances au fichier `pubspec.yaml`. Nous pouvons utiliser la commande `pub` pour faire le gros du travail à notre place.
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. Annotation de classes
|
||||
|
||||
@@ -13,8 +13,8 @@ In questa guida introduttiva saremo a corto di parole e veloci nel codice.
|
||||
Prima che inizii il divertimento, dobbiamo aggiungere alcuni pacchetti a `pubspec.yaml`. Possiamo usare il pub per facilitarci il lavoro pesante.
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. Annota le classi
|
||||
|
||||
@@ -14,8 +14,8 @@ title: クイックスタート
|
||||
Isarを使用する前に、いくつかのパッケージを `pubspec.yaml` に追加する必要があります。pubを使用する事で、面倒な作業を簡単に済ませることが出来ます。
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. クラスの注釈(アノテーション)
|
||||
|
||||
@@ -13,8 +13,8 @@ title: 빠른 시작
|
||||
재미있는 부분을 보기 전에 `pubspec.yaml` 에 몇 개의 패키지를 추가해야 합니다. 우리는 펍을 이용해서 힘든 일을 쉽게 할 수 있습니다.
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. 클래스에 주석 추가(어노테이션)
|
||||
|
||||
@@ -13,8 +13,8 @@ Seremos curtos em palavras e rápidos em código neste início rápido.
|
||||
Antes que a diversão comece, precisamos adicionar alguns pacotes ao `pubspec.yaml`. Podemos usar o pub para fazer o trabalho complexo para nós.
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. Anotar classes
|
||||
|
||||
@@ -13,8 +13,8 @@ We're going to be short on words and quick on code in this quickstart.
|
||||
Before the fun begins, we need to add a few packages to the `pubspec.yaml`. We can use pub to do the heavy lifting for us.
|
||||
|
||||
```bash
|
||||
dart pub add isar:^3.1.5 isar_flutter_libs:^3.1.5 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.5 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. Annotate classes
|
||||
|
||||
@@ -11,8 +11,8 @@ title: فورا شروع کریں
|
||||
تفریح کا آغاز کرنےسے پہلےہمیں "پب سپیک۔یمل" میں چند پیکجز شامل کرنے کی ضرورت ہے۔ہم اپنے لیے بھاری سامان اٹھانے کے لیے پب کا استعمال کر سکتے ہیں۔
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. کلاسوں کی تشریح کریں۔
|
||||
|
||||
@@ -13,8 +13,8 @@ title: 快速开始
|
||||
在开始之前,我们需要在 `pubspec.yaml` 文件中添加若干依赖,可以运行以下命令帮助我们完成:
|
||||
|
||||
```bash
|
||||
flutter pub add isar isar_flutter_libs
|
||||
flutter pub add -d isar_generator build_runner
|
||||
dart pub add isar:^3.1.6 isar_flutter_libs:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
dart pub add dev:isar_generator:^3.1.6 --hosted-url=https://pub.isar-community.dev
|
||||
```
|
||||
|
||||
## 2. 给类添加注解
|
||||
|
||||
@@ -18,7 +18,7 @@ abstract class Isar {
|
||||
}
|
||||
|
||||
/// The version of the Isar library.
|
||||
static const version = '3.1.5';
|
||||
static const version = '3.1.6';
|
||||
|
||||
/// Smallest valid id.
|
||||
static const Id minId = isarMinId;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: isar
|
||||
description: Extremely fast, easy to use, and fully async NoSQL database for Flutter.
|
||||
version: 3.1.5
|
||||
version: 3.1.6
|
||||
repository: https://github.com/isar-community/isar/tree/main/packages/isar
|
||||
homepage: https://github.com/isar-community/isar
|
||||
issue_tracker: https://github.com/isar-community/isar/issues
|
||||
@@ -14,8 +14,8 @@ environment:
|
||||
|
||||
dependencies:
|
||||
ffi: ">=2.0.0 <3.0.0"
|
||||
isar_test:
|
||||
path: ../isar_test
|
||||
# isar_test:
|
||||
# path: ../isar_test
|
||||
js: ^0.6.4
|
||||
meta: ^1.7.0
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: isar_flutter_libs
|
||||
description: Isar Core binaries for the Isar Database. Needs to be included for Flutter apps.
|
||||
version: 3.1.5
|
||||
version: 3.1.6
|
||||
repository: https://github.com/isar-community/isar
|
||||
homepage: https://isar.dev
|
||||
publish_to: https://pub.isar-community.dev/
|
||||
@@ -13,7 +13,7 @@ dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
isar:
|
||||
version: 3.1.5
|
||||
version: 3.1.6
|
||||
hosted: https://pub.isar-community.dev
|
||||
|
||||
flutter:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: isar_generator
|
||||
description: Code generator for the Isar Database. Finds classes annotated with @Collection.
|
||||
version: 3.1.5
|
||||
version: 3.1.6
|
||||
repository: https://github.com/isar-community/isar
|
||||
homepage: https://isar.dev
|
||||
publish_to: https://pub.isar-community.dev/
|
||||
@@ -15,7 +15,7 @@ dependencies:
|
||||
dartx: ^1.1.0
|
||||
glob: ^2.0.2
|
||||
isar:
|
||||
version: 3.1.5
|
||||
version: 3.1.6
|
||||
hosted: https://pub.isar-community.dev
|
||||
path: ^1.8.1
|
||||
source_gen: ^1.2.2
|
||||
|
||||
Reference in New Issue
Block a user