Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 3, 2024

This PR contains the following updates:

Package Type Update Change
build_runner (source) dev_dependencies patch 2.4.8 -> 2.4.14
cached_network_image dependencies minor 3.3.1 -> 3.4.1
cloud_firestore (source) dependencies minor 4.15.9 -> 4.17.5
custom_lint dev_dependencies minor 0.6.4 -> 0.7.1
dart (source) minor 3.4.0-250.0.dev -> 3.6.1
drift (source) dependencies minor 2.16.0 -> 2.24.0
drift_dev (source) dev_dependencies minor 2.16.0 -> 2.24.0
firebase_auth (source) dependencies minor 4.17.9 -> 4.20.0
firebase_core (source) dependencies minor 2.27.1 -> 2.32.0
firebase_crashlytics (source) dependencies minor 3.4.19 -> 3.5.7
firebase_storage (source) dependencies minor 11.6.10 -> 11.7.7
flutter_lints (source) dev_dependencies patch 3.0.1 -> 3.0.2
flutter_riverpod (source) dependencies minor 2.5.1 -> 2.6.1
flutter_slidable dependencies patch 3.1.0 -> 3.1.2
flutter_svg (source) dependencies patch 2.0.10+1 -> 2.0.17
freezed dev_dependencies minor 2.4.7 -> 2.5.8
freezed_annotation dependencies patch 2.4.1 -> 2.4.4
go_router (source) dependencies patch 13.2.1 -> 13.2.5
image_picker (source) dependencies minor 1.0.7 -> 1.1.2
json_annotation (source) dependencies minor 4.8.1 -> 4.9.0
json_serializable (source) dev_dependencies minor 6.7.1 -> 6.9.3
mocktail (source) dependencies patch 1.0.3 -> 1.0.4
path (source) dependencies patch 1.9.0 -> 1.9.1
path_provider (source) dependencies patch 2.1.2 -> 2.1.5
riverpod_annotation dependencies minor 2.3.5 -> 2.6.1
riverpod_generator dev_dependencies minor 2.4.0 -> 2.6.4
riverpod_lint (source) dev_dependencies minor 2.3.10 -> 2.6.4
sqlite3_flutter_libs (source) dependencies patch 0.5.20 -> 0.5.29
supabase_flutter (source) dependencies minor 2.3.4 -> 2.8.3

Release Notes

dart-lang/build (build_runner)

v2.4.14

Compare Source

  • Write generated assets at the end of a build to avoid invalidating other
    tools with a file watcher multiple times.
  • Bump the min sdk to 3.6.0.
  • Allow analyzer version 7.x.
  • Hard code the generated build script to language version 3.6.
  • Allow dart_style version 4.0.0, require at least 2.3.7.

v2.4.13

Compare Source

  • Bump the min sdk to 3.5.0.
  • Bump the mime dependency to allow version 2.x.

v2.4.12

Compare Source

  • Bump the min sdk to 3.5.0-259.0.dev.
  • Fix watch mode for workspace repos.

v2.4.11

Compare Source

  • Explicitly pass the current isolates package config instead of assuming the
    location, to support the upcoming pub workspaces feature.

v2.4.10

Compare Source

  • Support version 1.x and 2.x of shelf_web_socket and 2.x and 3.x
  • of web_socket_channel.
  • Bump the min sdk to 3.4.0.

v2.4.9

Compare Source

  • Update the package:frontend_server_client constraint to >=3.0.0 <5.0.0.
Baseflow/flutter_cached_network_image (cached_network_image)

v3.4.1

Compare Source

v3.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: Baseflow/flutter_cached_network_image@v3.3.1...v3.4.0

firebase/flutterfire (cloud_firestore)

v4.17.5

Compare Source

  • Update a dependency to the latest release.

v4.17.4

Compare Source

v4.17.3

Compare Source

v4.17.2

Compare Source

  • Update a dependency to the latest release.

v4.17.1

Compare Source

  • Update a dependency to the latest release.

v4.17.0

Compare Source

  • FIX(firestore): remove nanopb version constraints from podspec (#​12632). (c899a7bc)
  • FIX(firestore): deprecate databaseURL in favor of databaseId (#​12593). (8966f483)
  • FEAT(firestore): add support for listening snapshot from cache (#​12585). (f2cef8c1)

v4.16.1

Compare Source

v4.16.0

Compare Source

  • FEAT(android): Bump compileSdk version of Android plugins to latest stable (34) (#​12566). (e891fab2)
  • FEAT(firestore): allow query with range and inequality filters on multiple fields (#​12564). (00ae837f)

v4.15.10

Compare Source

  • Update a dependency to the latest release.
invertase/dart_custom_lint (custom_lint)

v0.7.1

Compare Source

v0.7.0

Compare Source

v0.6.10

Compare Source

v0.6.9

Compare Source

v0.6.8

Compare Source

v0.6.7

Compare Source

v0.6.6

Compare Source

v0.6.5

Compare Source

dart-lang/sdk (dart)

v3.6.1

Compare Source

v3.6.0

Compare Source

Language

Dart 3.6 adds digit separators to the language. To use them, set your
package's [SDK constraint][language version] lower bound to 3.6 or greater
(sdk: '^3.6.0').

Digit separators

Digits in number literals (decimal integer literals, double literals,
scientific notation literals, and hexadecimal literals) can now include
underscores between digits, as "digit separators." The separators do not change
the value of a literal, but can serve to make the number more readable.

100__000_000__000_000__000_000  // one hundred million million millions!
0x4000_0000_0000_0000
0.000_000_000_01
0x00_14_22_01_23_45  // MAC address

Separators are not allowed at the start of a number (this would be parsed as an
identifier), at the end of a number, or adjacent to another character in a
number, like ., x, or the e in scientific notation.

  • Breaking Change #​56065: The context used by the compiler and analyzer
    to perform type inference on the operand of a throw expression has been
    changed from the "unknown type" to Object. This makes the type system more
    self-consistent, because it reflects the fact that it's not legal to throw
    null. This change is not expected to make any difference in practice.
Libraries
dart:io
  • Breaking Change #​52444: Removed the Platform() constructor, which
    has been deprecated since Dart 3.1.

  • Breaking Change #​53618: HttpClient now responds to a redirect
    that is missing a "Location" header by throwing RedirectException, instead
    of StateError.

dart:js_interop
  • Added constructors for JSArrayBuffer, JSDataView, and concrete typed array
    types e.g. JSInt8Array.
  • Added length and []/[]= operators to JSArray.
  • Added toJSCaptureThis so this is passed in from JavaScript to the
    callback as the first parameter.
  • Added a static from method on JSArray to create a JSArray from a given
    JavaScript iterable or array-like object.
Tools
CFE
  • Breaking Change #​56466: The implementation of the UP and
    DOWN algorithms in the CFE are changed to match the specification
    and the corresponding implementations in the Analyzer. The upper and
    lower closures of type schemas are now computed just before they are
    passed into the subtype testing procedure instead of at the very
    beginning of the UP and DOWN algorithms.
Dart format
  • Preserve type parameters on old-style function-typed formals that also use
    this. or super..
  • Correctly format imports with both as and if clauses.
Wasm compiler (dart2wasm)
  • The condition dart.library.js is now false on conditional imports in
    dart2wasm. Note that it was already a static error to import dart:js
    directly (see #​55266).
Pub
  • Support for workspaces. This allows you to develop and resolve multiple
    packages from the same repo together. See https://dart.dev/go/pub-workspaces
    for more info.

  • New command dart pub bump. Increments the version number of the current
    package.

    For example: dart pub bump minor will change the version from 1.2.3 to
    1.3.0.

  • New validation: dart pub publish will warn if your git status is not
    clean.

  • New flag dart pub upgrade --unlock-transitive.

  • dart pub upgrade --unlock-transitive pkg, will unlock and upgrade all the
    dependencies of pkg instead of just pkg.

Analyzer
  • Add the [use_truncating_division][use_truncating_division] lint rule.
  • Add the experimental [omit_obvious_local_variable_types][omit_obvious_local_variable_types] lint rule.
  • Add the experimental [specify_nonobvious_local_variable_types][specify_nonobvious_local_variable_types] lint rule.
  • Add the experimental [avoid_futureor_void][avoid_futureor_void] lint rule.
  • Add quick fixes for more than 14 diagnostics.
  • Add new assists: "add digit separators", "remove digit separators", and
    "invert conditional expression".

v3.5.4

Compare Source

v3.5.3

Compare Source

  • Fixes an issue with the DevTools Memory tool causing OOMs. and an
    issue resulting in a missing tab bar when DevTools is embedded in
    IntelliJ and Android Studio (issue#​56607).
  • Fixes an issue with the DevTools release notes showing each time
    DevTools is opened instead of only the first time (issue#​56607).
  • Fixes an issue resulting in a missing tab bar when DevTools is
    embedded in IntelliJ and Android Studio (issue#​56607).

v3.5.2

Compare Source

  • Fixes a bug where ZLibDecoder would incorrectly attempt to decompress data
    past the end of the zlib footer (issue #​56481).
  • Fixes issue where running dart from PATH could result in some commands not
    working as expected (issues #​56080, #​56306, #​56499).
  • Fixes analysis server plugins not receiving setContextRoots requests or
    being provided incorrect context roots in multi-package workspaces (issue
    #​56475).

v3.5.1

Compare Source

  • Fixes resolving include: in analysis_options.yaml file in a nested
    folder in the workspace (issue#​56464).
  • Fixes source maps generated by dart compile wasm when optimizations are
    enabled (issue #​56423).
  • Fixes a bug in the dart2wasm compiler in unsound -O3 / -O4 modes where a
    implicit setter for a field of generic type will store null instead of the
    field value (issue #​56374).
  • Fixes a bug in the dart2wasm compiler that can trigger in certain situations
    when using partial instantiations of generic tear-offs (constructors or static
    methods) in constant expressions (issue #​56440).
  • The algorithm for computing the standard upper bound of two types,
    also known is UP, is provided the missing implementation for
    StructuralParameterType objects. In some corner cases cases the
    lacking implementation resulted in a crash of the compiler (issue #​56457).

v3.5.0

Compare Source

Language
  • Breaking Change #​55418: The context used by the compiler to perform
    type inference on the operand of an await expression has been changed to
    match the behavior of the analyzer. This change is not expected to make any
    difference in practice.

  • Breaking Change #​55436: The context used by the compiler to perform
    type inference on the right hand side of an "if-null" expression (e1 ?? e2)
    has been changed to match the behavior of the analyzer. change is expected to
    have low impact on real-world code. But in principle it could cause
    compile-time errors or changes in runtime behavior by changing inferred
    types. The old behavior can be restored by supplying explicit types.

Libraries
dart:core
  • Breaking Change #​44876: DateTime on the web platform now stores
    microseconds. The web implementation is now practically compatible with the
    native implementation, where it is possible to round-trip a timestamp in
    microseconds through a DateTime value without rounding the lower
    digits. This change might be breaking for apps that rely in some way on the
    .microsecond component always being zero, for example, expecting only three
    fractional second digits in the toString() representation. Small
    discrepancies in arithmetic due to rounding of web integers may still occur
    for extreme values, (1) microsecondsSinceEpoch outside the safe range,
    corresponding to dates with a year outside of 1685..2255, and (2) arithmetic
    (add, subtract, difference) where the Duration argument or result
    exceeds 570 years.
dart:io
  • Breaking Change #​55786: SecurityContext is now final. This means
    that SecurityContext can no longer be subclassed. SecurityContext
    subclasses were never able to interoperate with other parts of dart:io.

  • A ConnectionTask can now be created using an existing Future<Socket>.
    Fixes #​55562.

dart:typed_data
  • Breaking Change #​53785: The unmodifiable view classes for typed data
    have been removed. These classes were deprecated in Dart 3.4.

    To create an unmodifiable view of a typed-data object, use the
    asUnmodifiableView() methods added in Dart 3.3.

  • Added superinterface TypedDataList to typed data lists, implementing both
    List and TypedData. Allows abstracting over all such lists without losing
    access to either the List or the TypedData members.
    A ByteData is still only a TypedData, not a list.

dart:js_interop
  • Breaking Change #​55508: importModule now accepts a JSAny instead
    of a String to support other JS values as well, like TrustedScriptURLs.

  • Breaking Change #​55267: isTruthy and not now return JSBoolean
    instead of bool to be consistent with the other operators.

  • Breaking Change ExternalDartReference no longer implements Object.
    ExternalDartReference now accepts a type parameter T with a bound of
    Object? to capture the type of the Dart object that is externalized.
    ExternalDartReferenceToObject.toDartObject now returns a T.
    ExternalDartReferenceToObject and ObjectToExternalDartReference are now
    extensions on T and ExternalDartReference<T>, respectively, where T extends Object?. See #​55342 and #​55536 for more details.

  • Fixed some consistency issues with Function.toJS across all compilers.
    Specifically, calling Function.toJS on the same function gives you a new JS
    function (see issue #​55515), the maximum number of arguments that are
    passed to the JS function is determined by the static type of the Dart
    function, and extra arguments are dropped when passed to the JS function in
    all compilers (see #​48186).

Tools
Analyzer
  • Add the [unintended_html_in_doc_comment][unintended_html_in_doc_comment] lint rule.
  • Add the [invalid_runtime_check_with_js_interop_types][invalid_runtime_check_with_js_interop_types] lint rule.
  • Add the [document_ignores][document_ignores] lint rule.
  • Add quick fixes for more than 70 diagnostics.
  • The "Add missing switch cases" quick fix now adds multiple cases, such that
    the switch becomes exhaustive.
  • The "Remove const" quick fix now adds const keywords to child nodes, where
    appropriate.
Pub
  • New flag dart pub downgrade --tighten to restrict lower bounds of
    dependencies' constraints to the minimum that can be resolved.
Dart Runtime
  • The Dart VM only executes sound null safe code, running of unsound null
    safe code using the option --no-sound-null-safety has been removed.

  • Dart_NewListOf and Dart_IsLegacyType functions are
    removed from Dart C API.

  • Dart_DefaultCanonicalizeUrl is removed from the Dart C API.

v3.4.4

Compare Source

This is a patch release that:

  • Fixes an issue where pub would crash when failing to fetch advisories from
    the server. (issue pub#4269).

  • Fixes an issue where const bool.fromEnvironment('dart.library.ffi') is true
    and conditional import condition dart.library.ffi is true in dart2wasm.
    (issue #​55948).

  • Fixes an issue where FFI calls with variadic arguments on MacOS Arm64
    would mangle the arguments. (issue #​55943).

v3.4.3

Compare Source

This is a patch release that:

  • Fixes an issue where DART_VM_OPTIONS were not correctly parsed for
    standalone Dart executables created with dart compile exe (issue
    #​55818).

  • Fixes a bug in dart2wasm that can result in a runtime error that says
    array.new_fixed() has a constant larger than 10000 (issue #​55873).

  • Adds support for --enable-experiment flag to dart compile wasm
    (issue #​55894).

  • Fixes an issue in dart2wasm compiler that can result in incorrect
    nullability of type parameter (see #​55895).

  • Disallows dart:ffi imports in user code in dart2wasm (e.g. issue
    [#​53910]) as dart2wasm's currently only supports a small subset of
    dart:ffi (issue #​55890).

v3.4.2

Compare Source

This is a patch release that:

  • Marks dart compile wasm as no longer experimental.

  • Fixes two bugs in exception handling in async functions in dart2wasm
    (issues #​55347, #​55457).

  • Fixes restoration of this variable in sync* and async functions in
    dart2wasm.

  • Implements missing control flow constructs (exceptions, switch/case with
    yields) in sync* in dart2wasm (issues #​51342, #​51343).

  • Fixes a bug dart2wasm compiler that surfaces as a compiler crash when indexing
    lists where the compiler proofs the list to be constant and the index is
    out-of-bounds (issue #​55817).

v3.4.1

Compare Source

This is a patch release that:

  • Fixes a bug in the CFE which could manifest as compilation errors of Flutter
    web apps when compiled with dart2wasm (issue #​55714).

  • Fixes a bug in the pub client, such that dart run will not interfere with
    Flutter l10n (at least for most cases) (issue #​55758).

v3.4.0

Compare Source

Language

Dart 3.4 makes improvements to the type analysis of conditional expressions
(e1 ? e2 : e3), if-null expressions (e1 ?? e2), if-null assignments
(e1 ??= e2), and switch expressions (switch (e) { p1 => e1, ... }). To take
advantage of these improvements, set your package's
SDK constraint lower bound to 3.4 or greater
(sdk: '^3.4.0').

  • Breaking Change #​54640: The pattern context type schema for
    cast patterns has been changed from Object? to _ (the unknown
    type), to align with the specification. This change is not expected
    to make any difference in practice.

  • Breaking Change #​54828: The type schema used by the compiler front end
    to perform type inference on the operand of a null-aware spread operator
    (...?) in map and set literals has been made nullable, to match what
    currently happens in list literals. This makes the compiler front end behavior
    consistent with that of the analyzer. This change is expected to be very low
    impact.

Libraries
dart:async
  • Added option for ParallelWaitError to get some meta-information that
    it can expose in its toString, and the Iterable<Future>.wait and
    (Future,...,Future).wait extension methods now provide that information.
    Should make a ParallelWaitError easier to log.
dart:cli
  • Breaking change [#​52121][]: waitFor is removed in 3.4.
dart:ffi
  • Added Struct.create and Union.create to create struct and union views
    of the sequence of bytes stored in a subtype of TypedData.
dart:io
  • Breaking change #​53863: Stdout has a new field lineTerminator,
    which allows developers to control the line ending used by stdout and
    stderr. Classes that implement Stdout must define the lineTerminator
    field. The default semantics of stdout and stderr are not changed.

  • Deprecates FileSystemDeleteEvent.isDirectory, which always returns
    false.

dart:js_interop
  • Fixes an issue with several comparison operators in JSAnyOperatorExtension
    that were declared to return JSBoolean but really returned bool. This led
    to runtime errors when trying to use the return values. The implementation now
    returns a JSBoolean to align with the interface. See issue #​55024 for
    more details.

  • Added ExternalDartReference and related conversion functions
    toExternalReference and toDartObject. This is a faster alternative to
    JSBoxedDartObject, but with fewer safety guarantees and fewer
    interoperability capabilities. See #​55187 for more details.

  • On dart2wasm, JSBoxedDartObject now is an actual JS object that wraps the
    opaque Dart value instead of only externalizing the value. Like the JS
    backends, you'll now get a more useful error when trying to use it in another
    Dart runtime.

  • Added isA helper to make type checks easier with interop types. See
    #​54138 for more details.

dart:typed_data
  • BREAKING CHANGE #​53218 #​53785: The unmodifiable view classes for
    typed data are deprecated.

    To create an unmodifiable view of a typed-data object, use the
    asUnmodifiableView() methods added in Dart 3.3:

    Uint8List data = ...;
    final readOnlyView = data.asUnmodifiableView();
    // readOnlyView has type Uint8List, and throws if attempted modified.

    The reason for this change is to allow more flexibility in the implementation
    of typed data, so the native and web platforms can use different strategies
    to ensure that typed data has good performance.

    The deprecated types will be removed in Dart 3.5.

Tools
Analyzer
  • Improved code completion. Fixed over 50% of completion correctness bugs,
    tagged analyzer-completion-correctness in the issue
    tracker
    .

  • Support for new annotations introduced in version 1.14.0 of the meta
    package.

    • Support for the [@doNotSubmit][@​doNotSubmit] annotation, noting that any usage of an
      annotated member should not be submitted to source control.

    • Support for the [@mustBeConst][@​mustBeConst] annotation, which indicates that an
      annotated parameter only accepts constant arguments.

Linter
  • Added the [unnecessary_library_name][unnecessary_library_name] lint.
  • Added the [missing_code_block_language_in_doc_comment][missing_code_block_language_in_doc_comment] lint.
Compilers
  • The compilation environment will no longer pretend to contain entries with
    value "" for all dart.library.foo strings, where dart:foo is not an
    available library. Instead there will only be entries for the available
    libraries, like dart.library.core, where the value was, and still is,
    "true". This should have no effect on const bool.fromEnvironment(...) or
    const String.fromEnvironment(...) without a defaultValue argument, an
    argument which was always ignored previously. It changes the behavior of
    const bool.hasEnvironment(...) on such an input, away from always being
    true and therefore useless.
DevTools
  • Updated DevTools to version 2.33.0 from 2.31.1.
    To learn more, check out the release notes for versions
    2.32.0 and 2.33.0.
Pub
  • Dependency resolution and dart pub outdated will now surface if a dependency
    is affected by a security advisory, unless the advisory is listed under a
    ignored_advisories section in the pubspec.yaml file. To learn more about
    pub's support for security advisories, visit
    dart.dev/go/pub-security-advisories.

  • path-dependencies inside git-dependencies are now resolved relative to the
    git repo.

  • All dart pub commands can now be run from any subdirectory of a project. Pub
    will find the first parent directory with a pubspec.yaml and operate
    relative it.

  • New command dart pub unpack that downloads a package from pub.dev and
    extracts it to a subfolder of the current directory.

    This can be useful for inspecting the code, or playing with examples.

Dart Runtime
  • Dart VM flags and options can now be provided to any executable generated
    using dart compile exe via the DART_VM_OPTIONS environment variable.
    DART_VM_OPTIONS should be set to a list of comma-separated flags and options
    with no whitespace. Options that allow for multiple values to be provided as
    comma-separated values are not supported (e.g.,
    --timeline-streams=Dart,GC,Compiler).

    Example of a valid DART_VM_OPTIONS environment variable:

    DART_VM_OPTIONS=--random_seed=42,--verbose_gc
  • Dart VM no longer supports external strings: Dart_IsExternalString,
    Dart_NewExternalLatin1String and Dart_NewExternalUTF16String functions are
    removed from Dart C API.

v3.4.0-282.4.beta

Compare Source

v3.4.0-282.3.beta

Compare Source

v3.4.0-282.2.beta

Compare Source

v3.4.0-282.1.beta

Compare Source

v3.4.0-260.0.dev

Compare Source

simolus3/drift (drift)

v2.24.0: Drift 2.24.0

Compare Source

This version improves jsonb support and adds other minor improvements:

  • Add TypeConverter.jsonb to directly store values in the JSONB format used by SQLite.
  • Deprecate TypeConverter.json utility in favor of TypeConverter.json2. The new method avoids encoding values twice when mapping drift row classes to JSON. The documentation
  • Add runWithInterceptor method to databases to only apply interceptors in a restricted block.

In the generator, we:

  • Support versions 7.x of the analyzer package.
  • Add analysis support for SQLite 3.48.
  • Fix nullability analysis around fts5 tables (enabled when raising the version to 3.48 to preserve backwards-compatibility).

v2.23.1: Drift 2.23.1

Compare Source

This patch release fixes the following issues:

  • Fix TableStatements.insertAll to only apply a database-specific pragma for SQLite databases.
  • Don't attempt to roll-back transactions that failed to begin.
  • Fix unhandled exception when cancelling transactions.
  • Fix deadlock when drift databases are used in a fake_async Zone and then closed outside that zone.

Also, drift_dev version 2.23.1 contains one improvement:

  • Generate typed reference-resolving queries through the manager API when modular code-generation is enabled. Previously, this feature was only enabled for monolithic generation modes.

v2.23.0: Drift 2.23.0

Compare Source

This drift release contains smaller fixes and new features:

Core query builder:

  • Allow building compound select statements in Dart.
  • Support NULLS FIRST and NULLS LAST in manager API.

Generator and command line tools:

  • Fix custom companion names on @DataClassName not being recognized.
  • Improve schema exports to resolve default values instead of embedding their source.
  • Update dependencies to support latest dart_style version.
  • Fix generating dialect-specific code when only a single dialect (that isn't sqlite3) is enabled.

v2.22.1

Compare Source

v2.22.0: Drift 2.22.0

Compare Source

Core drift package:
  • Add sqliteAny() method to tables to declare ANY columns.
  • Add missing parentheses around adjacent expressions of the same precedence.
  • Fix creating tables that are both STRICT and WITHOUT ROWID.
  • WASM: Report worker failures to make them easier to diagnose.
  • Allow closing stream queries synchronously, making drift easier to use in widget tests.
Generator improvements
  • Add support for the dbstat module.
  • Prioritize null propagation in type resolver, leading to more accurate analysis on which columns are nullable.
  • CLI options dealing with schemas now support views defined in Dart (#​3285).
  • Pass language version to dart formatter when generating code.
  • Deprecate package:drift_dev/api/migrations.dart in favor of package:drift_dev/api/migrations_native.dart.
  • Support runtime schema verification on the web.
  • Fix generated code missing question marks for nullable types in some instances.
  • Add (opt-in) row_class_constructor_all_required builder option.
  • Support the dbstat table in drift-file queries when enabling the dbstat module.
  • Fix make-migrations using invalid import URIs in generated test on Windows.
drift_flutter 0.2.2
  • Fix infinite loop in isolate server lookups when using shareAcrossIsolates
    across hot restarts.

v2.21.0: Drift 2.21.0

Compare Source

Versions 2.21.0 of drift and drift_dev as well as version 0.2.1 of drift_flutter have just been released:

Core changes

  • View.from is now declared to return a JoinedSelectStatement, the type it returns at runtime.
  • The manager APIs now support computed fields, allowing advanced SQL expressions to be embedded into simple manager queries.

Isolate improvements

  • To infer whether serialization is required for inter-isolate communication, drift now sends a test message instead of serializing by default.
  • drift_flutter: Enable serialization between background isolates where necessary.

Tooling and generator

  • The DevTools extension can now clear drift databases.
  • Fix Dart-defined check constraints not being considered in exported schemas.
  • Columns can now be defined with late final fields. Defining columns with getters => is still supported too.
    class MyTable extends Table {
      // Before:
      IntColumn get id => integer().autoIncrement()();
    
      // After:
      late final id = integer().nullable()();
    }
  • Make build.yaml definitions pass build_runner doctor.
  • Fix generate_manager option not consistently being applied to modular builds.
  • Add the make-migrations command which combines the existing schema commands into a single tool.

v2.20.3: Drift 2.20.3

Compare Source

This patch release fixes a deadlock that could occur when using concurrent nested transactions, a problem introduced in the 2.20.0 release (https://github.com/simolus3/drift/issues/3244). Note that drift_worker.js bundles from drift version 2.20.0 until 2.20.2 also have the issue and need to be updated to apply the fix.

v2.20.2

Compare Source

v2.20.1: Drift 2.20.1

Compare Source

This patch release fixes the following issues:

Core drift package

  • Migrate legacy package:drift/web.dart to the new JS interop SDK libraries. For backwards compatibility, the channel() extension on the MessagePort class in dart:html has been kept.
    Once dart:html is removed from the Dart SDK, that extension will have to be removed from drift as well.
  • Fix cast errors in the protocol for remote workers when compiling with dart2wasm.
  • Introduce a faster protocol for communicating with workers. This protocol is enabled automatically after upgrading drift_worker.js.

Generator

  • Strip leading numbers when generating modular accessor names for drift files, fixing syntax errors.
  • Support triggers targeting views.
  • Include dialect-specific constraints in exported schema files.
  • Fix schema export not respecting column constraints of the target dialect.
  • Resolve json_extract return types from context if possible.

v2.20.0

Compare Source

v2.19.2

Compare Source

v2.19.1+1

Compare Source

v2.19.1

Compare Source

v2.19.0

Compare Source

v2.18.0: Drift 2.18.0

Compare Source

Manager APIs

The biggest new feature in this release is the addition of manager APIs, which make it much easier to write common simple queries. The new API has been designed to be easier to use and to avoid boilerplate for common CRUD queries. This feature requires additional code to be generated - if you prefer using the existing APIs exclusively, you can use the generate_manager: false builder option.

Other additions

  • Drift now supports geopoly tables and queries in .drift files if the extension is enabled.
  • Add AggregateFunctionExpression to write custom aggregate function invocations in the Dart query builder.
  • The json_group_array and jsonb_group_array functions now contain an orderBy and filter parameter.

Fixes

  • Improve finding the correct import alias in generated code for part files.

v2.17.0

Compare Source

firebase/flutterfire (firebase_auth)

v4.20.0

Compare Source

v4.19.6

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Apr 3, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
Command failed: flutter pub upgrade build_runner cloud_firestore drift drift_dev firebase_auth firebase_core firebase_crashlytics firebase_storage flutter_lints freezed go_router image_picker json_annotation json_serializable path_provider sqlite3_flutter_libs supabase_flutter
The current Dart SDK version is 3.3.4.

Because shopit requires SDK version 3.4.0-282.4.beta, version solving failed.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 9ddb090 to 85ceefa Compare April 11, 2024 10:34
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 92660e0 to 4e8e7cc Compare April 18, 2024 14:12
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 7786f25 to 079f68d Compare April 24, 2024 20:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 421c410 to 100fbdb Compare May 5, 2024 00:28
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from ca5860f to 9b180ea Compare May 7, 2024 17:27
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 32a8814 to c60e923 Compare May 15, 2024 19:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from cfba721 to 724fe71 Compare May 22, 2024 19:00
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 1c7cdff to d665299 Compare October 31, 2024 21:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from f29ef23 to 4f17640 Compare November 7, 2024 14:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 3e544ca to a3c28e5 Compare November 21, 2024 01:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 94f6727 to 3578790 Compare December 1, 2024 02:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from f02450d to 607e48d Compare December 11, 2024 15:41
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from c1004fa to 439d3aa Compare December 18, 2024 05:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 439d3aa to 86e17e0 Compare December 19, 2024 23:43
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 86e17e0 to 962dd6a Compare December 27, 2024 18:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 586a339 to c9b2851 Compare January 9, 2025 03:00
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 8ee4531 to 26784f6 Compare January 17, 2025 16:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 26784f6 to 3b3c251 Compare January 22, 2025 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants