Основной

Ориентируйтесь на новейшие функции платформы и API, а также на поддержку старых устройств.

В этой таблице перечислены все артефакты группы androidx.core .

Артефакт Стабильный выпуск Кандидат на выпуск Бета-версия Альфа-релиз
основной 1.15.0 - 1.16.0-бета01 -
основная анимация 1.0.0 - - -
основные-Google-ярлыки 1.1.0 - - 1.2.0-альфа01
основная производительность 1.0.0 - - -
core-remoteviews 1.1.0 - - -
основная роль 1.1.0 - - -
ядро-заставка 1.0.1 1.1.0-rc01 1.2.0-бета01 -
Последнее обновление этой библиотеки: 12 марта 2025 г.

Объявление зависимостей

Чтобы добавить зависимость от Core, вам необходимо добавить в свой проект репозиторий Google Maven. Для получения дополнительной информации прочтите репозиторий Google Maven .

Добавьте зависимости для нужных вам артефактов в файл build.gradle для вашего приложения или модуля:

Groovy

dependencies {
    def core_version = "1.15.0"

    // Java language implementation
    implementation "androidx.core:core:$core_version"
    // Kotlin
    implementation "androidx.core:core-ktx:$core_version"

    // To use RoleManagerCompat
    implementation "androidx.core:core-role:1.1.0"

    // To use the Animator APIs
    implementation "androidx.core:core-animation:1.0.0"
    // To test the Animator APIs
    androidTestImplementation "androidx.core:core-animation-testing:1.0.0"

    // Optional - To enable APIs that query the performance characteristics of GMS devices.
    implementation "androidx.core:core-performance:1.0.0"

    // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google
    implementation "androidx.core:core-google-shortcuts:1.1.0"

    // Optional - to support backwards compatibility of RemoteViews
    implementation "androidx.core:core-remoteviews:1.1.0"

    // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12
    implementation "androidx.core:core-splashscreen:1.2.0-beta01"
}

Kotlin

dependencies {
    val core_version = "1.15.0"

    // Java language implementation
    implementation("androidx.core:core:$core_version")
    // Kotlin
    implementation("androidx.core:core-ktx:$core_version")

    // To use RoleManagerCompat
    implementation("androidx.core:core-role:1.1.0")

    // To use the Animator APIs
    implementation("androidx.core:core-animation:1.0.0")
    // To test the Animator APIs
    androidTestImplementation("androidx.core:core-animation-testing:1.0.0")

    // Optional - To enable APIs that query the performance characteristics of GMS devices.
    implementation("androidx.core:core-performance:1.0.0")

    // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google
    implementation("androidx.core:core-google-shortcuts:1.1.0")

    // Optional - to support backwards compatibility of RemoteViews
    implementation("androidx.core:core-remoteviews:1.1.0")

    // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12
    implementation("androidx.core:core-splashscreen:1.2.0-beta01")
}

Дополнительные сведения о зависимостях см. в разделе Добавление зависимостей сборки .

Обратная связь

Ваши отзывы помогают сделать Jetpack лучше. Дайте нам знать, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете добавить свой голос к существующей проблеме, нажав кнопку со звездочкой.

Создать новую задачу

Дополнительную информацию см. в документации по системе отслеживания проблем .

Core-Viewtree версии 1.0

Версия 1.0.0

26 февраля 2025 г.

androidx.core:core-viewtree:1.0.0 переведен в свою первую стабильную версию без каких-либо изменений со времени предыдущей версии RC.

Эта библиотека представляет концепцию представления, которая может иметь непересекающийся родительский элемент. Непересекающийся родительский объект представления — это отдельный объект View , который действует как родительский объект представления, но не задается через свойство View.parent . Примерами представлений с непересекающимися родительскими элементами являются ViewOverlays , всплывающие окна и диалоговые окна, которые появляются за пределами основной иерархии представлений. Представление может иметь непересекающийся родительский элемент только в том случае, если у него нет прямого родительского элемента через свойство платформы View.parent . В настоящее время androidx устанавливает несвязный родительский элемент только для ViewOverlays , созданных Transition 1.6.0-alpha01 и выше. Вы также можете указать своих собственных непересекающихся родительских элементов для представлений. Дополнительную информацию смотрите в документации.

Версия 1.0.0-rc01

12 февраля 2025 г.

androidx.core:core-viewtree:1.0.0-rc01 выпущен без изменений со времени бета-тестирования.

Версия 1.0.0-бета01

29 января 2025 г.

androidx.core:core-viewtree:1.0.0-beta01 выпущен без изменений со времени альфа-версии. Версия 1.0.0-beta01 содержит эти коммиты .

Версия 1.0.0-альфа01

11 декабря 2024 г.

Выпущен androidx.core:core-viewtree:1.0.0-alpha01 . Версия 1.0.0-alpha01 содержит эти коммиты .

Новые возможности

  • Первоначальный выпуск core-viewtree , транзитивно предоставляемый ядром androidx.

  • В этом первоначальном выпуске представлена ​​концепция представления, способного иметь непересекающийся родительский элемент. Непересекающийся родительский объект представления — это отдельный объект View , который действует как родительский объект представления, но не задается через свойство View.parent . Примерами представлений с непересекающимися родительскими элементами являются ViewOverlays , всплывающие окна и диалоговые окна, которые появляются за пределами основной иерархии представлений. Представление может иметь непересекающийся родительский элемент только в том случае, если у него нет прямого родительского элемента через свойство платформы View.parent . В настоящее время androidx устанавливает только непересекающийся родительский элемент для ViewOverlays , созданного переходом. Вы также можете указать своих собственных непересекающихся родительских элементов для представлений. Дополнительную информацию смотрите в документации.

Изменения API

  • Добавляет методы ViewParent.getParentOrViewTreeDisjointParent() и ViewParent.setViewTreeDisjointParent(View, ViewParent?) ( Ib2950 ).

Core-i18n Версия 1.0

Версия 1.0.0-бета01

12 марта 2025 г.

Выпущен androidx.core:core-i18n:1.0.0-beta01 . Версия 1.0.0-beta01 содержит эти коммиты .

Новые возможности

  • Это первый выпуск компонента core-i18n . Компонент упрощает создание интернационализированных приложений, уделяя особое внимание двум основным областям:
    • Функциональность форматирования даты и времени соответствует лучшим текущим практикам, учитывает пользовательские настройки и предоставляет унифицированный API, который правильно работает на старых и новых версиях Android.
    • Резервный порт android.icu.text.MessageFormat , который работает со старыми API. Но по-прежнему полезно в новых версиях Android, поскольку оно объединяет упомянутое выше форматирование даты и времени. Это учитывает пользовательские настройки, чего не делает android.icu.text.MessageFormat .
    • Компонент станет средством поддержки новых API-интерфейсов i18n, добавления новых функций или исправлений i18n и в целом упрощения интернационализации.

Версия 1.0.0-альфа01

26 июля 2023 г.

Выпущен androidx.core:core-i18n:1.0.0-alpha01 . Версия 1.0.0-alpha01 содержит эти коммиты.

База-расположение-высота Версия 1.0.

Версия 1.0.0-альфа03

16 октября 2024 г.

androidx.core:core-location-altitude:1.0.0-alpha03 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha03 и androidx.core:core-location-altitude-proto:1.0.0-alpha03 выпущены. Версия 1.0.0-alpha03 содержит эти коммиты .

Исправление безопасности

  • После этого изменения androidx компилируется с protobuf 4.28.2 для устранения CVE-2024-7254 . Обновите свою зависимость от androidx.core:core-location-altitude-proto и androidx.core:core-location-altitude-external-protobuf до версии 1.1.0-alpha03, чтобы устранить риск уязвимости.

Исправления ошибок

  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , б/345472586 )

Версия 1.0.0-альфа02

12 июня 2024 г.

androidx.core:core-location-altitude:1.0.0-alpha02 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha02 и androidx.core:core-location-altitude-proto:1.0.0-alpha02 выпущены. Версия 1.0.0-alpha02 содержит эти коммиты .

Исправления ошибок

  • Исправлен сбой proguard, вызванный переупаковкой библиотек прототипов.

Внешний вклад

  • Исправление ошибки, представленное выше, предоставлено andrekir@pm.me.

Версия 1.0.0-альфа01

26 июля 2023 г.

Выпущены androidx.core:core-i18n:1.0.0-alpha01 и androidx.core:core-location-altitude:1.0.0-alpha01 . Версия 1.0.0-alpha01 содержит эти коммиты.

Новые возможности

  • Добавлен класс AltitudeConverterCompat с одним статическим методом addMslAltitudeToLocation(Context, Location) ( I11168 ).

Ядро-телеком Версия 1.0.

Версия 1.0.0-бета01

11 декабря 2024 г.

Выпущен androidx.core:core-telecom:1.0.0-beta01 . Версия 1.0.0-beta01 содержит эти коммиты .

Новые возможности

Бета-версия для следующих новых функций:

  • Получение доступных конечных точек аудио перед добавлением вызова. Разработчики приложений теперь могут отображать все доступные конечные точки перед началом вызова, что позволяет пользователям легко выбирать предпочитаемую конечную точку аудио и оптимизировать их настройку. Это устраняет необходимость в корректировках во время разговора в начале разговора, обеспечивая более плавную работу.
  • Экспериментальная поддержка API для расширений вызовов приложений VOIP. Расширения звонков позволяют приложению предоставлять более подробную информацию о текущем звонке, например список участников группового звонка или собрания. Поддерживаемые удаленные поверхности, такие как Android Auto, могут затем показывать эту информацию пользователю и позволять ему взаимодействовать с поддерживаемыми расширениями. В этом выпуске добавлены новые экспериментальные расширения:
    • Поддержка отображения участников группового звонка или собрания и описания того, какой участник активен. Поддержка следующих дополнительных действий над участниками:
      • Поднятие и опускание рук участников.
      • Избиение участников.
    • Поддержка тишины вызова, которая позволяет удаленным поверхностям отключать звук VOIP-вызова без глобального отключения микрофона.

Изменения API

  • Переименуйте addLocalSilenceExtension в addLocalCallsilenceExtension ( If4a9c ).
  • Измените preferredStartingCallEndpoint с var на val . ( Iab6b7 )
  • Добавьте API-интерфейсы молчания локальных вызовов ( I29dd0 ).
  • Реализуйте функцию compareTo для класса CallEndpointCompat ( Ia06b7 ).
  • Добавляет экспериментальный API действий приложения. ( Ifb796 )
  • Добавить новый API CallsManager getAvailableStartingCallEndpoints ( Ia8bcf )
  • Обновите аннотацию ExperimentalAppActions , чтобы обеспечить точное отслеживание всех случаев использования экспериментальной функции. ( ID5ea5 )

Исправления ошибок

  • Добавьте глобальный приемник состояния отключения звука для уровней Android API с 28 по 33. ( I75e66 ).
  • Устранена проблема, из-за которой только последний подключенный InCallService мог отправлять события действий ( I39599 ).
  • Реализует API расширений ICS для действий приложений VoIP. ( I1274c )
  • Отклонение вызова до уровня API 34 теперь корректно уничтожает вызов в Telecom. ( I635b7 )
  • addCall теперь правильно генерирует исключения через API вместо родительской сопрограммы ( I83334 ).
  • Добавьте значение заполнителя в пакет дополнительных услуг ( Iebf7f )
  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , б/345472586 )
  • Добавляет экспериментальную поддержку расширений в CallsManager#addCall . ( I24d92 )
  • Core-Telecom теперь будет генерировать исключение CallException если платформе не удалось добавить вызов из-за исключения, достижения максимального количества вызовов и т. д. ( I41f27 ).

Версия 1.0.0-альфа03

17 апреля 2024 г.

Выпущен androidx.core:core-telecom:1.0.0-alpha03 . Версия 1.0.0-alpha03 содержит эти коммиты .

Исправления ошибок

  • Рефакторинг JetpackConnectionService для исправления проблемы, которая возникает в SDK 33 и ниже, когда переданный адрес пуст. Обновленный JetpackConnectionService также устойчив к неожиданным значениям NULL из API-интерфейсов платформы Telecom.
  • Улучшения в документации API addCall/CallControlScope .
  • Повышение надежности тестирования.

Версия 1.0.0-альфа02

4 октября 2023 г.

Выпущен androidx.core:core-telecom:1.0.0-alpha02 . Версия 1.0.0-alpha02 содержит эти коммиты.

Изменения API

  • Изменены сигнатуры API для методов, которые возвращали логические значения для обозначения успеха/неудачи, чтобы вместо этого они возвращали класс результата, который четко указывает, почему операция завершилась успешно или неудачно.
  • Методы CallControlCallback перемещены в качестве лямбда-аргументов в addCall , чтобы исключить необходимость явного предоставления обратного вызова в области вызова.

Исправления ошибок

  • Исправлена ​​ошибка на уровне совместимости ConnectionService , которая приводила к отсутствию звука вызова при работе с SDK версии до U.
  • Улучшить документацию API.

Версия 1.0.0-альфа01

10 мая 2023 г.

Выпущен androidx.core:core-telecom:1.0.0-alpha01 . Эта версия разработана во внутренней ветке и должна использоваться с Android 14 Beta 2.

Новые возможности

  • Представляет API CallsManager , который приложения VoIP могут использовать для интеграции с платформой Telecom на устройстве. Вызовы, отправленные на платформу, получают преимущество от приоритета выполнения, видимости через Bluetooth, носимых и автомобильных устройств, а также упрощенной маршрутизации звука.

    API CallsManager является оболочкой устаревшего API ConnectionService для устройств под управлением более старых версий Android.

Core и Core-ktx версии 1.16

Версия 1.16.0-бета01

12 марта 2025 г.

Выпущены androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 и androidx.core:core-testing:1.16.0-beta01 . Версия 1.16.0-beta01 содержит эти коммиты .

Изменения API

  • Уточнение API защиты вставок ( I7050d )
  • Добавляет новый ключ для получения границ символов в неувеличенных координатах окна. ( Если7а06 )
  • Добавьте новое логическое свойство, чтобы указать, представляет ли AccesibilityNodeInfo обязательное поле. ( I4fd2d )
  • Обратный перенос View.transformMatrixToGlobal в ViewCompat ( If17e2 )

Версия 1.16.0-альфа02

29 января 2025 г.

Выпущены androidx.core:core:1.16.0-alpha02 , androidx.core:core-ktx:1.16.0-alpha02 и androidx.core:core-testing:1.16.0-alpha02 . Версия 1.16.0-alpha02 содержит эти коммиты .

Изменения API

  • Добавьте BuildCompat.isAtLeastB для проверки доступности API, добавленного в Пахлаву ( I0f89c ).
  • Добавьте экспериментальный API, чтобы получить список встроенных дисплеев. ( Идда4д )
  • Добавьте набор API, связанных с обеспечением контрастности системной панели ( I9849c ).

Исправления ошибок

  • Исправлена ​​проблема, из-за которой getLaunchDisplayId() возвращал неправильное значение по умолчанию 0 в SDK <26. ( Icd679 ).
  • Эта библиотека теперь использует аннотации NULL NULL JSpecify , которые являются типизированными. Разработчики Kotlin должны использовать следующие аргументы компилятора для обеспечения правильного использования: -Xjspecify-annotations=strict, -Xtype-enhancement-improvements-strict-mode ( Iaf3e1 , b/326456246 )

Версия 1.16.0-альфа01

11 декабря 2024 г.

Выпущены androidx.core:core:1.16.0-alpha01 , androidx.core:core-ktx:1.16.0-alpha01 и androidx.core:core-testing:1.16.0-alpha01 . Версия 1.16.0-alpha01 содержит эти коммиты .

Изменения API

  • Добавлен setLaunchDisplayId в ActivityOptionsCompat . ( I39e77 , б/379669743 )
  • Добавлен совместимый API для SYSTEM_OVERLAYS . ( Ibd1fd , б / 287470173 )
  • Добавлен OutcomeReceiverCompat — версия Android OutcomeReceiver , доступная на всех уровнях API. ( Ib8265 , б/380060342 )
  • Добавлен класс совместимости для android.view.ScrollFeedbackProvider . ( Icaa92 )
  • Добавлен ViewCompat.addViewOverlay(View) в качестве альтернативы View.getOverlay().add(View) . Вариант ViewCompat устраняет проблему, из-за которой владельцы, такие как LifecycleOwner и ViewModelStoreOwner не могли быть разрешены между накладываемым представлением и владельцем наложения. ( I81413 )
  • Представляет концепцию View , которое может иметь непересекающийся родительский элемент. Непересекающийся родительский элемент представления — это другое представление, которое фактически является родительским для другого представления, но не задается через свойство View.parent . Дополнительную информацию смотрите в документации. ( Ib2950 )
  • Добавлен новый API ViewGroupCompat#installCompatInsetsDispatch для разработчиков, чтобы исправить проблему с отправкой вставок, существовавшую до API 30. ( I11159 ).
  • Добавлен FontsContractCompat.TypefaceStyle IntDef для аннотирования стилей Typeface в FontsContractCompat . ( Ib3e5b )

Внешний вклад

  • Устаревший BuildCompat.isAtLeastV . Вместо этого вызывающие стороны должны напрямую проверять SDK_INT на соответствие 35. Спасибо Джейку Уортону! ( I294d1 )
  • В TaskStackBuilder добавлен флаг изменчивости. Спасибо Камалю Фараджу! ( Ife0ec , б/371534781 )

Core и Core-ktx версии 1.15

Версия 1.15.0

30 октября 2024 г.

Выпущены androidx.core:core:1.15.0 , androidx.core:core-ktx:1.15.0 и androidx.core:core-testing:1.15.0 . Версия 1.15.0 содержит эти коммиты .

Важные изменения с версии 1.14.0

  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , б/345472586 )
  • Различные обновления классов совместимости для обеспечения соответствия с Android 15 SDK.

Версия 1.15.0-rc01

16 октября 2024 г.

androidx.core:core:1.15.0-rc01 , androidx.core:core-ktx:1.15.0-rc01 и androidx.core:core-testing:1.15.0-rc01 выпущены. Версия 1.15.0-rc01 не содержит изменений по сравнению с предыдущим выпуском.

Версия 1.15.0-бета01

2 октября 2024 г.

Выпущены androidx.core:core:1.15.0-beta01 , androidx.core:core-ktx:1.15.0-beta01 и androidx.core:core-testing:1.15.0-beta01 . Версия 1.15.0-beta01 содержит эти коммиты .

Изменения API

  • Добавлены поля itemCount и importantForAccessibilityItemCount в CollectionInfoCompat . ( Ибаф34 )

Исправления ошибок

  • Исправление проблем с документацией в androidx.core.os.Profiling ( I2542f ).

Версия 1.15.0-альфа02

21 августа 2024 г.

Выпущены androidx.core:core:1.15.0-alpha02 , androidx.core:core-ktx:1.15.0-alpha02 и androidx.core:core-testing:1.15.0-alpha02 . Версия 1.15.0-alpha02 содержит эти коммиты .

Важные изменения

  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , б/345472586 )

Изменения API

  • В определения загружаемых шрифтов добавлен атрибут fallbackQuery XML, позволяющий использовать резервные шрифты на уровне символов для загружаемых шрифтов. ( Idd544 )
  • Добавляет вспомогательные API для использования ProfilingManager ( If2292 ).
  • Добавить метод совместимости для ActivityOptions.setPendingIntentBackgroundActivityStartMode ( I3ba1f , b/349617674 ).
  • Добавлен DisplayCutoutCompat.getCutoutPath ( I58778 , b/279635904 ).
  • Отменяет устаревание ParcelCompat.writeBoolean и делегирует API платформы на уровне API 29 и выше. ( I9d243 , б/313834577 )
  • Создайте FontsContractCompat.requestFonts , который принимает исполнителей ( I03016 , b/302377512 ).
  • Отменяет устаревание LocationCompat.isMock и делегирует API платформы на уровне API 31 и выше. ( I55940 , б / 313834577 )
  • Уведомления теперь можно помечать как голосовую почту. ( I068ab )

Версия 1.15.0-альфа01

12 июня 2024 г.

Выпущены androidx.core:core:1.15.0-alpha01 , androidx.core:core-ktx:1.15.0-alpha01 и androidx.core:core-testing:1.15.0-alpha01 . Эта версия разработана во внутренней ветке и совместима с Android 15 Beta 3 ( android-35 ).

Изменения API

  • Различные обновления классов совместимости для обеспечения соответствия с Android 15 SDK.

Core и Core-ktx версии 1.14

Версия 1.14.0-альфа01

1 мая 2024 г.

Выпущены androidx.core:core:1.14.0-alpha01 , androidx.core:core-ktx:1.14.0-alpha01 и androidx.core:core-testing:1.14.0-alpha01 . Версия 1.14.0-alpha01 содержит эти коммиты .

Новые возможности

  • Перейдите на 21 в качестве minSdkVersion по умолчанию для библиотек AndroidX ( I6ec7f ).

Изменения API

  • Устаревшие дополнительные устаревшие методы совместимости. ( Ie4470 , б/313834577 )
  • Устаревшие методы совместимости. ( I01d90 , б/313834577 )
  • Обновлен метод isAtLeastV() , который теперь возвращает true для окончательной версии V SDK. ( I6339a )

Core и Core-ktx версии 1.13

Версия 1.13.1

1 мая 2024 г.

androidx.core:core:1.13.1 , androidx.core:core-ktx:1.13.1 и androidx.core:core-testing:1.13.1 выпущены. Версия 1.13.1 содержит эти коммиты .

Исправления ошибок

  • Исправлена ​​проблема, из-за которой при отображении панели инструментов рукописного ввода нажатием пальца нельзя было переключиться на обычную клавиатуру ( I7f843 , b/332769437 ).

Версия 1.13.0

17 апреля 2024 г.

Выпущены androidx.core:core:1.13.0 , androidx.core:core-ktx:1.13.0 и androidx.core:core-testing:1.13.0 . Версия 1.13.0 содержит эти коммиты .

Важные изменения с версии 1.12.0

  • minSdkVersion библиотеки повышен до 19 . Многие API совместимости были помечены как устаревшие, поскольку они были необходимы только до уровня API 19.
  • Несколько классов были переписаны в Kotlin, чтобы обеспечить лучшую совместимость с потребителями Kotlin, сохраняя при этом совместимость с Java.
  • Удален FingerprintManagerCompat , который не используется, начиная с Android V, и не должен использоваться на более ранних платформах. Клиентам следует немедленно перейти на BiometricPrompt .
  • Добавлен PathParser , который может создавать экземпляр Path из строк пути SVG.

Версия 1.13.0-rc01

3 апреля 2024 г.

androidx.core:core:1.13.0-rc01 , androidx.core:core-ktx:1.13.0-rc01 и androidx.core:core-testing:1.13.0-rc01 выпущены. Версия 1.13.0-rc01 содержит эти коммиты .

Исправления ошибок

  • Исправлено получение исходного внешнего вида системной панели в API 30+ ( I18596 , b/219993701 ).

Версия 1.13.0-бета01

20 марта 2024 г.

Выпущены androidx.core:core:1.13.0-beta01 , androidx.core:core-ktx:1.13.0-beta01 и androidx.core:core-testing:1.13.0-beta01 . Версия 1.13.0-beta01 содержит эти коммиты .

Изменения API

  • PathParser теперь является final , interpolatePathDataNodes теперь выдает исключение для несовместимых аргументов вместо возврата boolean , а nodesToPath теперь принадлежит PathParser , а не PathParser.PathDataNode . ( I20d62 )
  • FingerprintManagerCompat был мягко удален перед его удалением из SDK платформы Android V. В ближайшем будущем реализация будет заменена на пустую, и разработчикам следует немедленно отказаться от этого класса. ( I7ca1b )
  • Интерфейс Pool и его подклассы SimplePool и SynchronizedPool теперь написаны на Kotlin. Общий тип объектов, хранящихся в пуле, теперь должен быть ненулевым. ( I08afe )

Внешний вклад

  • GestureDetectorCompat устарел, поскольку GestureDetector гарантированно будет доступен на платформе в минимальной версии SDK библиотеки. Спасибо Джейку Уортону за вклад. ( Icc4cd )
  • MarginLayoutParamsCompat больше не поддерживается, поскольку MarginLayoutParams гарантированно будет доступен на платформе как минимальная версия SDK библиотеки. Спасибо Джейку Уортону за вклад. ( I4e0c3 )

Версия 1.13.0-альфа05

7 февраля 2024 г.

Выпущены androidx.core:core:1.13.0-alpha05 , androidx.core:core-ktx:1.13.0-alpha05 и androidx.core:core-testing:1.13.0-alpha05 . Версия 1.13.0-alpha05 содержит эти коммиты.

Внешний вклад

  • Спасибо Мэтью Завислаку за корректное обновление документации ContextCompat.registerReceiver . ( 8fd733 )

Версия 1.13.0-альфа04

24 января 2024 г.

Выпущены androidx.core:core:1.13.0-alpha04 , androidx.core:core-ktx:1.13.0-alpha04 и androidx.core:core-testing:1.13.0-alpha04 . Версия 1.13.0-alpha04 содержит эти коммиты.

Новые возможности

  • Добавлен API AlarmManagerCompat.canScheduleExactAlarms ( I62e95 , b/315440583 ).

Котлин-преобразования

  • Класс androidx.core.util.Consumer был переписан на Kotlin и теперь обеспечивает соответствие универсального типа T значению NULL того, что получает метод accept() . ( Ie21e0 )
  • androidx.core.util.Supplier был преобразован в Kotlin, что гарантирует, что допустимость значения NULL типа, возвращаемого get() соответствует допустимости NULL типа универсального типа. ( I21e9c )
  • androidx.core.util.Function был переписан на Kotlin, гарантируя, что обнуляемость входных и выходных данных функции соответствует используемым универсальным типам. ( I09dd7 )

Внешний вклад

  • Спасибо Камалю Фаражу за добавление API AlarmManagerCompat.canScheduleExactAlarms ( I62e95 , b/315440583 ).

Версия 1.13.0-альфа03

10 января 2024 г.

Выпущены androidx.core:core:1.13.0-alpha03 , androidx.core:core-ktx:1.13.0-alpha03 и androidx.core:core-testing:1.13.0-alpha03 . Версия 1.13.0-alpha03 содержит эти коммиты.

Изменения API

  • ListViewCompat устарел, используйте ListView напрямую. ( Iacce6 , б/318353933 )
  • Устаревшие API ViewCompat.LAYOUT_DIRECTION_ . ( I51710 , б/317055535 )
  • Устаревшие методы совместимости в ViewCompat . ( I0bfc2 , б/313834577 )

Версия 1.13.0-альфа02

29 ноября 2023 г.

Выпущены androidx.core:core:1.13.0-alpha02 , androidx.core:core-ktx:1.13.0-alpha02 и androidx.core:core-testing:1.13.0-alpha02 . Версия 1.13.0-alpha02 содержит эти коммиты.

Новые возможности

  • Добавляет интерфейс OnUserLeaveHintProvider , позволяющий любому компоненту получать события onUserLeaveHint , необходимые для реализации режима «картинка в картинке». Это реализовано с помощью ComponentActivity в Activity 1.9.0-alpha01 . ( I54892 )

Изменения API

  • Устаревший androidx.core.os.CancellationSignal . Использование следует заменить на предоставленный платформой android.os.CancellationSignal . ( Id45f6 , б / 309499026 , б / 309054079 )
  • Интерфейсы OnMultiWindowModeChangedProvider , OnNewIntentProvider , OnPictureInPictureModeChangedProvider , OnConfigurationChangedProvider и OnTrimMemoryProvider были преобразованы в Kotlin, чтобы гарантировать, что общие параметры на Consumer , которые принимают их методы прослушивателя, имеют правильную возможность обнуления (все они не равны нулю). ( Ib6237 )
  • Классы MultiWindowModeChangedInfo и PictureInPictureModeChangedInfo , которые отправляются Consumer , добавленному в соответствующие интерфейсы Поставщика, теперь написаны на Kotlin. ( Ie08e2 )

Обновление зависимостей

Версия 1.13.0-альфа01

18 октября 2023 г.

Выпущены androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 и androidx.core:core-testing:1.13.0-alpha01 . Версия 1.13.0-alpha01 содержит эти коммиты.

Изменения API

  • Сделайте PathParser общедоступным. Класс может создать экземпляр Path из строк пути SVG. ( Ic7af2 , б/302376846 )
  • Добавлен метод совместимости для Context.createAttributionContext . ( I61dcf , Ibe187 )
  • Помечает NotificationCompatSideChannelService как устаревший. ( I18fd9 )
  • Новый API для дифференциального движения. ( I46b0d , Ia9f68 )
  • Дополнительные API-интерфейсы совместимости для VelocityTracker для отслеживания SDK платформы. ( I32753 )

Исправления ошибок

  • Переопределить методы equals и hashCode в Person . ( I610a5 )

Core и Core-ktx версии 1.12

Версия 1.12.0

6 сентября 2023 г.

Выпущены androidx.core:core:1.12.0 , androidx.core:core-ktx:1.12.0 и androidx.core:core-testing:1.12.0 . Версия 1.12.0 содержит эти коммиты.

Важные изменения с версии 1.11.0

  • Добавлено множество методов совместимости для проверки четности SDK 34 с TextView, AccessibilityNodeInfo и т. д.
  • Новые API-интерфейсы LocalePreferences , помогающие разработчикам легко получать доступ к данным локали или настройкам локали пользователя.
  • app.BundleCompat устарел в пользу os.BundleCompat .
  • Устаревший BuildCompat.isAtLeastU() . Вместо этого используйте SDK_INT >= 34 .

Версия 1.12.0-rc01

9 августа 2023 г.

androidx.core:core:1.12.0-rc01 , androidx.core:core-ktx:1.12.0-rc01 и androidx.core:core-testing:1.12.0-rc01 выпущены без серьезных изменений. Версия 1.12.0-rc01 содержит эти коммиты.

Версия 1.12.0-бета01

26 июля 2023 г.

Выпущены androidx.core:core:1.12.0-beta01 , androidx.core:core-ktx:1.12.0-beta01 и androidx.core:core-testing:1.12.0-beta01 . Версия 1.12.0-beta01 содержит эти коммиты.

Изменения API

  • Добавлен setLineHeight(unit, lineHeight) в классы совместимости TextView ( Ia9fa9 ).
  • Добавлен TypedValueCompat.getUnitFromComplexDimension() из Android 14 ( I958e8 ).
  • Добавлен setLineHeight(unit, lineHeight) в классы совместимости TextView ( Ib2ee1 ).
  • Резервный порт различных API специальных возможностей ( Ic65ba )
  • Методы Backport API 34 AccessibilityNodeInfo ( I44182 )
  • Выпускной стабильный SDK выходит из экспериментального ( Ia9b35 ).
  • Backport AccessiiblityWindowInfo 34 API ( I96a5d )
  • Устаревший BuildCompat.isAtLeastU() . Вместо этого используйте SDK_INT >= 34 . ( I4f8e7 , б / 289269026 )
  • Удалено использование экспериментального API isAtLeastU() ( Ie9117 , b/289269026 ).
  • BuildCompat перенесен в Kotlin для улучшенного устаревшего тега ( I56775 , b/289269026 ).
  • Добавлен setLineHeight(unit, lineHeight) в классы совместимости TextView ( I15716 ).
  • Новое свойство совместимости accessibilityDataSensitive . ( I0c6e0 )
  • PendingIntentCompat.getActivity и getService могут возвращать значение null, если указан FLAG_NO_CREATE . ( Ifffdf0 , b/289696515 )
  • Обновлены файлы API для подавления аннотаций совместимости ( I8e87a , b/287516207 ).
  • Добавлен PendingIntentCompat.send() ( Iaf707 ).
  • Добавляет совместимые версии Location.removeVerticalAccuracy() , Location.removeSpeedAccuracy() и Location.removeBearingAccuracy() . ( I5b640 )

Исправления ошибок

  • Представление сделано важным для доступности, если у представления есть делегат доступности. ( Если2b54 )

Версия 1.12.0-альфа05

7 июня 2023 г.

Выпущены androidx.core:core:1.12.0-alpha05 , androidx.core:core-ktx:1.12.0-alpha05 и androidx.core:core-testing:1.12.0-alpha05 . Эта версия разработана во внутренней ветке.

Исправления ошибок

  • Обновлена ​​документация по классам ColorUtils для генерации цвета на основе параметров Material 3 Hue, Chroma и Tone (M3HCT). ( I32979 , I21c8c )
  • Исправление устаревания replaceWith для android.os.Trace ( I730f9 ).

Версия 1.12.0-альфа04

10 мая 2023 г.

Выпущены androidx.core:core:1.12.0-alpha04 , androidx.core:core-ktx:1.12.0-alpha04 и androidx.core:core-testing:1.12.0-alpha04 . Это было выпущено из внутренней ветки.

Версия 1.12.0-альфа03

12 апреля 2023 г.

Выпущены androidx.core:core:1.12.0-alpha03 , androidx.core:core-ktx:1.12.0-alpha03 и androidx.core:core-testing:1.12.0-alpha03 . Это было выпущено из внутренней ветки.

Изменения API

  • Отображает NotificationCompat.TvExtender (aosp/01c67677e9310b2cf4c536d7e951e117d6cce64a)
  • Добавлены общедоступные методы для доступа к параметрам M3HCT и преобразования значений M3HCT в ARGB (aosp/06810598aa94bee731bbe0d277933b8b9614934e).
  • Добавлен NotificationManager.getCurrentInterruptionFilter (aosp/b0c6940639e35371d212a7ebd7dbf01c14fc7710).
  • В NotifManagerCompat добавлен getCurrentInterruptionFilter (aosp/516143e05f824ff49bde3c0c97344a2924867d30).
  • app.BundleCompat устарел в пользу os.BundleCompat (aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40).
  • Добавлен TestConsumer , чтобы разработчики могли записывать значения в тесте. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf)
  • Добавлен TestConsumer , чтобы разработчики могли записывать значения в тесте. (aosp/67ad4e2c6488772b7c9a061ee6ca01bba23649f7).

Исправления ошибок

  • Исправлена ​​ошибка, из-за которой unregisterGnssMeasurementsCallback() не работала должным образом под Android R. (aosp/c5a97c4ee956f87d229ec892f2b8849f392e956c)

Версия 1.12.0-альфа01

8 марта 2023 г.

Выпущены androidx.core:core:1.12.0-alpha01 и androidx.core:core-ktx:1.12.0-alpha01 . Версия 1.12.0-alpha01 содержит эти коммиты.

Новые возможности

  • Предоставляет API, помогающие разработчикам легко получить доступ к предпочтениям пользователя или данным локали в ICU. Доступные региональные данные включают часовой цикл, тип календаря, единицу измерения температуры и первый день недели.

Изменения API

  • Добавлены новые API LocalePreferences , которые помогают разработчикам легко получать доступ к данным локали или настройкам локали пользователя.

Core и Core-ktx версии 1.11

Версия 1.11.0-бета02

7 июня 2023 г.

Выпущены androidx.core:core:1.11.0-beta02 , androidx.core:core-ktx:1.11.0-beta02 и androidx.core:core-testing:1.11.0-beta02 . Версия 1.11.0-beta02 содержит эти коммиты.

Исправления ошибок

  • Обновлена ​​документация по классам ColorUtils для генерации цвета на основе параметров Material 3 Hue, Chroma и Tone (M3HCT). ( I32979 , I21c8c )
  • Исправление устаревания replaceWith для android.os.Trace ( I730f9 ).

Версия 1.11.0-бета01

24 мая 2023 г.

Выпущены androidx.core:core:1.11.0-beta01 , androidx.core:core-ktx:1.11.0-beta01 и androidx.core:core-testing:1.11.0-beta01 . Версия 1.11.0-beta01 содержит эти коммиты.

Изменения API

  • Добавить поддержку ViewCompat в метод performHapticFeedback ( Ib02c6 ).
  • Измените getDisplay на #getDisplayOrDefault ( I96ff9 ).
  • Добавить ContextCompat#getDisplay(Context) ( I7011f , b/178183326 )
  • Добавьте ContextCompat#getContextForLanguage(Context) для получения локалей для каждого приложения в контексте, не связанном с активностью ( I58e75 , b/243457462 ).

Исправления ошибок

  • Уточнить документы CollectionInfoCompat , особенно isHierarchical ( I14f6c ).

Версия 1.11.0-альфа04

10 мая 2023 г.

Выпущены androidx.core:core:1.11.0-alpha04 , androidx.core:core-ktx:1.11.0-alpha04 и androidx.core:core-testing:1.11.0-alpha04 . Версия 1.11.0-alpha04 содержит эти коммиты.

Изменения API

  • Добавлен LinkMovementMethodCompat , который исправляет обработку касания ссылки ( Ia632c ).
  • PendingIntent.getBroadcast() теперь правильно помечен как @Nullable ( Ifff96 , b/277630907 ).

Исправления ошибок

  • Исправлена ​​утечка контекста в DisplayManagerCompat ( I3409b , b/279625765 ).
  • Добавлен SoftwareKeyboardControllerCompat , предоставляющий прямые методы для отображения и скрытия программной клавиатуры в представлении. Это резервное копирование обходных путей для известных проблем при использовании API-интерфейсов WindowInsetsController на некоторых уровнях API, а также извлечение базовой реализации для WindowInsetsControllerCompat.show и скрытие для типов вставки IME. ( Idd0a3 )

Версия 1.11.0-альфа03

19 апреля 2023 г.

Выпущены androidx.core:core:1.11.0-alpha03 , androidx.core:core-ktx:1.11.0-alpha03 и androidx.core:core-testing:1.11.0-alpha03 . Версия 1.11.0-alpha03 содержит эти коммиты.

Изменения API

  • Обновление BuildCompat при подготовке к Android 14 Beta 2 ( Idc1b1 , b/276491001 )
  • Отображает NotificationCompat.TvExtender ( Ibe13a )
  • Добавьте общедоступные методы для доступа к параметрам M3HCT и преобразуйте значения M3HCT в ARGB ( Id7e9d ).

Версия 1.11.0-альфа02

5 апреля 2023 г.

Выпущены androidx.core:core:1.11.0-alpha02 , androidx.core:core-ktx:1.11.0-alpha02 и androidx.core:core-testing:1.11.0-alpha02 . Версия 1.11.0-alpha02 содержит эти коммиты.

Изменения API

  • Добавляет getCurrentInterruptionFilter в NotifManagerCompat ( I8ec95 , b/243183646 ).
  • Устаревший app.BundleCompat в пользу os.BundleCompat ( Idc3a2 , b/274577000 )
  • Добавьте TestConsumer , чтобы разработчики могли записывать значения в тесте. ( I937c1 )

Исправления ошибок

  • Исправлена ​​ошибка, из-за которой unregisterGnssMeasurementsCallback() не работала должным образом ниже Android R. ( Id1999 ).

Версия 1.11.0-альфа01

22 марта 2023 г.

Выпущены androidx.core:core:1.11.0-alpha01 и androidx.core:core-ktx:1.11.0-alpha01 . Версия 1.11.0-alpha01 содержит эти коммиты.

Изменения API

  • В Android U API ContentProvider getType требует, чтобы вызывающая сторона имела правильное разрешение на чтение. FileProvider теперь предоставляет реализацию getTypeAnonymous по умолчанию, которая является неограниченной версией. ( I4773f )
  • Добавлены классы совместимости для API захвата контента ( I09366 ).
  • Добавлен NotifCompat.Builder.setLargeIcon(Icon) ( Ic0a5b ).
  • Добавляет API пакетных уведомлений в NotificationManagerCompat . Пользователям рекомендуется использовать этот API при публикации нескольких уведомлений. ( I2cd7f )
  • Добавлен registerGnssMeasurementsCallback() с поддержкой Executor на платформах до R ( I579f8 ).

Core и Core-ktx версии 1.10

Версия 1.10.1

10 мая 2023 г.

Выпущены androidx.core:core:1.10.1 и androidx.core:core-ktx:1.10.1 . Версия 1.10.1 содержит эти коммиты.

Внешний вклад

  • Исправлено исключение BadParcelableException , когда результат был нулевым b/277434277 , b/278118318, предоставлено Mygod Studio.

Версия 1.10.0

5 апреля 2023 г.

Выпущены androidx.core:core:1.10.0 и androidx.core:core-ktx:1.10.0 . Версия 1.10.0 содержит эти коммиты.

Важные изменения с версии 1.9.0

  • Устаревшая переработка объектов доступности. Мы обнаружили, что изменения производительности незначительны даже для самых старых поддерживаемых версий ОС. ( I0a961 )
  • Добавлены константы BuildCompat для версий расширений SDK. ( I6084c )
  • См. примечания к выпуску предварительных версий 1.10.0 для получения информации о новых API и исправлениях ошибок.

Версия 1.10.0-rc01

8 марта 2023 г.

androidx.core:core:1.10.0-rc01 и androidx.core:core-ktx:1.10.0-rc01 выпущены без изменений по сравнению с предыдущей бета-версией.

Версия 1.10.0-бета01

22 февраля 2023 г.

Выпущены androidx.core:core:1.10.0-beta01 и androidx.core:core-ktx:1.10.0-beta01 . Версия 1.10.0-beta01 содержит эти коммиты.

Изменения API

  • API-интерфейсы AccessibilityNodeInfoCompat set/getMinMillisBetweteenContentChanges были переименованы в set/getMinDurationBetweenContentChanges и теперь занимают long времени. ( ф46689 )
  • Добавлен NotificationCompat.bigLargeIcon(Icon) ( I60855 ).

Исправления ошибок

  • Исправлены документы, касающиеся значения по умолчанию NotificationCompat.Builder.setShowWhen() ( ba52a2 ).
  • Исправить опечатку в документации AccelerateInterpolator / DecelerateInterpolator ( 2173505 ).
  • Исправить опечатку в документации ShortcutInfoCompat ( 44075f ).
  • Исправьте действия клавиатуры вверх, вниз, пробел и варианты клавиш с помощью NestedScrollView и CoordinatorLayout ( bdd72e ).

Версия 1.10.0-альфа02

25 января 2023 г.

Выпущены androidx.core:core:1.10.0-alpha02 и androidx.core:core-ktx:1.10.0-alpha02 . Версия 1.10.0-alpha02 содержит эти коммиты.

Изменения API

  • Добавлена ​​константа BuildCompat для версии расширения AD_SERVICES ( I51d98 ).
  • Добавьте BEHAVIOR_DEFAULT в WindowInsetsControllerCompat . BEHAVIOR_SHOW_BARS_BY_SWIPE и BEHAVIOR_SHOW_BARS_BY_TOUCH устарели. ( I17b61 )

Версия 1.10.0-альфа01

11 января 2023 г.

Выпущены androidx.core:core:1.10.0-alpha01 и androidx.core:core-ktx:1.10.0-alpha01 . Версия 1.10.0-alpha01 содержит эти коммиты.

Изменения API

  • Добавляет CallStyle в NotificationCompat ( Id9a53 , b/199294989 )
  • Добавлены константы BuildCompat для версий расширения SDK ( I6084c ).
  • Добавьте API для установки первоначального фокуса на узле доступности. ( Ид199а )
  • Добавить новые API для ограничения скорости изменения контента ( If4ea0 ).
  • Добавляет методы совместимости для новых API, представленных в Android 13 для посылок, пучков и намерений. Некоторые подписи метода ParcelCompat были обновлены и могут потребовать изменения источника при обновлении, чтобы подтвердить новую подпись. ( I57e94 , b/242048899 )
  • Уничтожение утилизации объектов доступности. Мы обнаружили, что изменения производительности незначительны даже в самых старых поддерживаемых версиях. ( I0A961 )
  • Обновленный тип возврата, нуляемость устаревших функций ( IBF7B0 )
  • Добавленные времена/Div Operator перегрузки для Point и Pointf ( i8e557 , b/261574780 )

Исправления ошибок

  • Добавить в AccessibilityEvent#TYPE_ANNOUNCEMENT с предложением, чтобы избежать его использования. ( I818bf )
  • Укажите списки должны иметь 1 строку или 1 столбец для доступности ( IA1223 )

Core и Core-KTX версия 1.9.0

Версия 1.9.0

7 сентября 2022 г.

androidx.core:core:1.9.0 и androidx.core:core-ktx:1.9.0 выпускаются. Версия 1.9.0 содержит эти коммиты.

Важные изменения с 1.8.0

  • Обновлено для повышения совместимости с Android 13, включая изменения нуля и паритет с помощью Framework API
  • Добавлены IntentSanitizer , чтобы дезинфицировать небезопасные намерения, прежде чем запустить их. ( Ib0be5 )
  • Добавляет поддержку BigPictureStyle с использованием Icon ( ICE26D )
  • Добавлено @RequiresPermission в API, которые требуют предоставления разрешения POST_NOTIFICATIONS на SDK 33 и выше. ( IE542E )
  • Улучшенный паритет между API API -интерфейсом Android 13 и API Compat ( I93C97 , I5A074 , IEDF82 )

Версия 1.9.0-RC01

24 августа 2022 г.

androidx.core:core:1.9.0-rc01 и androidx.core:core-ktx:1.9.0-rc01 выпускаются. Версия 1.9.0-RC01 содержит эти коммиты.

Исправления ошибок

  • IntentSanitizer.sanitizeByFiltering больше не записывается в журнал при фильтрации ( 69B3B55 )

Версия 1.9.0-бета01

10 августа 2022 г.

androidx.core:core:1.9.0-beta01 выпущен. Версия 1.9.0-бета01 содержит эти коммиты.

Изменения API

  • Добавлена ​​совместимость для ACTION_SHOW_TEXT_SUGGESTIONS и is/setTextSelectable ( IEDF82 )
  • Добавлены IntentSanitizer , чтобы дезинфицировать небезопасные намерения, прежде чем запустить их. ( Ib0be5 )
  • Добавляет поддержку BigPictureStyle с использованием Icon ( ICE26D , B/2155833339 )
  • Обновленные аннотации Nullability ( I34CCE , B/236498052 , B/236498029 , B/2364999996 , B/236497942 , B/236497884 , B/236497726 )
  • Добавлены LocationManagerCompat.registerGnssMeasurementsCallback для работы вокруг Android R Bugs. ( IE0F6F )

Исправления ошибок

  • Добавлено @RequiresPermission в API, которые требуют предоставления разрешения POST_NOTIFICATIONS на SDK 33 и выше. ( IE542E , B/238790278 )
  • Добавление поддержки для API, введенного в T. "into Androidx-платформенного дева" ( )
  • Добавление поддержки для API, введенного в T. ( i358f1 )
  • TypefaceCompate.create(..., weight, italic) будет отступить на Typeface.create платформы. Create, когда Compat Impl не может разрешить API 14-20 ( i1ee34 , b/145311058 )
  • Добавлены константы фреймворта доступности , ранее отсутствовали в Androidx.
  • Добавлены константы структуры доступности ранее отсутствовали в Androidx. ( I93c97 )

Внешний вклад

  • Backported Typeface#create(Typeface, int, boolean) , который позволяет создавать шрифт с определенным весом из семейства шрифтов ( i342dc )

Версия 1.9.0-Alpha05

15 июня 2022 г.

androidx.core:core:1.9.0-alpha05 и androidx.core:core-ktx:1.9.0-alpha05 выпускаются. Версия 1.9.0-Alpha05 была разработана в частном филиале перед выпуском и не имеет общественных коммитов.

Изменения API

  • Обновления Nullability, чтобы соответствовать завершенной поверхности API в Tiramisu Beta 3 SDK
  • minCompileSdk сейчас 33, чтобы соответствовать TIRAMISU BETA 3 SDK

Версия 1.9.0-Alpha04

18 мая 2022 г.

androidx.core:core:1.9.0-alpha04 и androidx.core:core-ktx:1.9.0-alpha04 выпускаются. Версия 1.9.0-Alpha04 построена против предварительного выпуски Android SDK и не имеет общедоступной истории коммита.

Исправления ошибок

  • Возврат инициативы BuildCompat.isAtLeastT() и сопровождающие проверки SDK_INT

Версия 1.9.0-Alpha03

27 апреля 2022 года

androidx.core:core:1.9.0-alpha03 и androidx.core:core-ktx:1.9.0-alpha03 выпускаются. Версия 1.9.0-Alpha04 содержит все коммиты от 1,8,0-бета01 , но была построена против Android 13 Beta 1.

Эта версия требует Android 13 Beta 1 для компиляции, и она не гарантированно будет совместима с время выполнения с будущими предварительными просмотрами разработчиков.

Версия 1.9.0-Alpha02

23 марта 2022 г.

androidx.core:core:1.9.0-alpha02 и androidx.core:core-ktx:1.9.0-alpha02 выпускаются. Версия 1.9.0-Alpha02 содержит все коммиты от 1.8.0-Alpha06, но был построен против Tiramisu DP2.

Версия 1.9.0-Alpha01

23 февраля 2022 г.

androidx.core:core:1.9.0-alpha01 и androidx.core:core-ktx:1.9.0-alpha01 выпускаются. Версия 1.9.0-Alpha01 была построена из внутренней филиала и не имеет публично видимых коммитов.

Эта версия требует, чтобы Android Tiramisu DP1 для компиляции и не гарантированно будет совместима со временем выполнения с будущими предварительными просмотрами разработчиков.

Новые возможности

  • Совместим с Android Tiramisu DP1.

Core и Core-KTX версия 1.8.0

Версия 1.8.0

1 июня 2022 г.

androidx.core:core:1.8.0 и androidx.core:core-ktx:1.8.0 выпускаются. Версия 1.8.0 содержит эти коммиты.

Важные изменения с 1.7.0

  • Значительная очистка аннотаций с нулями для повышения удобства использования котлина
  • Улучшение паритета платформы NotificationCompat ShortcutInfoCompat
  • Новые интерфейсы, позволяющие компонентам получать события в картинке и многонародовой режиме, реализованные ComponentActivity в библиотеке активности
  • Улучшения в методах обратного вызова MenuProvider , в том числе onPrepareMenu и onMenuClosed
  • Фиксированная проблема, в которой FileProvider потерпит неудачу с IllegalArgumentException на определенных устройствах
  • Фиксированная проблема, в которой TypefaceCompat применял неверный вес шрифта на API 29+ ( B/194553426 ) благодаря вкладу Rikkaw

Версия 1.8.0-RC02

18 мая 2022 г.

androidx.core:core:1.8.0-rc02 и androidx.core:core-ktx:1.8.0-rc02 выпускаются. Версия 1.8.0-RC02 содержит эти коммиты.

Исправления ошибок

  • Cast OnSharedElementsReadyListener в полноквалифицированный класс платформы для предотвращения ClassCastException ( 0029FED )

Версия 1.8.0-rc01

11 мая 2022 г.

androidx.core:core:1.8.0-rc01 и androidx.core:core-ktx:1.8.0-rc01 выпускаются. Версия 1.8.0-RC01 содержит эти коммиты.

Изменения API

  • Добавлена ​​проверка BuildCompat для следующего цикла предварительного выпуска ( IF5A8F , b/229859122 )
  • Обновлено BuildCompat.isAtLeastT() для окончательного значения sdk_int. ( Iffae0 )

Версия 1.8.0-бета01

20 апреля 2022 г.

androidx.core:core:1.8.0-beta01 и androidx.core:core-ktx:1.8.0-beta01 выпускаются без изменений с 1.8.0-Alpha07. Версия 1.8.0-BETA01 содержит эти коммиты.

Версия 1.8.0-альфа07

6 апреля 2022 г.

androidx.core:core:1.8.0-alpha07 и androidx.core:core-ktx:1.8.0-alpha07 выпускаются. Версия 1.8.0-Alpha07 содержит эти коммиты.

Исправления ошибок

  • TypefaceCompat теперь будет уважать запрашиваемую и загруженную информацию о стиле API 29+. Это изменение поведения FontWeight.Bold когда загруженные шрифты не являются FontWeight.Normal . ( #212 , b/194553426 )

Внешний вклад

  • Спасибо, Рикко, за то, что мы правильно применили вес шрифта в TypeCecompat на API 29+. #212

Версия 1.8.0-альфа06

23 марта 2022 г.

androidx.core:core:1.8.0-alpha06 выпускается. Версия 1.8.0-Alpha06 содержит эти коммиты.

Изменения API

  • Интерфейс MenuProvider теперь включает в себя обратный вызов onPrepareMenu() , который вызывается, когда меню динамически модифицировано и должно быть показано. ( IE85F9 )
  • Интерфейс MenuProvider теперь включает в себя метод onMenuClosed() который будет использоваться всякий раз, когда меню должно быть закрыто. ( IF5A16 )
  • Обновлен IconCompat#getResId , чтобы иметь правильный тип аннотации ресурса, чтобы соответствовать соответствующему методу в Framework в Icon#getResId ( i49700 )
  • Отменено предыдущее изменение, основанное исключительно на представлении для WindowInsetsControllerCompat , и снова требуется окно, необходимое для управления некоторыми флагами окон. Устаревший ViewCompat.getWindowInsetsController в пользу WindowCompat.getInsetsController , чтобы гарантировать использование правильного окна (например, если представление находится в диалоговом окне). ( I660ae , б / 219572936 )
  • Обновленная нулясь в Core и AppCompat в соответствии с тирамису DP2 ( I0CB7 )
  • Добавляет метод в BitmapCompat для более плавного перерыва растровых карт. ( IB706C )
  • Добавлены аннотации с нуля в ActivityCompat.requestDragAndDropPermissions ( I0F2B0 , B/206113378 )
  • Добавлено обходное оболочку в FileProvider для производителей MORTING META-HAS из манифестов. ( I82f63 )

Исправления ошибок

  • Рассмотрим изменение видимости родителей для статуса видимости панели A11y для <P ( i8e04f )

Версия 1.8.0-альфа05

23 февраля 2022 г.

androidx.core:core:1.8.0-alpha05 и androidx.core:core-ktx:1.8.0-alpha05 выпускаются. Версия 1.8.0-Alpha05 содержит эти коммиты.

Изменения API

  • Обновленная Nullability для классов Androidx.core.os ( IF18CD , B/206113622 )
  • Обновленная Nullability для классов androidx.core.app ( i657eb , b/206113302 )
  • Обновленная нуляемость для классов androidx.core.text ( I08329 , B/206113384 )
  • Добавлены функции ExtraData к AccessibilityNodeInfoCompat ( if2fc7 , b/137789185 )
  • Добавлена ​​перегрузка Zero-Arg для bundleOf() чтобы избежать невидимого распределения массива при создании пустого пакета ( IF7089 )
  • Добавлено Continuation<T>.asFoo() адаптеры для создания обратных вызовов для написания приостановленных обертка для API API, которые принимают общие/общие типы обратного вызова ( i6615e )
  • Добавлено nullable Drawable.toBitmapOrNull , чтобы избежать исключений ( i2342a )

Версия 1.8.0-альфа04

9 февраля 2022 г.

androidx.core:core:1.8.0-alpha04 и androidx.core:core-ktx:1.8.0-alpha04 выпускаются. Версия 1.8.0-Alpha04 содержит эти коммиты.

Изменения API

  • Добавляет интерфейс OnPictureInPictureModeChangedProvider , чтобы позволить любому компоненту получать события в режиме картины. Это реализовано ComponentActivity в активности 1.5.0-alpha02 . ( I9f567 )
  • Добавляет интерфейс OnMultiWindowModeChangedProvider , чтобы позволить любому компоненту получать события изменения режима с несколькими окнами. Это реализовано ComponentActivity в активности 1.5.0-alpha02 . ( I62d91 )
  • Очистка нулевы для подмножества API APIS Androidx.core. ( IA0E2F , B/206113818 )

Версия 1.8.0-Alpha03

26 января 2022 г.

androidx.core:core:1.8.0-alpha03 и androidx.core:core-ktx:1.8.0-alpha03 выпускаются. Версия 1.8.0-Alpha03 содержит эти коммиты.

Изменения API

  • Конвертированный WindowInsetsControllerCompat зависел от вида вместо окна или платформы WindowInsetsController . Это улучшает поведение с помощью диалогов, показывая IME, и обеспечивает обходной путь неопределенных методов создания ( B/180881870 ). ( I29264 , B/207401542 , B/210121779 )
  • Очистка нулевы для подмножества API APIS Androidx.core. ( IB2583 , B/206113818 )
  • Фиксированная нуляция performAccessibilityAction Params ( IBBAFE )
  • Добавлен метод работы по вопросам ColorStateList , возникающих в результате кэширования и темы.
  • Обновите API видимости ярлыка для лучшей читаемости ( IA58DF )
  • Добавлена ​​перегрузка Zero-Arg для persistableBundleOf() чтобы избежать ненужного распределения массива при создании пустого PersistableBundle ( ICD7A4 )

Версия 1.8.0-альфа02

15 декабря 2021 г.

androidx.core:core:1.8.0-alpha02 и androidx.core:core-ktx:1.8.0-alpha02 выпускаются. Версия 1.8.0-Alpha02 содержит эти коммиты.

Изменения API

  • Добавляет экспериментальные методы BuildCompat для будущих SDK ( IAFD82 , B/207528937 )
  • Добавьте методы утилиты для преобразования документа в ярлык и наоборот. ( ID512C )
  • Обновление API видимости для ярлыка для лучшей читаемости ( i86dec )
  • Добавляет интерфейсы OnNewIntentProvider , OnConfigurationChangedProvider и onTrimMemoryProvider , которые можно использовать для обозначения того, что ваша пользовательская деятельность может отправлять эти события в любой компонент, который добавляет слушателя. ( If1f8b , if623b , ia9295 )

Версия 1.8.0-альфа01

1 декабря 2021 г.

androidx.core:core:1.8.0-alpha01 и androidx.core:core-ktx:1.8.0-alpha01 выпускаются. Версия 1.8.0-Alpha01 содержит эти коммиты.

Изменения API

  • Значительная очистка аннотаций нуля
  • Добавлен новый API ShortcutInfoCompat.Builder#setHiddenFromLauncher , чтобы определить, должен ли сочетание сочетания от пусковой установки. ( IA2A71 )
  • Добавить NotificationCompat.Action#setAuthenticationRequired ( IEEFA , B/202172887 )
  • Добавить NotificationCompat.BigPictureStyle.setContentDescription ( i3b483 )
  • Добавлена Map<String, Any?>.toPersistableBundle() ( i82c86 )

Исправления ошибок

  • Регулирует расстояние прокрутки для действия доступа ( IF74A )
  • Снятый код жестко -кодированного языка в Javadocs ( IE5D68 )

Core и Core-KTX версия 1.7

Версия 1.7.0

27 октября 2021 г.

androidx.core:core:1.7.0 и androidx.core:core-ktx:1.7.0 выпускаются. Версия 1.7.0 содержит эти коммиты.

Важные изменения с версии 1.6.0

  • Добавляет поддержку для взаимодействия с SDK 30 и более поздними функциями отзывы разрешений и приложений, с обратной точкой до SDK 23 на поддерживаемых устройствах. См. IntentCompat.createManageUnusedApprestrictionsIntent для получения дополнительной информации.
  • Добавляет поддержку для составления поддержки меню в компонентах, см. MenuProvider для получения дополнительной информации.

Версия 1.7.0-rc01

13 октября 2021 г.

androidx.core:core:1.7.0-rc01 и androidx.core:core-ktx:1.7.0-rc01 выпускаются. Версия 1.7.0-RC01 содержит эти коммиты.

Версия 1.7.0-бета02

29 сентября 2021 г.

androidx.core:core:1.7.0-beta02 и androidx.core:core-ktx:1.7.0-beta02 выпущен. Версия 1.7.0-beta02 содержит эти коммиты.

Исправления ошибок

  • MenuHostHelper теперь правильно удалит все LifeCycleobservers, когда MenuProvider будет удален до DESTROYED жизненного цикла. ( IBE2E1 , B/199788262 )
  • Обновите описания постоянных ограничений неиспользованных приложений, чтобы быть более четкими для разработчиков ( I2858E )

Версия 1.7.0-бета01

15 сентября 2021 г.

androidx.core:core:1.7.0-beta01 и androidx.core:core-ktx:1.7.0-beta01 выпускаются. Версия 1.7.0-BETA01 содержит эти коммиты.

Изменения API

  • LocationRequestCompat.toProvider теперь может вернуть NULL ( IB5A09 )

Версия 1.7.0-альфа02

1 сентября 2021 г.

androidx.core:core:1.7.0-alpha02 и androidx.core:core-ktx:1.7.0-alpha02 выпускаются. Версия 1.7.0-alpha02 содержит эти коммиты.

Новые возможности

  • Оптимирование и объединение того, как управляются меню с учетом жизненного цикла, см. MenuProvider для получения более подробной информации.

Изменения API

  • Добавлен интерфейс MenuHost для компонентов, которые управляют MenuProvider . ( I83f23 )
  • Добавлен интерфейс MenuProvider , который можно использовать для указания, что компонент предоставляет элементы меню. ( IF8A40 )
  • Добавлен MenuHostHelper , чтобы упростить реализацию MenuHost в компоненте. ( I74f4a )
  • Добавлено LocationRequestCompat.toLocationRequest() для преобразования в класс платформы. ( I71e75 )
  • Добавлены DocumentsContractCompat Class для паритета с API платформы. ( IA9E91 )
  • Добавлено NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean) для паритета с API платформы. ( I8cd88 )
  • Исправлена ​​проблема, в которой checkSelfPermission от PermissionChecker будет показывать индикаторы MIC/CAM. ( I572a9 )
  • Добавлено явное аннотацию потока для setImportantForAccessibility . ( I990FA )
  • Обновлено getUnusedAppRestrictionsStatus , чтобы соответствовать руководящим принципам API. ( I28a18 )
  • Завершенные функциональности для getUnusedAppRestrictionsStatus . ( I7c2d6 )
  • Добавлена ​​поддержка LocationCompat для вертикальной точности, точности скорости и точности подшипника. ( I1d3e9 )
  • Добавлены функции математики в MathUtils . ( IDB590 )
  • Интегрированный OnReceiveContentListener в COMPAT API. ( IC6914 , B/173814913 )
  • Добавлен ActivityCompat#isLaunchedFromBubble для паритета платформы. ( I6961a )
  • Добавлены LocationRequest и LocationManager.hasProvider() для паритета платформы. ( I4f3e4 )

Исправления ошибок

  • Удалил использование лямбдас в PackageManagerCompat , чтобы избежать ошибки LambdaDesugaring . ( I36c87 )

Версия 1.7.0-альфа01

30 июня 2021 г.

androidx.core:core:1.7.0-alpha01 и androidx.core:core-ktx:1.7.0-alpha01 выпускаются. Версия 1.7.0-alpha01 содержит эти коммиты.

Изменения API

  • Добавлен API для настройки InputConnection для использования View.performReceiveContent для обработки вызовов IME к InputConnection.commitContent . ( I3a2ad )
  • Объединенные два функциональность API в один ( i261df )
  • Модифицированные функции APIS для использования с неиспользованными функциями ограничения приложений (например, отзыв разрешения, приложение Hibernation) ( IC1616 )
  • Добавлены три API для использования с неиспользованными функциями ограничения приложений (например, отзыв разрешения, приложение Hibernation) ( i606d7 )
  • Добавлены аннотации с нуля в несколько классов COMBAT ( I2802A , B/188452327 , B/189962089 )
  • Добавлены три API для использования с неиспользованными функциями ограничения приложений (например, отзыв разрешения, приложение Hibernation) ( ICAFEE )
  • Устранено отсутствующие проблемы с аннотацией нуля в ViewCompat ( IC346E , B/188453571 )

Основные удаленные просмотры Версия 1.1

Версия 1.1.0

12 июня 2024 г.

androidx.core:core-remoteviews:1.1.0 выпускается. Версия 1.1.0 содержит эти коммиты .

Важные изменения с версии 1.0.0

  • Core RemoteViews перемещается до 1.1.0 стабильно.

Версия 1.1.0-rc01

14 мая 2024 г.

androidx.core:core-remoteviews:1.1.0-rc01 выпускается. Версия 1.1.0-RC01 содержит эти коммиты .

Новые возможности

  • Переместите RemoteViews 1.1.0, чтобы выпустить кандидата.

Исправления ошибок

  • Перейдите на 21 в качестве minSdkVersion библиотек Androidx по умолчанию. ( I6ec7f )

Версия 1.1.0-beta02

17 апреля 2024 г.

androidx.core:core-remoteviews:1.1.0-beta02 . Нет серьезных изменений с момента последнего релиза.

Версия 1.1.0-бета01

3 апреля 2024 г.

androidx.core:core-remoteviews:1.1.0-beta01 . Версия 1.1.0-beta01 содержит эти коммиты .

Версия 1.1.0-альфа01

7 февраля 2024 г.

androidx.core:core-remoteviews:1.1.0-alpha01 . Версия 1.1.0-alpha01 содержит эти коммиты.

Новые возможности

  • Версия BUMP в соответствии с версиями зависимостей.

Основные удаленные просмотры Версия 1.0

Версия 1.0.0

6 сентября 2023 г.

androidx.core:core-remoteviews:1.0.0 выпускается. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

  • Переместите Core-Remoteviews в стабильную версию 1.0.0

Версия 1.0.0-бета04

10 мая 2023 г.

androidx.core:core-remoteviews:1.0.0-beta04 . Версия 1.0.0-BETA04 содержит эти коммиты.

Исправления ошибок

  • Исправляет ArrayOutOfBoundsException , брошенное в угловых случаях в библиотеке COMBAT.

Версия 1.0.0-бета03

5 октября 2022 г.

androidx.core:core-remoteviews:1.0.0-beta03 . Версия 1.0.0-BETA03 содержит эти коммиты.

Новые возможности

  • Не было добавлено никаких новых функций.

Версия 1.0.0-бета02

10 августа 2022 г.

androidx.core:core-remoteviews:1.0.0-beta02 . Версия 1.0.0-BETA02 содержит эти коммиты.

Исправления ошибок

  • Версия исправить

Версия 1.0.0-бета01

29 июня 2022 г.

androidx.core:core-remoteviews:1.0.0-beta01 . Версия 1.0.0-BETA01 содержит эти коммиты.

Новые возможности

  • Перемещает Core-RemoteViews в бета.

Версия 1.0.0-альфа03

23 февраля 2022 г.

androidx.core:core-remoteviews:1.0.0-alpha03 выпускается. Версия 1.0.0-Alpha03 содержит эти коммиты.

Исправления ошибок

  • Исправление для инфраструктуры.

Версия 1.0.0-альфа02

26 января 2022 г.

androidx.core:core-remoteviews:1.0.0-alpha02 выпускается. Версия 1.0.0-Alpha02 содержит эти коммиты.

Версия 1.0.0-альфа01

15 декабря 2021 г.

androidx.core:core-remoteviews:1.0.0-alpha01 . Версия 1.0.0-Alpha01 содержит эти коммиты.

Новые возможности

  • Backport of New RemoteViews.setRemoteAdapter API.
  • Расширение Kotlin функционирует, чтобы избежать отражения при вызове методов RemoteViews .
  • Библиотека с вспомогательными функциями для работы с API -интерфейсом размеров App Widget .

Core Performance версия 1.0

Версия 1.0.0

10 января 2024 г.

androidx.core:core-performance:1.0.0 , androidx.core:core-performance-play-services:1.0.0 , и androidx.core:core-performance-testing:1.0.0 выпускаются. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

  • Производительность Core - обеспечивает надежный механизм для разработчиков для определения уровня производительности устройства во время выполнения, чтобы помочь оптимизировать пользовательский опыт приложения.
  • Сервисы Core Performance Play -Google-специфическая реализация, предоставляющая актуальную информацию класса производительности медиа для тестируемых устройств и версий ОС.
  • Тестирование на производительность ядра - тестовые удваивания для основной производительности.

Исправления ошибок

  • Исправлена ​​сбой при инициализации PlayServicesDevicePerformance , найденной в версии 1.0.0-beta2 . ( B/318803680 )

Версия 1.0.0-rc01

13 декабря 2023 г.

androidx.core:core-performance:1.0.0-rc01 , androidx.core:core-performance-play-services:1.0.0-rc01 и androidx.core:core-performance-testing:1.0.0-rc01 . Версия 1.0.0-rc01 содержит эти коммиты.

Новые возможности

  • Core Performance - Обновленная реализация библиотеки. ( DevicePerformance Generic реализация).
  • Сервисы Core Performance Play - первоначальная реализация библиотеки. (Google Spe (Реализация DevicePerformance ).
  • CORE Performance Testing - Первоначальная реализация библиотеки. (содержит тестовые удвоения для ядра).

Изменения API

  • Первоначальный выпуск RC специфического API DevicePerformance .

Версия 1.0.0-бета02

4 октября 2023 г.

androidx.core:core-performance:1.0.0-beta02 , androidx.core:core-performance-play-services:1.0.0-beta02 и androidx.core:core-performance-testing:1.0.0-beta02 . Версия 1.0.0-BETA02 содержит эти коммиты.

Новые возможности

  • Тест, связанный с рефакторией.

Изменения API

  • Необычайный схема использования API.

Версия 1.0.0-бета01

6 сентября 2023 г.

androidx.core:core-performance:1.0.0-beta01 , androidx.core:core-performance-play-services:1.0.0-beta01 и androidx.core:core-performance-testing:1.0.0-beta01 . Версия 1.0.0-BETA01 содержит эти коммиты.

Новые возможности

  • Core Performance - Обновленная реализация библиотеки. ( DevicePerformance Generic реализация).
  • Сервисы Core Performance Play - первоначальная реализация библиотеки. (Google Spe (Реализация DevicePerformance ).
  • CORE Performance Testing - Первоначальная реализация библиотеки. (содержит тестовые удвоения для ядра).

Изменения API

  • Первоначальная бета -версия DevicePerformance Specriation API.

Версия 1.0.0-альфа03

23 августа 2023 г.

androidx.core:core-performance:1.0.0-alpha03 , androidx.core:core-performance-play-services:1.0.0-alpha03 и androidx.core:core-performance-testing:1.0.0-alpha03 . Версия 1.0.0-Alpha03 содержит эти коммиты.

Новые возможности

  • Первоначальная внедрение библиотеки core-performance-testing , содержащих тестовые удвоения для ядра.
  • Первоначальная реализация библиотеки или core-performance-play-services . Реализация Google Special предоставляет информацию о классе класса производительности медиа.

Изменения API

  • Добавьте дополнительный модуль, предоставляющий класс производительности медиа из Google Play Services.
  • Конструкторы с основной эффективностью изменились, чтобы поддержать дополнительную реализацию.

Версия 1.0.0-альфа02

23 марта 2022 г.

androidx.core:core-performance:1.0.0-alpha02 выпускается. Версия 1.0.0-Alpha02 содержит эти коммиты.

Новые возможности

  • Предоставьте простую и надежный механизм для разработчиков, чтобы идентифицировать во время выполнения уровня производительности устройства, чтобы обеспечить оптимизированный опыт приложения.
  • В этом первоначальном выпуске используется список проверенных вручную устройства, которым предоставлены значения класса производительности выше, чем уровень, объявленный в Build.version.Media_performance_class

Версия 1.0.0-альфа01

15 декабря 2021 г.

androidx.core:core-performance:1.0.0-alpha01 выпускается. Версия 1.0.0-Alpha01 содержит эти коммиты.

Основной брызговиц версия 1.2

Версия 1.2.0-бета01

26 февраля 2025 г.

androidx.core:core-splashscreen:1.2.0-beta01 выпускается. Версия 1.2.0-бета01 содержит эти коммиты .

Версия 1.2.0-альфа02

4 сентября 2024 г.

androidx.core:core-splashscreen:1.2.0-alpha02 . Версия 1.2.0-Alpha02 содержит эти коммиты .

Исправления ошибок

  • Добавить атрибут isLightTheme к темам SplashScreen ( I01000 , B/238522114 )
  • Получить значок Splashcreen от AppCompatResources ( IB05E , B/289242141 , B/263972037 )
  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( IEB9AE , B/345472586 )

Версия 1.2.0-альфа01

17 апреля 2024 г.

androidx.core:core-splashscreen:1.2.0-alpha01 . Версия 1.2.0-Alpha01 содержит эти коммиты .

Исправления ошибок

  • Измените режим выреза Base.Theme.SplashScreen на всегда с V30. ( IDFC3F )
  • Сбросьте enforceNavigationBarContrast к системному значению по умолчанию от API 31, поэтому тема экрана Splash не испортит тему деятельности. Из API 31+ экран Splash не создается как PhoneWindow , поэтому ненужно унаследовать значение от API 29. Также удалите действие переопределения с applyAppSystemUiTheme , так как enforceNavigationBarContrast уже может измениться со стороны приложения во время запуска, переопределение его из атрибута не имеет смысла. IC2CD9 )).
  • Установите легкую навигационную панель по умолчанию, которая уважает тему дня/ночи. Таким образом, для платформы API 33+ тема экрана Splash не вызовет мерцание при удалении экрана Splash. ( 18023a )
  • Не перезаписывайте тему активности после получения вида экрана Splash от API 33. ( I10587B )

Основная версия Splashscreen 1.1

Версия 1.1.0-rc01

3 апреля 2024 г.

androidx.core:core-splashscreen:1.1.0-rc01 выпускается. Версия 1.1.0-RC01 содержит эти коммиты .

Исправления ошибок

  • Обеспечить размеры по умолчанию для износа с значком 48x48DP ( IB8DE8 , B/256678037 )
  • Исправить SplashScreenView#getIconView Cash Crash NPE ( 6ABFD6 , B/243457485 )

Версия 1.1.0-альфа02

6 сентября 2023 г.

androidx.core:core-splashscreen:1.1.0-alpha02 выпускается. Версия 1.1.0-alpha02 содержит эти коммиты.

Исправления ошибок

  • Обеспечить размеры по умолчанию для износа с значком 48x48DP ( IB8DE8 , B/256678037 )

Обновление зависимости

  • Core-Splashcreen теперь компилируется против API 34.

Версия 1.1.0-альфа01

22 февраля 2023 г.

androidx.core:core-splashscreen:1.1.0-alpha01 выпускается. Это было разработано во внутренней ветви.

Исправления ошибок

  • Исправлена NullPointerException , когда SplashScreenView#getIconView вернул NULL. ( E231AB )

Основной брызговик версия 1.0

Версия 1.0.1

19 апреля 2023 г.

androidx.core:core-splashscreen:1.0.1 выпускается. Версия 1.0.1 содержит эти коммиты.

Исправления ошибок

  • Обеспечить размеры по умолчанию для износа с значком 48x48DP ( IB8DE8 , B/256678037 )

Версия 1.0.0

27 июля 2022 г.

Ядра Splashcreen Library привносит новый экран Android 12 Splash на все устройства от API 23. Чтобы использовать его, просто выполните шаги, изложенные в нашем руководстве . Для получения дополнительной информации о экране Splash Android 12 посетите официальную документацию .

androidx.core:core-splashscreen:1.0.0 выпускается. Версия 1.0.0 содержит эти коммиты.

Версия 1.0.0-rc01

18 мая 2022 г.

androidx.core:core-splashscreen:1.0.0-rc01 выпускается. Версия 1.0.0-rc01 содержит эти коммиты.

  • Нет изменений с момента последнего бета -выпуска.

Версия 1.0.0-бета02

23 марта 2022 г.

androidx.core:core-splashscreen:1.0.0-beta02 выпускается. Версия 1.0.0-BETA02 содержит эти коммиты.

Исправления ошибок

  • Lateinit property platformView has not been initialized ( B/214835299 )

Внешний вклад

  • Исправьте проблему рендеринга на MIUI с темным режимом и явно установите android:animateLayoutChanges в False, чтобы избежать выцветающей анимации при удалении экрана Splash в OnExitAnimationListener ( #327 )

Версия 1.0.0-бета01

12 января 2022 г.

androidx.core:core-splashscreen:1.0.0-beta01 выпускается. Версия 1.0.0-BETA01 содержит эти коммиты.

Исправления ошибок

  • Лучшая обработка в ночном режиме гарантирует, что ночной режим обрабатывается, когда параметры по умолчанию используются на всех API. 2d1d182

Исправляет ошибки, представленные на новом экране Splash на Android 12:

  • Исправлена ​​мерцание Systembar на API 31: Убедитесь, что системы системы не мерцают при настройке анимации выхода. 5A75362
  • Исправьте обработку вставки при использовании OnexitAnimationListener: гарантирует, что контент не прыгает, когда используется exitanimationListener. 4C8F264

Версия 1.0.0-альфа02

29 сентября 2021 г.

androidx.core:core-splashscreen:1.0.0-alpha02 выпускается. Версия 1.0.0-Alpha02 содержит эти коммиты.

Новые возможности

  • Лучшая поддержка Insets: на экране Splash теперь показывает полный экран на всех API, даже когда установлен OnExitAnimationListener .
  • postSplashScreenTheme является необязательным: вы можете просто вызовать activity.setTheme() перед onCreate() , чтобы установить тему вашего приложения после того, как отображается экрана Splash.
  • Обратная поддержка атрибута windowSplashScreenIconBackgroundColor : Использование Theme.SplashScreen.IconBackground и windowSplashScreenIconBackgroundColor , вы можете добавить фон в значок экрана Splash.
  • Размеры значка были исправлены, чтобы соответствовать характеристикам платформы.

Изменения API

  • Добавлена ​​обратная совместимость для атрибута WindowsPlashScreeniconCackgroundColor

Исправления ошибок

  • Сделать postSplashScreenTheme необязательно ( i8c4bf )

Версия 1.0.0-альфа01

30 июня 2021 г.

androidx.core:core-splashscreen:1.0.0-alpha01 .

Новые возможности

  • core-splashscreen обеспечивает обратную совместимость для новых API-интерфейсов экрана Splash . Эта первая альфа -версия содержит все новые API, возвращенные в API 23, за исключением фона значков.
  • См. KDOCS в androidx.core.splashscreen для получения информации.

Основные ярлыки Google Версия 1.2

Версия 1.2.0-альфа01

26 июля 2023 г.

androidx.core:core-google-shortcuts:1.2.0-alpha01 . Версия 1.2.0-alpha01 содержит эти коммиты.

Изменения API

  • Объединенные и экспериментальные файлы API для A, B, C-Paths ( i8cfee , b/278769092 )
  • Migrated androidx.core Group для использования объединенных общедоступных файлов API ( IFDEF4 , B/278769092 )

Основные ярлыки Google Версия 1.1.0

Версия 1.1.0

24 октября 2022 г.

androidx.core:core-google-shortcuts:1.1.0 выпускается. Версия 1.1.0 содержит эти коммиты.

Важные изменения с версии 1.0.0

  • Мигрировал с использования com.google.firebase:firebase-appindexing в новую библиотеку com.google.android.gms:play-services-appindex . Эта версия библиотеки не совместима с com.google.firebase:firebase-appindexing . Разработчики должны избегать использования обеих библиотек, чтобы избежать ошибок по сборке.

Версия 1.1.0-rc01

5 октября 2022 г.

androidx.core:core-google-shortcuts:1.1.0-rc01 . Версия 1.1.0-rc01 содержит эти коммиты.

Новые возможности

  • Мигрировал с использования com.google.firebase:firebase-appindexing в новую библиотеку com.google.android.gms:play-services-appindex . Обратите внимание, что эта версия библиотеки не совместима с com.google.firebase:firebase-appindexing . Разработчики должны избегать использования обеих библиотек, чтобы избежать ошибок по сборке.

Версия 1.1.0-бета01

21 сентября 2022 г.

androidx.core:core-google-shortcuts:1.1.0-beta01 . Версия 1.1.0-beta01 содержит эти коммиты.

Новые возможности

  • Удалена неиспользованная зависимость. Нет новых функций.

Версия 1.1.0-альфа03

7 сентября 2022 г.

androidx.core:core-google-shortcuts:1.1.0-alpha03 . Версия 1.1.0-alpha03 содержит эти коммиты.

Новые возможности

  • Удалена неиспользованная зависимость. Нет новых функций.

Версия 1.1.0-альфа02

24 августа 2022 г.

androidx.core:core-google-shortcuts:1.1.0-alpha02 выпускается. Версия 1.1.0-alpha02 содержит эти коммиты.

Новые возможности

  • Обновление зависимости от com.google.firebase:firebase-appindexing to com.google.android.gms:play-services-appindex . Разработчики, которые используют эту новую версию, не должны внешне зависеть от com.google.firebase:firebase-appindexing , поскольку две библиотеки теперь несовместимы.

Версия 1.1.0-альфа01

4 августа 2021 г.

androidx.core:core-google-shortcuts:1.1.0-alpha01 . Версия 1.1.0-alpha01 содержит эти коммиты.

Новые возможности

  • Индексация поддержки значков на основе URI в пожертвованных ярлыках, которые будут отображаться приложениями Google.

Core и Core-KTX версия 1.6.0

Версия 1.6.0

30 июня 2021 г.

androidx.core:core:1.6.0 и androidx.core:core-ktx:1.6.0 выпущены. Версия 1.6.0 содержит эти коммиты.

Важные изменения с 1.5.0

  • Добавьте поддержку для разрешения атрибутов темы в вложенном ColorStateList . ( I2e409 b/155579892 )
  • Backport Tintable Faine и отметка для проверки TelectView ( i8575c )

Версия 1.6.0-rc01

16 июня 2021 г.

androidx.core:core:1.6.0-rc01 и androidx.core:core-ktx:1.6.0-rc01 выпускаются. Версия 1.6.0-rc01 содержит эти коммиты.

Изменения API

  • JobIntEntentService был устарел в пользу WorkManager ( IC7749 , B/149049019 )

Версия 1.6.0-бета02

2 июня 2021 г.

androidx.core:core:1.6.0-beta02 и androidx.core:core-ktx:1.6.0-beta02 выпускаются. Версия 1.6.0-beta02 содержит эти коммиты.

Исправления ошибок

  • Обновите BuildCompat для использования текущего времени ожидания долгого прессы на последних платформах ( B/185118174 )
  • Удалить использование synchronized из ContextCompat , методов ContentLoadingProgress .

Версия 1.6.0-бета01

18 мая 2021 года

androidx.core:core:1.6.0-beta01 и androidx.core:core-ktx:1.6.0-beta01 выпускаются. Версия 1.6.0-beta01 содержит эти коммиты.

Изменения API

Версия 1.6.0-альфа03

5 мая 2021 г.

androidx.core:core:1.6.0-alpha03 и androidx.core:core-ktx:1.6.0-alpha03 выпускаются. Версия 1.6.0-alpha03 содержит эти коммиты.

Новые возможности

  • Добавьте поддержку для разрешения атрибутов темы в вложенном ColorStateList . ( I2e409 b/155579892 )

Исправления ошибок

  • Предотвратить NPE при обращении с null пользовательского режима выбора режима выбора обратных вызовов в видах, поддерживаемых AppCompat. ( I033C7 , B/173435375 )

  • Добавьте поддержку SetSystembarsbehavior на SDK <30. ( I062C8 , B/173203649 )

Версия 1.6.0-альфа02

15 апреля 2021 года

androidx.core:core:1.6.0-alpha02 и androidx.core:core-ktx:1.6.0-alpha02 выпускаются. Версия 1.6.0-alpha02 содержит эти коммиты.

Изменения API

  • Добавить TelephoneManagerCompat и SubscriptionManagerCompat ( i5568d )
  • Удалить устаревший метод addCapabilityBinding из ShortcutInfoCompat ( IE8F70 )
  • Добавьте addCapabilityBinding с параметрами и addCapabilityBinding без параметров, установленных в ShortcutInfoCompat.Builder , устаревшего старого addCapabilityBinding ( I90686 )
  • Добавить LocationCompat Class и LocationManagerCompat.getCurrentLocation() ( i78d9a )
  • Устаревший ModeCompat.isNative , который заменяется DisplayCompat.getMode . ( I9a6a2 )
  • Добавлено ContextCompat.getAttributionTag() и UserHandleCompat.getUserHandleForUid() ( IEA486 )

Внешний вклад

  • Backport Tintable Faine и отметка для CheckedTextView ( i8575c )

Версия 1.6.0-альфа01

24 марта 2021 г.

androidx.core:core:1.6.0-alpha01 и androidx.core:core-ktx:1.6.0-alpha01 выпускаются. Версия 1.6.0-alpha01 содержит эти коммиты.

Изменения API

  • Добавить метод Handler.hasCallbacks() для паритета с платформой SDK ( IDCE1C , B/113855676 )
  • Добавляет методы сеттера, связанные с возможностями, в ShortcutInfoCompat.Builder ( i45af6 )

Основные ярлыки Google Версия 1.0

Версия 1.0.1

18 мая 2022 г.

androidx.core:core-google-shortcuts:1.0.1 выпускается. Версия 1.0.1 содержит эти коммиты.

Исправления ошибок

  • Исправьте правило прогиба, чтобы предотвратить непреднамеренное удаление метода

Версия 1.0.0

30 июня 2021 г.

androidx.core:core-google-shortcuts:1.0.0 выпускается. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

Включите этот модуль, чтобы позволить сохранению ярлыков, используя ShortcutmanagerCompat , также пожертвованы Google. Это разблокирует дополнительные функции с этими ярлыками для пользователей, такими как отображение их в качестве предложений или позволяет Google Assistant выполнить их с помощью голосового запроса. Нет ограничений на количество ярлыков, которые могут быть пожертвованы, и те, которые пожертвованы таким образом, сохраняются на устройстве. Для получения дополнительной информации см. Полную документацию по продвижению динамических ярлыков помощнику .

Версия 1.0.0-rc01

16 июня 2021 г.

androidx.core:core-google-shortcuts:1.0.0-rc01 . Версия 1.0.0-rc01 содержит эти коммиты.

Версия 1.0.0-бета01

18 мая 2021 года

androidx.core:core-google-shortcuts:1.0.0-beta01 . Версия 1.0.0-BETA01 содержит эти коммиты.

Новые возможности

  • Ярлыки, добавленные с помощью библиотеки core-google-shortcuts будут сохранены в виде ярлыка в Appindexing Firebase, а не общий объект Schema.org/Thing.

Исправления ошибок

  • Удалили требование Minsdkversion из библиотеки. Библиотека по -прежнему будет работать только для версии API 21 и выше, но приложения больше не потребуются для установления Minsdkversion своего приложения на 21.

Версия 1.0.0-альфа03

5 мая 2021 г.

androidx.core:core-google-shortcuts:1.0.0-alpha03 . Версия 1.0.0-Alpha03 содержит эти коммиты.

Исправления ошибок

  • Больше не автоматически сообщают об использовании ярлыков при добавлении / обновлении ярлыка. Вместо этого отчеты об использовании будут перенесены в ShortcutManagerCompat#pushDynamicShortcut .

Версия 1.0.0-альфа02

15 апреля 2021 года

androidx.core:core-google-shortcuts:1.0.0-alpha02 выпускается. Версия 1.0.0-Alpha02 содержит эти коммиты.

Новые возможности

  • В зависимости от androidx.core:core-google-shortcuts в качестве дополнительного компонента вместе с androidx.core ; Вы можете начать использовать ShortcutManagerCompat для пожертвования ярлыков, которые будут использоваться Google.
  • Новая батолинеактивность будет объединена с приложениями в зависимости от этого модуля. РАСПОЛОЖЕНИЕ ТАМОЛИКАТИВНОСТЬ Используется для открытия ярлыков, пожертвованных этим модулем.

Изменения API

  • Добавлены ShortcutInfoChangeListenerImpl , для использования ShortcutManagerCompat для пожертвования ярлыков на приложение Firebase Index.

Core и Core-KTX версия 1.5.0

Версия 1.5.0

18 мая 2021 года

androidx.core:core:1.5.0 и androidx.core:core-ktx:1.5.0 выпускаются. Версия 1.5.0 содержит эти коммиты.

Важные изменения с версии 1.4.0

  • Поддержка новых анимационных API -интерфейсов вставки
  • Обновления OnReceiveContentListener для поддержки богатого контента
  • API -интерфейс WindowInsetsController и WindowInsetsCompat для управления внешним видом системы стержня
  • Обновленная ActivityCompat.recreate() будет безопасно назвать из любого состояния жизненного цикла на любом уровне API
  • Добавлены API для поставки и извлечения начального окружающего текста через EditorInfoCompat , что позволяет IME -приложениям избежать дополнительной задержки МПК.
  • Различные обновления для улучшения паритета с API платформы SDK

Версия 1.5.0-RC02

5 мая 2021 г.

androidx.core:core:1.5.0-rc02 и androidx.core:core-ktx:1.5.0-rc02 выпускаются. Версия 1.5.0-RC02 содержит эти коммиты.

Исправления ошибок

  • Добавьте поддержку SetSystembarsbehavior на SDK <30. ( I062C8 , B/173203649 )

Версия 1.5.0-rc01

24 марта 2021 г.

androidx.core:core:1.5.0-rc01 и androidx.core:core-ktx:1.5.0-rc01 . Версия 1.5.0-rc01 содержит эти коммиты.

Краткое содержание

  • Нет изменений от предыдущей Beta03

Версия 1.5.0-бета03

10 марта 2021 г.

androidx.core:core:1.5.0-beta03 and androidx.core:core-ktx:1.5.0-beta03 are released. Версия 1.5.0-beta03 содержит эти коммиты.

Изменения API

  • Added ExecutorCompat, which creates an Executor from a Handler. ( Ib4ca3 , b/181237835 )

Версия 1.5.0-бета02

24 февраля 2021 г.

androidx.core:core:1.5.0-beta02 and androidx.core:core-ktx:1.5.0-beta02 are released. Версия 1.5.0-beta02 содержит эти коммиты.

Исправления ошибок

  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( Iefa71 )
  • NotificationCompat.MessagingStyle.getText() was incorrectly marked as @NonNull ; it is now @Nullable ( I05cb7 )

Версия 1.5.0-бета01

13 января 2021 г.

androidx.core:core:1.5.0-beta01 and androidx.core:core-ktx:1.5.0-beta01 are released. Версия 1.5.0-beta01 содержит эти коммиты.

Изменения API

  • Follow API guidelines for Bounds Compat/Platform interoperability ( I7da35 )
  • Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener. ( Ib26c9 , b/175343405 )
  • Connection of the new Insets Animation API with the Platform implementation ( I078da )
  • Added the new Insets Animation APIs ( I8aebd )
  • Updated OnReceiveContentListener and related APIs:
    • Updated OnReceiveContentListener so it can be set on any type of view via ViewCompat.
    • Removed getSupportedMimeTypes() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat method that sets the listener.
    • Wrapped arguments to OnReceiveContentListener.onReceiveContent() in an object.
    • Added linkUri as a param to onReceiveContent() to ensure backwards compatibility with the keyboard image API.
    • Added a Bundle param to onReceiveContent() to ensure backwards compatibility with the keyboard image API and to facilitate evolution of the API in the future.
    • Updated onReceiveContent() to return any content that was not consumed, as a means to delegate to the default handling.
    • Removed TextViewOnReceiveContentListener from the public API since the default behavior can now be triggered by returning any unconsumed content from the listener.
    • ( Ib4616 , b/173814913 )
  • Deprecated BuildCompat.isAtLeastR ( Idb37e )
  • Moved widget.RichContentReceiverCompat to view.OnReceiveContentListener . ( Ifdab7 , b/173814913 )
  • Added Preconditions.checkFlagsArgument . ( I43952 , b/174181100 )
  • Deprecate custom menu for outbound sharing. ( I7cd92 )
  • Notifications can now be tagged as missed calls. ( I14d90 )
  • Added PackageInfoCompat#getSignatures for retrieving the certificate array for a package ( I8e9a3 , b/159831205 )

Исправления ошибок

  • Fix a bug where setting BigPictureStyle.bigLargeIcon would break the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

Внешний вклад

  • ShareCompat now uses constructors for creation and the old factory methods have been deprecated. You can now create both builders and readers from a Context and an Activity is no longer required. ( I315b6 , b/173043501 )
  • Set clip data and grant uri read permission when sharing streams using ShareCompat ( I4aa31 , b/173137936 )

Version 1.5.0-alpha05

11 ноября 2020 г.

androidx.core:core:1.5.0-alpha05 and androidx.core:core-ktx:1.5.0-alpha05 are released. Version 1.5.0-alpha05 contains these commits.

Изменения API

  • Added support for new GnssStatus APIs ( Id8e22 )
  • Added overloads of FileProvider#getUriForFile to support custom filenames ( Ie870b )
  • Backported the WindowInsetsController APIs to control the system bar appearance. ( Ieb4ee )
  • Renamed getFont with boolean to getCachedFont ( Iea520 )
  • Backported the #hide() and #show() methods from WindowInsetsController APIs, added in API 30 ( I21573 )
  • Added new API ResourcesCompat#getFont with cacheOnly option ( Ic38cf )
  • Updated androidx notification bubbles APIs for Android 11 ( Ib9c70 )

Версия 1.5.0-альфа04

1 октября 2020 г.

androidx.core:core:1.5.0-alpha04 and androidx.core:core-ktx:1.5.0-alpha04 are released. Версия 1.5.0-alpha04 содержит эти коммиты.

Изменения API

  • Fix incomplete Style recovery when using NotificationCompat.Builder.<init>(Context,Notification) ( Ib297a )
  • New notification categories types are now available ( I9521a )

Исправления ошибок

  • Allow ActivityCompat.recreate() to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )

Версия 1.5.0-альфа03

16 сентября 2020 г.

androidx.core:core:1.5.0-alpha03 and androidx.core:core-ktx:1.5.0-alpha03 are released. Версия 1.5.0-alpha03 содержит эти коммиты.

Изменения API

  • ViewCompat is a utility class and shouldn't be instantiated. ( If20fa )
  • APIs to supply and retrieve initial surrounding text were backported to EditorInfoCompat . They allow IME apps to avoid additional IPC latency. ( Ie3809 )
  • Query notification channels and groups with compat objects. ( I11d18 )

Исправления ошибок

  • For pre-P, ensure panes are marked as important for accessibility and support CONTENT_CHANGE_TYPE_PANE_DISAPPEARED events. ( Iaeffc )

Внешний вклад

  • API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )

Версия 1.5.0-альфа02

August 19, 2020

androidx.core:core:1.5.0-alpha02 and androidx.core:core-ktx:1.5.0-alpha02 are released. Версия 1.5.0-alpha02 содержит эти коммиты.

Новые возможности

  • The WindowInsetsCompat APIs have been updated to those in the platform in Android 11. This includes the new ime() inset type, which allows checking the visibility and size of the on-screen keyboard.

    • Some caveats about the ime() type, it works very reliably on API 23+ when your Activity is using the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

Изменения API

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#toString(Object, String) but can be used pre-API 19. ( I26cdc )
  • Added NotificationCompat.Builder.recoverBuilder(Notification) ( I6f100 )
  • Add NotificationCompat.Builder.createContentView() and peers ( I6fe13 )
  • Add extra data related APIs in AccessibilityNodeInfoCompat ( I19567 )
  • Add NotificationCompat.Builder.setSettingsText and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

Внешний вклад

  • Add Uri overloads for MailTo methods ( I6fa6b )
  • Added MailTo API which provides consistent behavior and bug fixes for all API levels ( Ie9395 , b/159827506 )

Версия 1.5.0-альфа01

10 июня 2020 г.

androidx.core:core:1.5.0-alpha01 and androidx.core:core-ktx:1.5.0-alpha01 are released.

Новые возможности

  • Provides parity with Android R platform SDK APIs for ShortcutManager , ShortcutInfo , AccessibilityNodeInfo , DisplayCutout , GnssStatus , and Notification classes

Исправления ошибок

  • Make it clear that checking shouldShowPermissionRationale is recommended.
  • Change AtomicFile to use rename-into-place.
  • Adjust the Typeface display style with the style of given font. ( b/156853883 )
  • Fix failing Notification Builder Tests
  • Fix register/unregister bug LocationManagerCompat .

Core and Core-ktx Version 1.4.0

Версия 1.4.0-альфа01

20 мая 2020 г.

androidx.core:core:1.4.0-alpha01 and androidx.core:core-ktx:1.4.0-alpha01 are released. Версия 1.4.0-alpha01 содержит эти коммиты.

Изменения API

  • Add common API for inserting rich content (eg pasting an image). The new callback provides a single API that apps can implement to support the different ways in which rich content may be inserted. For now the API is only added to AppCompatEditText and will be invoked for the following code paths:
    • paste from the clipboard
    • content insertion from the IME ( InputConnection.commitContent ) ( I22bf7 )
  • Backported android.os.Process.isApplicationUid(int) to help apps determine whether code is executing in a isolated process ( I4c83a , b/153014822 )
  • Backported LocusId to help apps correlate state between different subsystems such as content capture, shortcuts, and notifications. ( Ia3129 )
  • Added ancestry sequences to ViewGroup ( I5f75c , b/117976097 )

Исправления ошибок

  • Added permissions validation for ActivityCompat.requestPermissions() ( I372cc , b/122163323 )
  • Extracted v28+ calls into a separate static class, which fixes a NoClassDefFoundError error for View#OnUnhandledKeyEventListener when building an app bundle ( Id3419 , b/153695093 )
  • Fixed a setChronometerCountDown crash bug ( I47282 , b/145770610 )

Core and Core-ktx Version 1.3.2

Version 1.3.2

1 октября 2020 г.

androidx.core:core:1.3.2 and androidx.core:core-ktx:1.3.2 are released. Version 1.3.2 contains these commits.

Исправления ошибок

  • Allow ActivityCompat.recreate() to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )

Core and Core-ktx Version 1.3.1

Версия 1.3.1

22 июля 2020 г.

androidx.core:core:1.3.1 and androidx.core:core-ktx:1.3.1 are released. Версия 1.3.1 содержит эти коммиты.

Исправления ошибок

  • Fixed an issue where the resolved font resource Typeface weight and style had the wrong values on API Level 29 ( b/156853883 )

Core and Core-ktx Version 1.3.0

Версия 1.3.0

May 27, 2020

androidx.core:core:1.3.0 and androidx.core:core-ktx:1.3.0 are released. Версия 1.3.0 содержит эти коммиты.

Major changes since 1.2.0

  • New APIs on NestedScrollView to run smooth scrolls with specified duration
  • New APIs on ViewCompat to retrieve the original window insets that were dispatched to the view hierarchy

Версия 1.3.0-rc01

15 апреля 2020 г.

androidx.core:core:1.3.0-rc01 and androidx.core:core-ktx:1.3.0-rc01 are released. Версия 1.3.0-rc01 содержит эти коммиты.

Исправления ошибок

  • WindowInsetsCompat now properly implements hashCode() and equals() on all supported API levels.

Версия 1.3.0-бета01

April 1, 2020

androidx.core:core:1.3.0-beta01 and androidx.core:core-ktx:1.3.0-beta01 are released. Версия 1.3.0-beta01 содержит эти коммиты.

Версия 1.3.0-альфа02

March 4, 2020

androidx.core:core:1.3.0-alpha02 and androidx.core:core-ktx:1.3.0-alpha02 are released. Версия 1.3.0-alpha02 содержит эти коммиты.

Изменения API

  • New APIs on NestedScrollView to run smooth scrolls with specified duration
  • A new ViewCompat API to retrieve the original window insets that were dispatched to the view hierarchy

Версия 1.3.0-альфа01

29 января 2020 г.

androidx.core:core:1.3.0-alpha01 and androidx.core:core-ktx:1.3.0-alpha01 are released. Версия 1.3.0-alpha01 содержит эти коммиты .

Новые возможности

  • Added ContentProviderCompat
  • Added WindowInsetsCompat.Builder

Изменения API

  • Added a NotificationCompat API to silence a notification instance
  • Added ResourcesCompat.NULL_ID
  • Deprecated CarExtender.UnreadConversation in NotificationCompat
  • Added a DisplayCompat API to get the physical size of the device

Исправления ошибок

  • Improved the handling actions with no icons in NotificationCompat
  • Fixed drawable tinting on TextView relative to compound drawables on API Level 23 ( aosp/1172194 )
  • Ensured the base context is always a wrapper
  • Fixed an issue where RecyclerView should not populate Collection[Item]Info by default

Версия 1.2.0

Версия 1.2.0

5 февраля 2020 г.

androidx.core:core:1.2.0 and androidx.core:core-ktx:1.2.0 are released. Version 1.2.0 contains these commits .

Major changes since 1.1.0

  • Added new APIs and bug fixes in NotificationCompat
  • Added new APIs to work with BlendMode introduced in AndroidQ in backwards-compatible way
  • Added new APIs and bug fixes in accessibility compat
  • Added new APIs to work with ShortcutInfo
  • Added new APIs to work with WindowInsets
  • Fixed backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat , ShareCompat , WakefulBroadcastReceiver and InputConnectionCompat

Версия 1.2.0-rc01

20 ноября 2019 г.

androidx.core:core:1.2.0-rc01 and androidx.core:core-ktx:1.2.0-rc01 are released with no changes since 1.2.0-beta02 . Version 1.2.0-rc01 contains these commits .

Версия 1.2.0-бета02

7 ноября 2019 г.

androidx.core:core:1.2.0-beta02 and androidx.core:core:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits .

Исправления ошибок

  • Updated translations for en-rCA and en-rXC locales.

Версия 1.2.0-бета01

9 октября 2019 г.

androidx.core:core:1.2.0-beta01 and androidx.core:core-ktx:1.2.0-beta01 released. Version 1.2.0-beta01 contains these commits .

Изменения API

  • Added support for creating NotificationCompat Actions using IconCompat and deprecated a public field (and its getter) using resource IDs to represent icons for Actions. ( aosp/1119192 )
  • Add MathUtils.clamp for longs ( aosp/1117300 )
  • Added setChronometerCountDown to NotificationCompat ( b/138601213 )

Исправления ошибок

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

Внешний вклад

  • Thank you Sergey Zakharov for enabling the API lint check for MissingBuild and ListenerLast in AndroidX! ( aosp/1119191 , aosp/1126768 )

Версия 1.2.0-альфа04

5 сентября 2019 г.

androidx.core:core:1.2.0-alpha04 and androidx.core:core-ktx:1.2.0-alpha04 are released. Коммиты, включенные в эту версию, можно найти здесь .

Изменения API

  • Deprecated ShortcutInfoCompat.Builder#setLongLived() and replaced it with a new API with the same name that accepts a boolean as a parameter, to match the similar API in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

Исправления ошибок

Версия 1.2.0-альфа03

7 августа 2019 г.

androidx.core:core:1.2.0-alpha03 and androidx.core:core-ktx:1.2.0-alpha03 are released. Коммиты, включенные в эту версию, можно найти здесь .

Новые возможности

  • Added UriCompat.toSafeString(Uri) to provide URI escaping that is updatable separately from the platform. ( b/130878326 )
  • Added Predicate<T> interface to provide Java 8-style predicates without requiring Java 8 language features.

Изменения API

  • Made removeDynamicShortuct() static ( b/134993204 )
  • Created factory method for BlendMode Color Filter ( b/135943149 )
  • Added async , counter , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

Исправления ошибок

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat implementation ( aosp/1012534 )
  • Fixed bug where FingerprintManager incorrectly checked PackageManager on API Level 23 ( b/124066957 )

Версия 1.2.0-альфа02

13 июня 2019 г.

androidx.core:core:1.2.0-alpha02 and androidx.core:core-ktx:1.2.0-alpha02 are released. Коммиты, включенные в эту версию, можно найти здесь .

Изменения API

  • Added WindowInsetsCompat.wrap() and unwrap(), to be able to wrap and unwrap WindowInsets instances

Версия 1.2.0-альфа01

May 7, 2019 androidx.core:core:1.2.0-alpha01 are androidx.core:core-ktx:1.2.0-alpha01 are released.

Новые возможности

  • Add ACTION_PAGE_UP/DOWN/NEXT/PREVIOUS accessibility actions
  • Add CATEGORY_NOTIFICATION to NotificationCompat
  • Add support for contextual Notification Actions
  • Add support for bubbles in NotificationCompat
  • Added BlendModeCompat APIs to leverage the BlendMode APIs on Android 10 and falling back to PorterDuff.Mode equivalents wherever possible
  • Add new getters to WindowInsetsCompat and ViewCompat
  • Add support for tap-to-edit in notifications
  • DrawerLayout system gesture exclusion rects
  • Add NotificationCompat API for whether to allow system generated contextual actions
  • Handle disabled <activity-alias> components in NavUtils
  • Add AccessibilityNodeInfoCompat.setEntryKey

Исправления ошибок

  • Fix exception when loading fonts in TypefaceCompat
  • Various DayNight fixes
  • Fix backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat, ShareCompat, WakefulBroadcastReceiver and InputConnectionCompat

Версия 1.1.0

Версия 1.1.0

5 сентября 2019 г.

androidx.core:core:1.1.0 and androidx.core:core-ktx:1.1.0 are released. Коммиты, включенные в эту версию, можно найти здесь .

Important Changes since 1.0.0

  • Updated accessibility APIs to match the Android 10 platform accessibility APIs
  • Added improvements to Nested Scrolling; see NestedScrollingChild3 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.collection dependency to your library or app. This change is source-incompatible but retains binary compatibility. The Collection dependency is still a transitive dependency of Core but as an implementation detail instead of part of its API.
  • Worked around an IPC compatibility issue caused by refactor to androidx ( aosp/948725 , aosp/938269 )
  • Added a variety of fixes for AppCompat DayNight ( aosp/942956 )

Версия 1.1.0-rc03

7 августа 2019 г.

androidx.core:core:1.1.0-rc03 and androidx.core:core-ktx:1.1.0-rc03 are released. Коммиты, включенные в эту версию, можно найти здесь .

Исправления ошибок

  • Make the hidden androidx.core.app.ComponentActivity implement LifecycleOwner to maintain binary compatibility with androidx.fragment:fragment:1.0.0 ( aosp/1094409 )

Version 1.1.0-rc02

2 июля 2019 г.

androidx.core:core:1.1.0-rc02 and androidx.core:core-ktx:1.1.0-rc02 are released. Коммиты, включенные в эту версию, можно найти здесь .

Исправления ошибок

  • FingerprintManagerCompat#getFingerprintManagerOrNull on API level 23 should not check PackageManager ( b/124066957 ) ( aosp/987433 )
  • Fix equality comparison in AccessibilityNodeInfoCompat ( aosp/985736 )

Версия 1.1.0-rc01

5 июня 2019 г.

androidx.core:core:1.1.0-rc01 and androidx.core:core-ktx:1.1.0-rc01 are released. Коммиты, включенные в эту версию, можно найти здесь .

Исправления ошибок

  • Make image keyboard API backport compatible to all previous impls ( aosp/968220 )
  • Remove Guava ListenableFuture from androidx.core:core library dependencies ( b/133171974 , aosp/965393 )
  • Fix incorrect velocity while flinging with nested scrolling. ( aosp/961642 )
  • Add test for mutating TransitionDrawable ( b/37033322 )

Версия 1.1.0-бета01

7 мая 2019 г.

androidx.core:core:1.1.0-beta01 and androidx.core:core-ktx:1.1.0-beta01 are released. Коммиты, включенные в эту версию, можно найти здесь .

The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).

Изменения API

  • Undeprecated capability setters ( aosp/937281 )
  • RemoteActionCompat is now a 1VersionedParcelable` ( aosp/928534 )

Исправления ошибок

  • AppCompatTextView in core tests should be created with an appcompat theme ( aosp/951636 )
  • Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
  • Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
  • Fixed bug in DayNight updates when in background ( aosp/942956 )
  • Implemented text entry key API for accessibility services in AOSP Keyboard ( aosp/943897 )
  • Fixed exception when loading font on devices running API Level 20 and lower
  • Handle disabled <activity-alias> components in NavUtils ( aosp/940788 )

Версия 1.1.0-альфа05

13 марта 2019 г.

androidx.core:core:1.1.0-alpha05 and androidx.core:core-ktx:1.1.0-alpha05 are released. Полный список коммитов, включённых в эту версию, можно найти здесь .

Новые возможности

  • New ActivityCompat.recreate() API for working around pre-28 platform bugs ( aosp/898940 )
  • New LocationManagerCompat class ( aosp/894736 )

Изменения API

  • This library no longer exposes the 'collection' dependency as part of its API. If you were depending on the 'collection' types implicitly through a dependency on 'core', you will need to add an explicit 'collection' dependency to your library or app. This change is source-incompatible but retains binary compatibility. The 'collection' dependency is still a transitive dependency of 'core' but as an implementation detail instead of part of its API.

Исправления ошибок

  • Fixed bug with default tint mode for ImageView on devices running API level 21

Версия 1.1.0-альфа04

January 30, 2019

androidx.core:core 1.1.0-alpha04 and androidx.core:core-ktx 1.1.0-alpha04 are released.

Изменения API

  • Change value of EXTRA_SHORTCUT_ID to be consistent with the platform ( aosp/877712 )
  • Add CATEGORY_NOTIFICATION to NotificationCompat ( aosp/861067 )

Исправления ошибок

  • Fix for fontFamily not working on devices running API level 24 and lower ( aosp/807054 )
  • Fixed bug where replacing accessibility actions, and adding accessibility actions, didn't remove old accessibility actions ( aosp/848314 )

Версия 1.1.0-альфа03

17 декабря 2018 г.

androidx.core 1.1.0-alpha03 and androidx.core-ktx 1.1.0-alpha03 are released with the following changes. androidx.core-ktx 1.1.0-alpha02 is released to provide a ktx match for androidx.core 1.1.0-alpha02 .

Новые возможности

  • Added Notification channels methods to NotificationManagerCompat so developers can use only NotificationManagerCompat when working with notifications. Special thanks to Zdeněk Kořán for this new feature!

Изменения API

  • Added new APIs to ShortcutManagerCompat to publish and update dynamic shortcuts.

Версия 1.1.0-альфа01

November 5, 2018

androidx.core 1.1.0-alpha01 is released with the following API changes and bug fixes.

New features and API changes

  • NestedScrollingChild3 and NestedScrollingParent3 add the 'consumed' parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
  • NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
  • ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
  • Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
  • Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
  • Added compatibility implementation of Resources.getFloat.
  • Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
  • Added Kotlin extension functions for TextView TextWatcher actions.
  • Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
  • Added AccessibilityPane to ViewCompat.
  • Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
  • Deprecated AccessibilityNodeInfoCompat.setFocusable() , setClickable() , setLongClickable() , setScrollable() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan s accessible back through API 19.

Исправления ошибок

  • Fixed bug that caused ResourcesCompat.getFont() crash when the network fails, when using downloadable fonts.
  • Fixed Null Pointer Exception in TypefaceCompatApi21 that occurred when ContentResolver returned null.
  • Fixed type error in Array Utils where it expected ColorStateList but got raw colors.

Core-Animation and Core-Animation-Testing 1.0.0

Версия 1.0.0

1 мая 2024 г.

androidx.core:core-animation:1.0.0 and androidx.core:core-animation-testing:1.0.0 are released. Version 1.0.0 contains these commits .

Основные особенности версии 1.0.0

androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:

  • ValueAnimator#pause , ValueAnimator#resume (API Level 19)
  • ObjectAnimator.ofMultiInt , ObjectAnimator.ofMultiFloat (API Level 21)
  • ValueAnimator#setCurrentFraction (API Level 22)
  • AnimatorSet#setCurrentPlayTime (API Level 26)
  • androidx.core:core-animation-testing allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.

Версия 1.0.0-rc01

26 июля 2023 г.

androidx.core:core-animation:1.0.0-rc01 , androidx.core:core-animation-testing:1.0.0-rc01 , and androidx.core:core-remoteviews:1.0.0-rc01 are released. Версия 1.0.0-rc01 содержит эти коммиты.

Новые возможности

  • RemoteViews moves moved to rc01 after stabilizing in beta.

Версия 1.0.0-бета01

20 апреля 2022 г.

androidx.core:core-animation:1.0.0-beta01 is released with no changes since 1.0.0-alpha02. Версия 1.0.0-BETA01 содержит эти коммиты.

Core-Animation Core-Animation-Testing Version 1.0.0-alpha02

August 19, 2020

androidx.core:core-animation:1.0.0-alpha02 and androidx.core:core-animation-testing:1.0.0-alpha02 are released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Исправления ошибок

  • Fix AnimatorSet with multiple Animators for a single property. ( aosp/1351310 )

Core-Animation Version 1.0.0-alpha01

15 апреля 2020 г.

androidx.core:core-animation:1.0.0-alpha01 and androidx.core:core-animation-testing:1.0.0-alpha01 are released. Версия 1.0.0-Alpha01 содержит эти коммиты.

Новые возможности

androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:

  • ValueAnimator#pause , ValueAnimator#resume (API Level 19)
  • ObjectAnimator.ofMultiInt , ObjectAnimator.ofMultiFloat (API Level 21)
  • ValueAnimator#setCurrentFraction (API Level 22)
  • AnimatorSet#setCurrentPlayTime (API Level 26)
  • androidx.core:core-animation-testing allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.

Core-Role Version 1.1.0

Версия 1.1.0

12 марта 2025 г.

androidx.core:core-role:1.1.0 is released. Version 1.1.0 contains these commits .

Версия 1.1.0-rc01

15 декабря 2021 г.

androidx.core:core-role:1.1.0-rc01 is released with no changes since 1.1.0-alpha01 . Версия 1.1.0-rc01 содержит эти коммиты.

Core-Role Version 1.1.0-alpha01

15 апреля 2020 г.

androidx.core:core-role:1.1.0-alpha01 is released. Версия 1.1.0-alpha01 содержит эти коммиты.

Изменения API

  • Added role name for system gallery.

Core-Role Version 1.0.0

Версия 1.0.0

10 февраля 2021 г.

androidx.core:core-role:1.0.0 is released. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

  • Added RoleManagerCompat containing the name and documentation for roles that might be available in the system.

Основная роль версии 1.0.0-rc01

15 апреля 2020 г.

androidx.core:core-role:1.0.0-rc01 is released with no changes since 1.0.0-beta01 . Версия 1.0.0-rc01 содержит эти коммиты.

Core-Role Version 1.0.0-beta01

20 ноября 2019 г.

androidx.core:core:1.0.0-beta01 is released with no changes since 1.0.0-alpha01 . Version 1.0.0-beta01 contains these commits .

Core-Role Version 1.0.0-alpha01

2 июля 2019 г.

androidx.core:core-role:1.0.0-alpha01 is released. This is the first release of androidx.core:core-role . The commits included in this initial version can be found here .

Новые возможности

  • Added RoleManagerCompat containing the name and documentation for roles that might be available in the system.

Версия 1.0.2

Версия 1.0.2

7 мая 2019 г.

androidx.core:core:1.0.2 , and androidx.core:core-ktx:1.0.2 are released. This release includes 2 commits.

The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).

Исправления ошибок

  • Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
  • Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )

Версия 1.0.1

Версия 1.0.1

November 7, 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

Исправления ошибок

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . b/113070424

Core-Ktx Version 1.0.1

November 5, 2018

androidx.core-ktx 1.0.1 is released with the following bug fixes:

  • Fixed bug where implementation of union and intersection were swapped.
,

Основной

Target the latest platform features and APIs while also supporting older devices.

This table lists all the artifacts in the androidx.core group.

Артефакт Стабильный выпуск Кандидат на выпуск Бета-версия Альфа-релиз
основной 1.15.0 - 1.16.0-beta01 -
core-animation 1.0.0 - - -
core-google-shortcuts 1.1.0 - - 1.2.0-alpha01
core-performance 1.0.0 - - -
core-remoteviews 1.1.0 - - -
core-role 1.1.0 - - -
core-splashscreen 1.0.1 1.1.0-rc01 1.2.0-beta01 -
This library was last updated on: March 12, 2025

Объявление зависимостей

To add a dependency on Core, you must add the Google Maven repository to your project. Для получения дополнительной информации прочтите репозиторий Google Maven .

Добавьте зависимости для нужных вам артефактов в файл build.gradle для вашего приложения или модуля:

Groovy

dependencies {
    def core_version = "1.15.0"

    // Java language implementation
    implementation "androidx.core:core:$core_version"
    // Kotlin
    implementation "androidx.core:core-ktx:$core_version"

    // To use RoleManagerCompat
    implementation "androidx.core:core-role:1.1.0"

    // To use the Animator APIs
    implementation "androidx.core:core-animation:1.0.0"
    // To test the Animator APIs
    androidTestImplementation "androidx.core:core-animation-testing:1.0.0"

    // Optional - To enable APIs that query the performance characteristics of GMS devices.
    implementation "androidx.core:core-performance:1.0.0"

    // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google
    implementation "androidx.core:core-google-shortcuts:1.1.0"

    // Optional - to support backwards compatibility of RemoteViews
    implementation "androidx.core:core-remoteviews:1.1.0"

    // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12
    implementation "androidx.core:core-splashscreen:1.2.0-beta01"
}

Kotlin

dependencies {
    val core_version = "1.15.0"

    // Java language implementation
    implementation("androidx.core:core:$core_version")
    // Kotlin
    implementation("androidx.core:core-ktx:$core_version")

    // To use RoleManagerCompat
    implementation("androidx.core:core-role:1.1.0")

    // To use the Animator APIs
    implementation("androidx.core:core-animation:1.0.0")
    // To test the Animator APIs
    androidTestImplementation("androidx.core:core-animation-testing:1.0.0")

    // Optional - To enable APIs that query the performance characteristics of GMS devices.
    implementation("androidx.core:core-performance:1.0.0")

    // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google
    implementation("androidx.core:core-google-shortcuts:1.1.0")

    // Optional - to support backwards compatibility of RemoteViews
    implementation("androidx.core:core-remoteviews:1.1.0")

    // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12
    implementation("androidx.core:core-splashscreen:1.2.0-beta01")
}

For more information about dependencies, see Add Build Dependencies .

Обратная связь

Ваши отзывы помогают сделать Jetpack лучше. Дайте нам знать, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете добавить свой голос к существующей проблеме, нажав кнопку со звездочкой.

Создать новую задачу

Дополнительную информацию см. в документации по системе отслеживания проблем .

Core-Viewtree Version 1.0

Версия 1.0.0

26 февраля 2025 г.

androidx.core:core-viewtree:1.0.0 has been promoted to its first stable release with no changes since its previous RC version.

This library introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by Transition 1.6.0-alpha01 and higher. You can also specify your own disjoint parents for views. See the documentation for more information.

Версия 1.0.0-rc01

12 февраля 2025 г.

androidx.core:core-viewtree:1.0.0-rc01 is released with no changes since the beta.

Версия 1.0.0-бета01

29 января 2025 г.

androidx.core:core-viewtree:1.0.0-beta01 is released with no changes since the alpha. Version 1.0.0-beta01 contains these commits .

Версия 1.0.0-альфа01

11 декабря 2024 г.

androidx.core:core-viewtree:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

Новые возможности

  • Initial release of core-viewtree , transitively exposed by androidx core.

  • This initial release introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by transition. You can also specify your own disjoint parents for views. See the documentation for more information.

Изменения API

  • Adds ViewParent.getParentOrViewTreeDisjointParent() and ViewParent.setViewTreeDisjointParent(View, ViewParent?) methods ( Ib2950 )

Core-i18n Version 1.0

Версия 1.0.0-бета01

12 марта 2025 г.

androidx.core:core-i18n:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

Новые возможности

  • This is the first release of the core-i18n component. The component makes it easier to create properly internationalized applications, focusing on two main areas:
    • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
    • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.
    • The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Версия 1.0.0-альфа01

26 июля 2023 г.

androidx.core:core-i18n:1.0.0-alpha01 is released. Версия 1.0.0-Alpha01 содержит эти коммиты.

База-расположение-высота Версия 1.0.

Версия 1.0.0-альфа03

16 октября 2024 г.

androidx.core:core-location-altitude:1.0.0-alpha03 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha03 , and androidx.core:core-location-altitude-proto:1.0.0-alpha03 are released. Версия 1.0.0-alpha03 содержит эти коммиты .

Security fix

  • As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on androidx.core:core-location-altitude-proto and androidx.core:core-location-altitude-external-protobuf to 1.1.0-alpha03 to address the vulnerability risk.

Исправления ошибок

  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , b/345472586 )

Версия 1.0.0-альфа02

12 июня 2024 г.

androidx.core:core-location-altitude:1.0.0-alpha02 , androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha02 , and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Версия 1.0.0-alpha02 содержит эти коммиты .

Исправления ошибок

  • Fixes proguard failure caused by the repackaging of proto libraries.

Внешний вклад

  • Bug fix above provided by andrekir@pm.me

Версия 1.0.0-альфа01

26 июля 2023 г.

androidx.core:core-i18n:1.0.0-alpha01 and androidx.core:core-location-altitude:1.0.0-alpha01 are released. Версия 1.0.0-Alpha01 содержит эти коммиты.

Новые возможности

  • Added AltitudeConverterCompat class with a single static method addMslAltitudeToLocation(Context, Location) ( I11168 ).

Core-telecom Version 1.0.

Версия 1.0.0-бета01

11 декабря 2024 г.

androidx.core:core-telecom:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

Новые возможности

Beta release for the following new features:

  • Fetching available audio endpoints before a call is added. App developers can now display all the available endpoints before initiating a call which allows users to seamlessly select their preferred audio endpoint and optimize their setup. This eliminates the need for in-call adjustments at the start of the call, providing a smoother experience.
  • Experimental API support for VOIP application call extensions. Call extensions allow an application to provide more details about an ongoing call, such as the list of participants in a group call or meeting. Supported remote surfaces such as Android Auto can then show this information to the user and allow them to interact with the supported extensions. The new experimental extensions added in this release are:
    • Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
      • Raising and lowering the hands of participants.
      • Kicking participants.
    • Support for call silence, which allows remote surfaces to silence a VOIP call without also globally muting the mic.

Изменения API

  • Rename addLocalSilenceExtension to addLocalCallsilenceExtension ( If4a9c )
  • Change preferredStartingCallEndpoint from var to val . ( Iab6b7 )
  • Add local call silence APIs ( I29dd0 )
  • Implement the compareTo function for the CallEndpointCompat class ( Ia06b7 )
  • Adds experimental app actions API. ( Ifb796 )
  • Add new CallsManager API getAvailableStartingCallEndpoints ( Ia8bcf )
  • Update ExperimentalAppActions annotation to ensure that it is accurately tracking all usages of the experimental feature. ( Id5ea5 )

Исправления ошибок

  • Add global mute state receiver for Android API level 28 through 33. ( I75e66 )
  • Fixes an issue where only the latest connected InCallService would be able to send action events ( I39599 )
  • Implements ICS Extensions API for voip app actions. ( I1274c )
  • Rejecting a call before API level 34 will now correctly destroy the call in Telecom. ( I635b7 )
  • addCall now properly throws Exceptions through the API instead of the parent coroutine ( I83334 )
  • Add a placeholder value to extras bundle ( Iebf7f )
  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , b/345472586 )
  • Adds experimental support for extensions to CallsManager#addCall . ( I24d92 )
  • Core-Telecom will now throw a CallException if the platform failed to add the call due to an exception, reaching max call count, etc. ( I41f27 )

Версия 1.0.0-альфа03

17 апреля 2024 г.

androidx.core:core-telecom:1.0.0-alpha03 is released. Версия 1.0.0-alpha03 содержит эти коммиты .

Исправления ошибок

  • Refactor of JetpackConnectionService to correct an issue which occurs on SDK 33 and below when the address passed in is empty. The refactored JetpackConnectionService is also resilient to unexpected NULL values from Telecom platform APIs.
  • Improvements to addCall/CallControlScope API documentation.
  • Test reliability improvements.

Версия 1.0.0-альфа02

4 октября 2023 г.

androidx.core:core-telecom:1.0.0-alpha02 is released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Изменения API

  • Revamped the API signatures for methods that returned boolean to indicate success/failure to instead return a result class that clearly indicates why an operation succeeded or failed.
  • Moved the CallControlCallback methods as lambda args to addCall to remove the need to explicitly provide a callback in the call scope.

Исправления ошибок

  • Fixed a bug in the ConnectionService compatibility layer which would have resulted in no call audio when running against pre-U SDKs.
  • Improve API documentation.

Версия 1.0.0-альфа01

10 мая 2023 г.

androidx.core:core-telecom:1.0.0-alpha01 is released. This version is developed in an internal branch and should be used with Android 14 Beta 2.

Новые возможности

  • Introduces the CallsManager API which VoIP apps can use for integrating with the Telecom framework on a device. Calls notified to the platform benefit from foreground execution priority, visibility on Bluetooth, wearable and automotive devices, and simplified audio routing.

    The CallsManager API wraps the legacy ConnectionService API for devices running older versions of Android.

Core and Core-ktx Version 1.16

Version 1.16.0-beta01

12 марта 2025 г.

androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 , and androidx.core:core-testing:1.16.0-beta01 are released. Version 1.16.0-beta01 contains these commits .

Изменения API

  • Refine insets protection APIs ( I7050d )
  • Adds new key to get character bounds in unmagnified window coordinates. ( If7a06 )
  • Add new boolean property to represent if an AccesibilityNodeInfo represents a required field. ( I4fd2d )
  • Backport View.transformMatrixToGlobal to ViewCompat ( If17e2 )

Version 1.16.0-alpha02

29 января 2025 г.

androidx.core:core:1.16.0-alpha02 , androidx.core:core-ktx:1.16.0-alpha02 , and androidx.core:core-testing:1.16.0-alpha02 are released. Version 1.16.0-alpha02 contains these commits .

Изменения API

  • Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available ( I0f89c )
  • Add an experimental API to get a list of built-in displays. ( Idda4d )
  • Add a set of APIs related to ensuring system bar contrast ( I9849c )

Исправления ошибок

  • Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26. ( Icd679 )
  • Эта библиотека теперь использует аннотации NULL NULL JSpecify , которые являются типизированными. Kotlin developers should use the following compiler arguments to enforce correct usage: -Xjspecify-annotations=strict, -Xtype-enhancement-improvements-strict-mode ( Iaf3e1 , b/326456246 )

Version 1.16.0-alpha01

11 декабря 2024 г.

androidx.core:core:1.16.0-alpha01 , androidx.core:core-ktx:1.16.0-alpha01 , and androidx.core:core-testing:1.16.0-alpha01 are released. Version 1.16.0-alpha01 contains these commits .

Изменения API

  • Added setLaunchDisplayId to ActivityOptionsCompat . ( I39e77 , b/379669743 )
  • Added compat API for SYSTEM_OVERLAYS . ( Ibd1fd , b/287470173 )
  • Added OutcomeReceiverCompat , a version of Android's OutcomeReceiver available on all API levels. ( Ib8265 , b/380060342 )
  • Added compat class for android.view.ScrollFeedbackProvider . ( Icaa92 )
  • Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View) . The ViewCompat variant fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner. ( I81413 )
  • Introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a different view that effectively parents the other view, but is not set via the View.parent property. See the documentation for more information. ( Ib2950 )
  • Added a new API ViewGroupCompat#installCompatInsetsDispatch for developers to fix an insets dispatching issue present prior to API 30. ( I11159 )
  • Added FontsContractCompat.TypefaceStyle IntDef for annotating Typeface styles in FontsContractCompat . ( Ib3e5b )

Внешний вклад

  • Deprecated BuildCompat.isAtLeastV . Callers should check SDK_INT against 35 directly instead. Thanks to Jake Wharton! ( I294d1 )
  • Added a mutability flag to TaskStackBuilder . Thanks to Kamal Faraj! ( Ife0ec , b/371534781 )

Core and Core-ktx Version 1.15

Version 1.15.0

30 октября 2024 г.

androidx.core:core:1.15.0 , androidx.core:core-ktx:1.15.0 , and androidx.core:core-testing:1.15.0 are released. Version 1.15.0 contains these commits .

Important changes since 1.14.0

  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , b/345472586 )
  • Various updates to compatibility classes for parity with Android 15 SDK.

Version 1.15.0-rc01

16 октября 2024 г.

androidx.core:core:1.15.0-rc01 , androidx.core:core-ktx:1.15.0-rc01 , and androidx.core:core-testing:1.15.0-rc01 are released. Version 1.15.0-rc01 contains no changes since the previous release.

Version 1.15.0-beta01

2 октября 2024 г.

androidx.core:core:1.15.0-beta01 , androidx.core:core-ktx:1.15.0-beta01 , and androidx.core:core-testing:1.15.0-beta01 are released. Version 1.15.0-beta01 contains these commits .

Изменения API

  • Added itemCount and importantForAccessibilityItemCount fields to CollectionInfoCompat . ( Ibaf34 )

Исправления ошибок

  • Fix documentation issues in androidx.core.os.Profiling ( I2542f )

Version 1.15.0-alpha02

21 августа 2024 г.

androidx.core:core:1.15.0-alpha02 , androidx.core:core-ktx:1.15.0-alpha02 , and androidx.core:core-testing:1.15.0-alpha02 are released. Version 1.15.0-alpha02 contains these commits .

Important changes

  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , b/345472586 )

Изменения API

  • Added fallbackQuery XML attribute to downloadable font definitions, allowing character-level fallback with downloadable fonts. ( Idd544 )
  • Adds helper APIs for using ProfilingManager ( If2292 )
  • Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode ( I3ba1f , b/349617674 )
  • Added DisplayCutoutCompat.getCutoutPath ( I58778 , b/279635904 )
  • Reverts deprecation of ParcelCompat.writeBoolean and delegates to the platform API on API level 29 and above. ( I9d243 , b/313834577 )
  • Create FontsContractCompat.requestFonts that takes executors ( I03016 , b/302377512 )
  • Reverts deprecation of LocationCompat.isMock and delegates to the platform API on API level 31 and above. ( I55940 , b/313834577 )
  • Notifications can now be tagged as voicemail. ( I068ab )

Version 1.15.0-alpha01

12 июня 2024 г.

androidx.core:core:1.15.0-alpha01 , androidx.core:core-ktx:1.15.0-alpha01 , and androidx.core:core-testing:1.15.0-alpha01 are released. This version is developed in an internal branch and is compatible with Android 15 Beta 3 ( android-35 ).

Изменения API

  • Various updates to compatibility classes for parity with Android 15 SDK.

Core and Core-ktx Version 1.14

Version 1.14.0-alpha01

1 мая 2024 г.

androidx.core:core:1.14.0-alpha01 , androidx.core:core-ktx:1.14.0-alpha01 , and androidx.core:core-testing:1.14.0-alpha01 are released. Version 1.14.0-alpha01 contains these commits .

Новые возможности

  • Move to 21 as the default minSdkVersion of androidx libraries ( I6ec7f )

Изменения API

  • Deprecate additional obsolete compat methods. ( Ie4470 , b/313834577 )
  • Deprecated obsolete compat methods. ( I01d90 , b/313834577 )
  • Updated isAtLeastV() to return true for finalized V SDK. ( I6339a )

Core and Core-ktx Version 1.13

Version 1.13.1

1 мая 2024 г.

androidx.core:core:1.13.1 , androidx.core:core-ktx:1.13.1 , and androidx.core:core-testing:1.13.1 are released. Version 1.13.1 contains these commits .

Исправления ошибок

  • Fix issue where when handwriting toolbar is shown, a finger tap can't switch to the regular keyboard ( I7f843 , b/332769437 )

Version 1.13.0

17 апреля 2024 г.

androidx.core:core:1.13.0 , androidx.core:core-ktx:1.13.0 , and androidx.core:core-testing:1.13.0 are released. Version 1.13.0 contains these commits .

Important changes since 1.12.0

  • The library's minSdkVersion has been raised to 19 . Many compatibility APIs have been marked deprecated since they were only needed prior to API level 19.
  • Several classes have been rewritten in Kotlin to provide better interoperability with Kotlin consumers while preserving Java compatibility.
  • Removed FingerprintManagerCompat , which is a no-op starting in Android V and should not be used on earlier platforms. Clients should migrate to BiometricPrompt immediately.
  • Added PathParser , which can create a Path instance from SVG path strings.

Version 1.13.0-rc01

3 апреля 2024 г.

androidx.core:core:1.13.0-rc01 , androidx.core:core-ktx:1.13.0-rc01 , and androidx.core:core-testing:1.13.0-rc01 are released. Version 1.13.0-rc01 contains these commits .

Исправления ошибок

Version 1.13.0-beta01

20 марта 2024 г.

androidx.core:core:1.13.0-beta01 , androidx.core:core-ktx:1.13.0-beta01 , and androidx.core:core-testing:1.13.0-beta01 are released. Version 1.13.0-beta01 contains these commits .

Изменения API

  • PathParser is now final , interpolatePathDataNodes now throws an exception for incompatible arguments instead of returning a boolean , and nodesToPath now belongs to PathParser rather than PathParser.PathDataNode . ( I20d62 )
  • FingerprintManagerCompat has been soft-removed prior to its removal from the Android V platform SDK. The implementation will be replaced with a no-op in the near future, and developers should migrate away from this class immediately. ( I7ca1b )
  • The Pool interface and its subclasses, SimplePool and SynchronizedPool are now written in Kotlin. The generic type of objects being stored in the Pool must now be non-null. ( I08afe )

Внешний вклад

  • GestureDetectorCompat is now deprecated as GestureDetector is guaranteed to be available in the platform at the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( Icc4cd )
  • MarginLayoutParamsCompat is now deprecated as MarginLayoutParams is guaranteed to be available in the platform as the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( I4e0c3 )

Version 1.13.0-alpha05

7 февраля 2024 г.

androidx.core:core:1.13.0-alpha05 , androidx.core:core-ktx:1.13.0-alpha05 , and androidx.core:core-testing:1.13.0-alpha05 are released. Version 1.13.0-alpha05 contains these commits.

Внешний вклад

  • Thanks to Matthew Zavislak for updating the ContextCompat.registerReceiver documentation for correctness. ( 8fd733 )

Version 1.13.0-alpha04

24 января 2024 г.

androidx.core:core:1.13.0-alpha04 , androidx.core:core-ktx:1.13.0-alpha04 , and androidx.core:core-testing:1.13.0-alpha04 are released. Version 1.13.0-alpha04 contains these commits.

Новые возможности

Kotlin Conversions

  • The androidx.core.util.Consumer class has been rewritten in Kotlin and now enforce that the generic type T now matches the nullability of what the accept() method receives. ( Ie21e0 )
  • androidx.core.util.Supplier has been converted to Kotlin, ensuring that the nullability of the type returned by get() matches the nullability of the generic type. ( I21e9c )
  • androidx.core.util.Function has been rewritten in Kotlin, ensuring that the nullability of the input and outputs of the function match the generic types used. ( I09dd7 )

Внешний вклад

  • Thanks to Kamal Faraj for adding the AlarmManagerCompat.canScheduleExactAlarms API ( I62e95 , b/315440583 )

Version 1.13.0-alpha03

10 января 2024 г.

androidx.core:core:1.13.0-alpha03 , androidx.core:core-ktx:1.13.0-alpha03 , and androidx.core:core-testing:1.13.0-alpha03 are released. Version 1.13.0-alpha03 contains these commits.

Изменения API

Version 1.13.0-alpha02

29 ноября 2023 г.

androidx.core:core:1.13.0-alpha02 , androidx.core:core-ktx:1.13.0-alpha02 , and androidx.core:core-testing:1.13.0-alpha02 are released. Version 1.13.0-alpha02 contains these commits.

Новые возможности

  • Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture. This is implemented by ComponentActivity in Activity 1.9.0-alpha01 . ( I54892 )

Изменения API

  • Deprecated androidx.core.os.CancellationSignal . Usages should be replaced with the platform-provided android.os.CancellationSignal . ( Id45f6 , b/309499026 , b/309054079 )
  • The OnMultiWindowModeChangedProvider , OnNewIntentProvider , OnPictureInPictureModeChangedProvider , OnConfigurationChangedProvider , and OnTrimMemoryProvider interfaces have been converted to Kotlin to ensure that the generic parameters on the Consumer that their listener methods take have the correct nullability (they are all non-null). ( Ib6237 )
  • The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes that are sent to the Consumer added to their respective Provider interfaces are now written in Kotlin. ( Ie08e2 )

Dependency Update

Version 1.13.0-alpha01

18 октября 2023 г.

androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 , and androidx.core:core-testing:1.13.0-alpha01 are released. Version 1.13.0-alpha01 contains these commits.

Изменения API

  • Make PathParser public. The class can create a Path instance from SVG path strings. ( Ic7af2 , b/302376846 )
  • Added compat method for Context.createAttributionContext . ( I61dcf , Ibe187 )
  • Marks NotificationCompatSideChannelService as deprecated. ( I18fd9 )
  • New API for differential motion fling. ( I46b0d , Ia9f68 )
  • Additional compat APIs for VelocityTracker to track platform SDK. ( I32753 )

Исправления ошибок

  • Override equals and hashCode methods in Person . ( I610a5 )

Core and Core-ktx Version 1.12

Version 1.12.0

6 сентября 2023 г.

androidx.core:core:1.12.0 , androidx.core:core-ktx:1.12.0 , and androidx.core:core-testing:1.12.0 are released. Version 1.12.0 contains these commits.

Important changes since 1.11.0

  • Many compat methods added for SDK 34 parity with TextView, AccessibilityNodeInfo, etc.
  • New LocalePreferences APIs to help developers to easily access locale data or user's locale preferences.
  • Deprecated app.BundleCompat in favor of os.BundleCompat .
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead.

Version 1.12.0-rc01

9 августа 2023 г.

androidx.core:core:1.12.0-rc01 , androidx.core:core-ktx:1.12.0-rc01 , and androidx.core:core-testing:1.12.0-rc01 are released with no major changes. Version 1.12.0-rc01 contains these commits.

Version 1.12.0-beta01

26 июля 2023 г.

androidx.core:core:1.12.0-beta01 , androidx.core:core-ktx:1.12.0-beta01 , and androidx.core:core-testing:1.12.0-beta01 are released. Version 1.12.0-beta01 contains these commits.

Изменения API

  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ia9fa9 )
  • Added TypedValueCompat.getUnitFromComplexDimension() from Android 14 ( I958e8 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ib2ee1 )
  • Backport miscellaneous Accessibility APIs ( Ic65ba )
  • Backport API 34 AccessibilityNodeInfo methods ( I44182 )
  • Graduate stable SDK checks out of experimental ( Ia9b35 )
  • Backport AccessiiblityWindowInfo 34 APIs ( I96a5d )
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead. ( I4f8e7 , b/289269026 )
  • Removed usages of experimental isAtLeastU() API ( Ie9117 , b/289269026 )
  • Migrated BuildCompat to Kotlin for enhanced Deprecated tag ( I56775 , b/289269026 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( I15716 )
  • New accessibilityDataSensitive compat property. ( I0c6e0 )
  • PendingIntentCompat.getActivity and getService may return null when FLAG_NO_CREATE is specified. ( Iffdf0 , b/289696515 )
  • Обновлены файлы API для подавления аннотаций совместимости ( I8e87a , b/287516207 ).
  • Added PendingIntentCompat.send() ( Iaf707 )
  • Adds compat versions of Location.removeVerticalAccuracy() , Location.removeSpeedAccuracy() , and Location.removeBearingAccuracy() . ( I5b640 )

Исправления ошибок

  • Made a view important for accessibility if the view has an accessibility delegate. ( If2b54 )

Version 1.12.0-alpha05

7 июня 2023 г.

androidx.core:core:1.12.0-alpha05 , androidx.core:core-ktx:1.12.0-alpha05 , and androidx.core:core-testing:1.12.0-alpha05 are released. This version is developed in an internal branch.

Исправления ошибок

  • Updated the documentation on the ColorUtils classes for generating a color from the Material 3 Hue, Chroma, and Tone (M3HCT) parameters. ( I32979 , I21c8c )
  • Fix deprecation replaceWith for android.os.Trace ( I730f9 )

Version 1.12.0-alpha04

10 мая 2023 г.

androidx.core:core:1.12.0-alpha04 , androidx.core:core-ktx:1.12.0-alpha04 , and androidx.core:core-testing:1.12.0-alpha04 are released. This was released from an internal branch.

Version 1.12.0-alpha03

April 12, 2023

androidx.core:core:1.12.0-alpha03 , androidx.core:core-ktx:1.12.0-alpha03 , and androidx.core:core-testing:1.12.0-alpha03 are released. This was released from an internal branch.

Изменения API

  • Unhides NotificationCompat.TvExtender (aosp/01c67677e9310b2cf4c536d7e951e117d6cce64a)
  • Added public methods to access M3HCT parameters and turn M3HCT values into ARGB (aosp/06810598aa94bee731bbe0d277933b8b9614934e)
  • Added NotificationManager.getCurrentInterruptionFilter (aosp/b0c6940639e35371d212a7ebd7dbf01c14fc7710)
  • Added getCurrentInterruptionFilter to NotifManagerCompat (aosp/516143e05f824ff49bde3c0c97344a2924867d30)
  • Deprecated app.BundleCompat in favor of os.BundleCompat (aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40)
  • Added TestConsumer so developers can record values in a test. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf)
  • Added TestConsumer so developers can record values in a test.(aosp/67ad4e2c6488772b7c9a061ee6ca01bba23649f7)

Исправления ошибок

  • Fixed a bug where unregisterGnssMeasurementsCallback() does not work properly below Android R. (aosp/c5a97c4ee956f87d229ec892f2b8849f392e956c)

Version 1.12.0-alpha01

8 марта 2023 г.

androidx.core:core:1.12.0-alpha01 and androidx.core:core-ktx:1.12.0-alpha01 are released. Version 1.12.0-alpha01 contains these commits.

Новые возможности

  • Provides APIs to help developers to easily access user's preference or the locale data in ICU. The accessible locale data includes hour cycle, calendar type, temperature unit, and first day of week.

Изменения API

  • Added new APIs LocalePreferences to help developers to easily access locale data or user's locale preferences.

Core and Core-ktx Version 1.11

Version 1.11.0-beta02

7 июня 2023 г.

androidx.core:core:1.11.0-beta02 , androidx.core:core-ktx:1.11.0-beta02 , and androidx.core:core-testing:1.11.0-beta02 are released. Version 1.11.0-beta02 contains these commits.

Исправления ошибок

  • Updated the documentation on the ColorUtils classes for generating a color from the Material 3 Hue, Chroma, and Tone (M3HCT) parameters. ( I32979 , I21c8c )
  • Fix deprecation replaceWith for android.os.Trace ( I730f9 )

Version 1.11.0-beta01

24 мая 2023 г.

androidx.core:core:1.11.0-beta01 , androidx.core:core-ktx:1.11.0-beta01 , and androidx.core:core-testing:1.11.0-beta01 are released. Version 1.11.0-beta01 contains these commits.

Изменения API

  • Add ViewCompat support to method performHapticFeedback ( Ib02c6 )
  • Change getDisplay to #getDisplayOrDefault ( I96ff9 )
  • Add ContextCompat#getDisplay(Context) ( I7011f , b/178183326 )
  • Add ContextCompat#getContextForLanguage(Context) for getting per-app locales in non-Activity context ( I58e75 , b/243457462 )

Исправления ошибок

  • Clarify CollectionInfoCompat docs, especially isHierarchical ( I14f6c )

Version 1.11.0-alpha04

10 мая 2023 г.

androidx.core:core:1.11.0-alpha04 , androidx.core:core-ktx:1.11.0-alpha04 , and androidx.core:core-testing:1.11.0-alpha04 are released. Version 1.11.0-alpha04 contains these commits.

Изменения API

  • Added LinkMovementMethodCompat that fixes link touch handling ( Ia632c )
  • PendingIntent.getBroadcast() is now correctly marked @Nullable ( Ifff96 , b/277630907 )

Исправления ошибок

  • Fixed Context leak in DisplayManagerCompat ( I3409b , b/279625765 )
  • Added a SoftwareKeyboardControllerCompat to provide direct methods to show and hide the software keyboard given a View. This backports workarounds for known issues when using the WindowInsetsController APIs on some API levels, and is the extraction of the backing implementation for WindowInsetsControllerCompat.show and hide for the IME inset types. ( Idd0a3 )

Version 1.11.0-alpha03

19 апреля 2023 г.

androidx.core:core:1.11.0-alpha03 , androidx.core:core-ktx:1.11.0-alpha03 , and androidx.core:core-testing:1.11.0-alpha03 are released. Version 1.11.0-alpha03 contains these commits.

Изменения API

  • Update BuildCompat in preparation for Android 14 Beta 2 ( Idc1b1 , b/276491001 )
  • Unhides NotificationCompat.TvExtender ( Ibe13a )
  • Add public methods to access M3HCT parameters and turn M3HCT values into ARGB ( Id7e9d )

Version 1.11.0-alpha02

5 апреля 2023 г.

androidx.core:core:1.11.0-alpha02 , androidx.core:core-ktx:1.11.0-alpha02 , and androidx.core:core-testing:1.11.0-alpha02 are released. Version 1.11.0-alpha02 contains these commits.

Изменения API

  • Adds getCurrentInterruptionFilter to NotifManagerCompat ( I8ec95 , b/243183646 )
  • Deprecate app.BundleCompat in favor of os.BundleCompat ( Idc3a2 , b/274577000 )
  • Add TestConsumer so developers can record values in a test. ( I937c1 )

Исправления ошибок

  • Fix a bug where unregisterGnssMeasurementsCallback() does not work properly below Android R. ( Id1999 )

Version 1.11.0-alpha01

22 марта 2023 г.

androidx.core:core:1.11.0-alpha01 and androidx.core:core-ktx:1.11.0-alpha01 are released. Version 1.11.0-alpha01 contains these commits.

Изменения API

  • In Android U, the ContentProvider API of getType requires that the caller hold the correct read permission. FileProvider now provides a default getTypeAnonymous implementation, which is the unrestricted version. ( I4773f )
  • Added compat classes for content capture APIs ( I09366 )
  • Added NotifCompat.Builder.setLargeIcon(Icon) ( Ic0a5b )
  • Adds a batch notification API to NotificationManagerCompat . Users are encouraged to use this API when posting multiple notifications. ( I2cd7f )
  • Added registerGnssMeasurementsCallback() with Executor support on pre-R platforms ( I579f8 )

Core and Core-ktx Version 1.10

Version 1.10.1

10 мая 2023 г.

androidx.core:core:1.10.1 and androidx.core:core-ktx:1.10.1 are released. Version 1.10.1 contains these commits.

Внешний вклад

  • Fix BadParcelableException being thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio

Version 1.10.0

5 апреля 2023 г.

androidx.core:core:1.10.0 and androidx.core:core-ktx:1.10.0 are released. Version 1.10.0 contains these commits.

Important changes since 1.9.0

  • Deprecated recycling of accessibility objects. We've found performance changes to be negligible for even the oldest supported OS versions. ( I0a961 )
  • Added BuildCompat constants for SDK extension versions. ( I6084c )
  • See release notes for pre-release versions of 1.10.0 for new APIs and bug fixes.

Version 1.10.0-rc01

8 марта 2023 г.

androidx.core:core:1.10.0-rc01 and androidx.core:core-ktx:1.10.0-rc01 are released with no changes from the previous beta.

Version 1.10.0-beta01

22 февраля 2023 г.

androidx.core:core:1.10.0-beta01 and androidx.core:core-ktx:1.10.0-beta01 are released. Version 1.10.0-beta01 contains these commits.

Изменения API

  • The AccessibilityNodeInfoCompat APIs of set/getMinMillisBetweteenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long for their duration. ( f46689 )
  • Added NotificationCompat.bigLargeIcon(Icon) ( I60855 )

Исправления ошибок

  • Fix docs regarding default value of NotificationCompat.Builder.setShowWhen() ( ba52a2 )
  • Fix typo in AccelerateInterpolator / DecelerateInterpolator docs ( 2173505 )
  • Fix typo in ShortcutInfoCompat docs ( 44075f )
  • Fix up, down, spacebar and key variation keyboard actions with NestedScrollView and CoordinatorLayout ( bdd72e )

Version 1.10.0-alpha02

25 января 2023 г.

androidx.core:core:1.10.0-alpha02 and androidx.core:core-ktx:1.10.0-alpha02 are released. Version 1.10.0-alpha02 contains these commits.

Изменения API

  • Added BuildCompat constant for AD_SERVICES extension version ( I51d98 )
  • Add BEHAVIOR_DEFAULT to WindowInsetsControllerCompat . BEHAVIOR_SHOW_BARS_BY_SWIPE and BEHAVIOR_SHOW_BARS_BY_TOUCH are deprecated. ( I17b61 )

Version 1.10.0-alpha01

11 января 2023 г.

androidx.core:core:1.10.0-alpha01 and androidx.core:core-ktx:1.10.0-alpha01 are released. Version 1.10.0-alpha01 contains these commits.

Изменения API

  • Adds CallStyle to NotificationCompat ( Id9a53 , b/199294989 )
  • Added BuildCompat constants for SDK extension versions ( I6084c )
  • Add APIs for setting initial focus on accessibility node. ( Id199a )
  • Add new APIs for content change rate limiting ( If4ea0 )
  • Adds compatibility methods for new APIs introduced in Android 13 for Parcels, Bundles, and Intents. Some ParcelCompat method signatures have been updated, and may require a source change on upgrade to confirm to the new signature. ( I57e94 , b/242048899 )
  • Deprecating recycling of accessibility objects. We've found performance changes to be negligible in even the oldest supported versions. ( I0a961 )
  • Updated return type nullability of deprecated-hidden functions ( Ibf7b0 )
  • Added times/div operator overloads for Point and PointF ( I8e557 , b/261574780 )

Исправления ошибок

  • Add to AccessibilityEvent#TYPE_ANNOUNCEMENT with suggestion to avoid using it. ( I818bf )
  • Specify lists should have 1 row or 1 column for accessibility ( Ia1223 )

Core and Core-ktx Version 1.9.0

Version 1.9.0

7 сентября 2022 г.

androidx.core:core:1.9.0 and androidx.core:core-ktx:1.9.0 are released. Version 1.9.0 contains these commits.

Important changes since 1.8.0

  • Updated to improve compatibility with Android 13, including nullability changes and parity with framework APIs
  • Added IntentSanitizer to sanitize unsafe intents before launching them. ( Ib0be5 )
  • Adds support for BigPictureStyle using Icon ( Ice26d )
  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. ( Ie542e )
  • Improved parity between Android 13 accessibility framework APIs and compat APIs ( I93c97 , I5a074 , Iedf82 )

Version 1.9.0-rc01

24 августа 2022 г.

androidx.core:core:1.9.0-rc01 and androidx.core:core-ktx:1.9.0-rc01 are released. Version 1.9.0-rc01 contains these commits.

Исправления ошибок

  • IntentSanitizer.sanitizeByFiltering no longer writes to the log when filtering ( 69b3b55 )

Version 1.9.0-beta01

10 августа 2022 г.

androidx.core:core:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.

Изменения API

Исправления ошибок

  • Added @RequiresPermission to APIs that require granting the POST_NOTIFICATIONS permission on SDK 33 and above. ( Ie542e , b/238790278 )
  • Adding support for API introduced in T." into androidx-platform-dev" ( )
  • Adding support for API introduced in T. ( I358f1 )
  • TypefaceCompate.create(..., weight, italic) will fallback to platform Typeface.create when compat impl cannot resolve on API 14-20 ( I1ee34 , b/145311058 )
  • Added accessibility framework constants previously absent from androidx." into androidx-main am: d5747be010" ( I5a074 )
  • Added accessibility framework constants previously absent from androidx. ( I93c97 )

Внешний вклад

  • Backported Typeface#create(Typeface, int, boolean) which allows creating typeface with specific weight from a font family ( I342dc )

Version 1.9.0-alpha05

15 июня 2022 г.

androidx.core:core:1.9.0-alpha05 and androidx.core:core-ktx:1.9.0-alpha05 are released. Version 1.9.0-alpha05 was developed in a private pre-release branch and has no public commits.

Изменения API

  • Nullability updates to align with finalized API surface in Tiramisu Beta 3 SDK
  • minCompileSdk is now 33 to align with Tiramisu Beta 3 SDK

Version 1.9.0-alpha04

18 мая 2022 г.

androidx.core:core:1.9.0-alpha04 and androidx.core:core-ktx:1.9.0-alpha04 are released. Version 1.9.0-alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history.

Исправления ошибок

  • Revert deprecation of BuildCompat.isAtLeastT() and accompanying SDK_INT checks

Version 1.9.0-alpha03

April 27, 2022

androidx.core:core:1.9.0-alpha03 and androidx.core:core-ktx:1.9.0-alpha03 are released. Version 1.9.0-alpha04 contains all commits from 1.8.0-beta01 , but has been built against Android 13 Beta 1.

This version requires Android 13 Beta 1 to compile and is not guaranteed to be runtime-compatible with future developer previews.

Version 1.9.0-alpha02

23 марта 2022 г.

androidx.core:core:1.9.0-alpha02 and androidx.core:core-ktx:1.9.0-alpha02 are released. Version 1.9.0-alpha02 contains all commits from 1.8.0-alpha06, but has been built against Tiramisu DP2.

Version 1.9.0-alpha01

23 февраля 2022 г.

androidx.core:core:1.9.0-alpha01 and androidx.core:core-ktx:1.9.0-alpha01 are released. Version 1.9.0-alpha01 was built from an internal branch and does not have publicly-visible commits.

This version requires Android Tiramisu DP1 to compile and is not guaranteed to be runtime-compatible with future developer previews.

Новые возможности

  • Compatible with Android Tiramisu DP1.

Core and Core-ktx Version 1.8.0

Version 1.8.0

1 июня 2022 г.

androidx.core:core:1.8.0 and androidx.core:core-ktx:1.8.0 are released. Version 1.8.0 contains these commits.

Important changes since 1.7.0

  • Significant clean-up of nullability annotations to improve Kotlin usability
  • Platform parity improvements to ShortcutInfoCompat , NotificationCompat , and more
  • New interfaces to allow components to receive picture-in-picture and multi-window mode change events, implemented by ComponentActivity in Activity library
  • Improvements to MenuProvider callback methods, including onPrepareMenu and onMenuClosed
  • Fixed issue where FileProvider would fail with IllegalArgumentException on certain devices
  • Fixed issue where TypefaceCompat applied incorrect typeface weight on API 29+ ( b/194553426 ) thanks to contribution from RikkaW

Version 1.8.0-rc02

18 мая 2022 г.

androidx.core:core:1.8.0-rc02 and androidx.core:core-ktx:1.8.0-rc02 are released. Version 1.8.0-rc02 contains these commits.

Исправления ошибок

  • Cast OnSharedElementsReadyListener to fully-qualified platform class to prevent ClassCastException ( 0029fed )

Версия 1.8.0-rc01

11 мая 2022 г.

androidx.core:core:1.8.0-rc01 and androidx.core:core-ktx:1.8.0-rc01 are released. Version 1.8.0-rc01 contains these commits.

Изменения API

  • Added BuildCompat check for next pre-release cycle ( If5a8f , b/229859122 )
  • Updated BuildCompat.isAtLeastT() for finalized SDK_INT value. ( Iffae0 )

Версия 1.8.0-бета01

20 апреля 2022 г.

androidx.core:core:1.8.0-beta01 and androidx.core:core-ktx:1.8.0-beta01 are released with no changes since 1.8.0-alpha07. Version 1.8.0-beta01 contains these commits.

Версия 1.8.0-альфа07

6 апреля 2022 г.

androidx.core:core:1.8.0-alpha07 and androidx.core:core-ktx:1.8.0-alpha07 are released. Version 1.8.0-alpha07 contains these commits.

Исправления ошибок

  • TypefaceCompat will now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are not FontWeight.Normal or FontWeight.Bold , as the actual loaded weight and style will be used. ( #212 , b/194553426 )

Внешний вклад

  • Thanks RikkaW for ensuring we correctly apply Typeface weight in TypefaceCompat on API 29+. #212

Версия 1.8.0-альфа06

23 марта 2022 г.

androidx.core:core:1.8.0-alpha06 is released. Version 1.8.0-alpha06 contains these commits.

Изменения API

  • The MenuProvider interface now includes the onPrepareMenu() callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 )
  • The MenuProvider interface now includes the onMenuClosed() method to be used whenever a menu should be closed. ( If5a16 )
  • Updated IconCompat#getResId to have the proper resource annotation type to match the corresponding method in the framework in Icon#getResId ( I49700 )
  • Отменено предыдущее изменение, основанное исключительно на представлении для WindowInsetsControllerCompat , и снова требуется окно, необходимое для управления некоторыми флагами окон. Устаревший ViewCompat.getWindowInsetsController в пользу WindowCompat.getInsetsController , чтобы гарантировать использование правильного окна (например, если представление находится в диалоговом окне). ( I660ae , б / 219572936 )
  • Updated nullability in core and appcompat to match Tiramisu DP2 ( I0cbb7 )
  • Adds a method to BitmapCompat for smoother downscaling of bitmaps. ( Ib706c )
  • Added nullability annotations to ActivityCompat.requestDragAndDropPermissions ( I0f2b0 , b/206113378 )
  • Added a work-around to FileProvider for OEMs stripping meta-data from manifests. ( I82f63 )

Исправления ошибок

  • Consider parent visibility changes for a11y pane visibility status for <P ( I8e04f )

Версия 1.8.0-альфа05

23 февраля 2022 г.

androidx.core:core:1.8.0-alpha05 and androidx.core:core-ktx:1.8.0-alpha05 are released. Version 1.8.0-alpha05 contains these commits.

Изменения API

  • Updated nullability for androidx.core.os classes ( If18cd , b/206113622 )
  • Updated nullability for androidx.core.app classes ( I657eb , b/206113302 )
  • Updated nullability for androidx.core.text classes ( I08329 , b/206113384 )
  • Added ExtraData functions to AccessibilityNodeInfoCompat ( If2fc7 , b/137789185 )
  • Added zero-arg overload for bundleOf() to avoid an invisible array allocation when creating an empty bundle ( If7089 )
  • Added Continuation<T>.asFoo() adapters to create callbacks for writing suspend wrappers for Android APIs that accept common/generic callback types ( I6615e )
  • Added nullable Drawable.toBitmapOrNull method to avoid exceptions ( I2342a )

Версия 1.8.0-альфа04

9 февраля 2022 г.

androidx.core:core:1.8.0-alpha04 and androidx.core:core-ktx:1.8.0-alpha04 are released. Version 1.8.0-alpha04 contains these commits.

Изменения API

  • Adds the OnPictureInPictureModeChangedProvider interface to allow any component to receive picture-in-picture mode change events. This is implemented by ComponentActivity in Activity 1.5.0-alpha02 . ( I9f567 )
  • Adds the OnMultiWindowModeChangedProvider interface to allow any component to receive multi-window mode change events. This is implemented by ComponentActivity in Activity 1.5.0-alpha02 . ( I62d91 )
  • Cleaned up nullability for a subset of androidx.core APIs. ( Ia0e2f , b/206113818 )

Version 1.8.0-alpha03

26 января 2022 г.

androidx.core:core:1.8.0-alpha03 and androidx.core:core-ktx:1.8.0-alpha03 are released. Version 1.8.0-alpha03 contains these commits.

Изменения API

  • Converted WindowInsetsControllerCompat to depend on a View instead of a Window or the platform WindowInsetsController . This improves behavior with Dialogs, showing the IME, and ensures the non-deprecated creation methods workaround ( b/180881870 ). ( I29264 , b/207401542 , b/210121779 )
  • Cleaned up nullability for a subset of androidx.core APIs. ( Ib2583 , b/206113818 )
  • Fixed nullability of performAccessibilityAction params ( Ibbafe )
  • Added method for working around ColorStateList issues resulting from Theme-keyed caching and Theme.applyStyle ( I9188b , b/207739887 )
  • Update shortcut visibility api for better readability ( Ia58df )
  • Added zero-arg overload for persistableBundleOf() to avoid an unnecessary array allocation when creating an empty PersistableBundle ( Icd7a4 )

Версия 1.8.0-альфа02

15 декабря 2021 г.

androidx.core:core:1.8.0-alpha02 and androidx.core:core-ktx:1.8.0-alpha02 are released. Version 1.8.0-alpha02 contains these commits.

Изменения API

  • Adds experimental BuildCompat methods for future SDKs ( Iafd82 , b/207528937 )
  • Add utility methods to convert document into shortcut and vice versa. ( Id512c )
  • Update visibility api for shortcut for better readability ( I86dec )
  • Adds the OnNewIntentProvider , OnConfigurationChangedProvider , and onTrimMemoryProvider interfaces that can be used to denote that your custom activity can dispatch these events to any component that adds a listener. ( If1f8b , If623b , Ia9295 )

Версия 1.8.0-альфа01

1 декабря 2021 г.

androidx.core:core:1.8.0-alpha01 and androidx.core:core-ktx:1.8.0-alpha01 are released. Version 1.8.0-alpha01 contains these commits.

Изменения API

  • Significant clean-up of nullability annotations
  • Added a new API ShortcutInfoCompat.Builder#setHiddenFromLauncher to determine whether the shortcut should be hidden from the launcher. ( Ia2a71 )
  • Add NotificationCompat.Action#setAuthenticationRequired ( Ieeafa , b/202172887 )
  • Add NotificationCompat.BigPictureStyle.setContentDescription ( I3b483 )
  • Added extension function Map<String, Any?>.toPersistableBundle() ( I82c86 )

Исправления ошибок

  • Adjusts the scroll distance for accessibility action ( If74ae )
  • Removed hardcoded language code in Javadocs ( Ie5d68 )

Core and Core-ktx Version 1.7

Версия 1.7.0

27 октября 2021 г.

androidx.core:core:1.7.0 and androidx.core:core-ktx:1.7.0 are released. Version 1.7.0 contains these commits.

Важные изменения с версии 1.6.0

  • Adds support for interacting with SDK 30 and later's permission revocation and app hibernation features, with backporting down to SDK 23 on supported devices. See IntentCompat.createManageUnusedAppRestrictionsIntent for more information.
  • Adds support for composing menu support in components, see MenuProvider for more information.

Версия 1.7.0-rc01

13 октября 2021 г.

androidx.core:core:1.7.0-rc01 and androidx.core:core-ktx:1.7.0-rc01 are released. Version 1.7.0-rc01 contains these commits.

Версия 1.7.0-бета02

29 сентября 2021 г.

androidx.core:core:1.7.0-beta02 and androidx.core:core-ktx:1.7.0-beta02 released. Version 1.7.0-beta02 contains these commits.

Исправления ошибок

  • MenuHostHelper will now properly remove all LifecycleObservers when a MenuProvider is removed prior to the Lifecycle being DESTROYED . ( Ibe2e1 , b/199788262 )
  • Update the descriptions of the Unused App Restrictions Constants to be clearer for developers ( I2858e )

Версия 1.7.0-бета01

15 сентября 2021 г.

androidx.core:core:1.7.0-beta01 and androidx.core:core-ktx:1.7.0-beta01 are released. Version 1.7.0-beta01 contains these commits.

Изменения API

  • LocationRequestCompat.toProvider can now return null ( Ib5a09 )

Версия 1.7.0-альфа02

1 сентября 2021 г.

androidx.core:core:1.7.0-alpha02 and androidx.core:core-ktx:1.7.0-alpha02 are released. Версия 1.7.0-alpha02 содержит эти коммиты.

Новые возможности

  • Streamlining and unification of how lifecycle-aware menus are managed, see MenuProvider for more details.

Изменения API

  • Added MenuHost interface for components that manage MenuProvider s. ( I83f23 )
  • Added MenuProvider interface that can be used to indicate that a component is supplying menu items. ( If8a40 )
  • Added MenuHostHelper to simplify implementing MenuHost in a component. ( I74f4a )
  • Added LocationRequestCompat.toLocationRequest() for converting to platform class. ( I71e75 )
  • Added DocumentsContractCompat class for parity with platform APIs. ( Ia9e91 )
  • Added NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean) for parity with platform APIs. ( I8cd88 )
  • Fixed an issue where checkSelfPermission from PermissionChecker would show mic/cam indicators. ( I572a9 )
  • Added explicit threading annotation for setImportantForAccessibility . ( I990fa )
  • Updated getUnusedAppRestrictionsStatus to conform to API guidelines. ( I28a18 )
  • Completed functionality for getUnusedAppRestrictionsStatus . ( I7c2d6 )
  • Added support to LocationCompat for vertical accuracy, speed accuracy, and bearing accuracy. ( I1d3e9 )
  • Added math compat functions to MathUtils . ( Idb590 )
  • Integrated OnReceiveContentListener into compat APIs. ( Ic6914 , b/173814913 )
  • Added ActivityCompat#isLaunchedFromBubble for platform parity. ( I6961a )
  • Added LocationRequest and LocationManager.hasProvider() for platform parity. ( I4f3e4 )

Исправления ошибок

  • Removed the use of lambdas in PackageManagerCompat to avoid LambdaDesugaring bug. ( I36c87 )

Версия 1.7.0-альфа01

30 июня 2021 г.

androidx.core:core:1.7.0-alpha01 and androidx.core:core-ktx:1.7.0-alpha01 are released. Версия 1.7.0-alpha01 содержит эти коммиты.

Изменения API

  • Added an API to configure an InputConnection to use View.performReceiveContent to handle IME calls to InputConnection.commitContent . ( I3a2ad )
  • Combined two APIs' functionality into one ( I261df )
  • Modified two APIs' functionality for use with unused app restriction features (eg permission revocation, app hibernation) ( Ic1616 )
  • Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( I606d7 )
  • Added nullability annotations to several Compat classes ( I2802a , b/188452327 , b/189962089 )
  • Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( Icafee )
  • Addressed missing nullability annotation issues in ViewCompat ( Ic346e , b/188453571 )

Core Remote Views Version 1.1

Версия 1.1.0

12 июня 2024 г.

androidx.core:core-remoteviews:1.1.0 is released. Version 1.1.0 contains these commits .

Важные изменения с версии 1.0.0

  • Core RemoteViews moves to 1.1.0 stable.

Версия 1.1.0-rc01

14 мая 2024 г.

androidx.core:core-remoteviews:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits .

Новые возможности

  • Move RemoteViews 1.1.0 to Release Candidate.

Исправления ошибок

  • Move to 21 as the default minSdkVersion of androidx libraries. ( I6ec7f )

Версия 1.1.0-beta02

17 апреля 2024 г.

androidx.core:core-remoteviews:1.1.0-beta02 is released. No major changes since the last release.

Версия 1.1.0-бета01

3 апреля 2024 г.

androidx.core:core-remoteviews:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits .

Версия 1.1.0-альфа01

7 февраля 2024 г.

androidx.core:core-remoteviews:1.1.0-alpha01 is released. Версия 1.1.0-alpha01 содержит эти коммиты.

Новые возможности

  • Version bump to match dependency versions.

Core Remote Views Version 1.0

Версия 1.0.0

6 сентября 2023 г.

androidx.core:core-remoteviews:1.0.0 is released. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

  • Move core-remoteviews to stable version 1.0.0

Версия 1.0.0-бета04

10 мая 2023 г.

androidx.core:core-remoteviews:1.0.0-beta04 is released. Версия 1.0.0-BETA04 содержит эти коммиты.

Исправления ошибок

  • Fixes ArrayOutOfBoundsException being thrown in corner cases in compat library.

Версия 1.0.0-бета03

5 октября 2022 г.

androidx.core:core-remoteviews:1.0.0-beta03 is released. Версия 1.0.0-BETA03 содержит эти коммиты.

Новые возможности

  • No new features were added.

Версия 1.0.0-бета02

10 августа 2022 г.

androidx.core:core-remoteviews:1.0.0-beta02 is released. Версия 1.0.0-BETA02 содержит эти коммиты.

Исправления ошибок

  • Version fix

Версия 1.0.0-бета01

29 июня 2022 г.

androidx.core:core-remoteviews:1.0.0-beta01 is released. Версия 1.0.0-BETA01 содержит эти коммиты.

Новые возможности

  • Moves Core-RemoteViews to beta.

Версия 1.0.0-альфа03

23 февраля 2022 г.

androidx.core:core-remoteviews:1.0.0-alpha03 is released. Версия 1.0.0-Alpha03 содержит эти коммиты.

Исправления ошибок

  • Fix for infrastructure.

Версия 1.0.0-альфа02

26 января 2022 г.

androidx.core:core-remoteviews:1.0.0-alpha02 is released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Версия 1.0.0-альфа01

15 декабря 2021 г.

androidx.core:core-remoteviews:1.0.0-alpha01 is released. Версия 1.0.0-Alpha01 содержит эти коммиты.

Новые возможности

  • Backport of the new RemoteViews.setRemoteAdapter API.
  • Kotlin Extension functions to avoid reflection when calling RemoteViews methods.
  • Library with helper functions for working with App Widget sizing APIs.

Core Performance Version 1.0

Версия 1.0.0

10 января 2024 г.

androidx.core:core-performance:1.0.0 , androidx.core:core-performance-play-services:1.0.0 , and androidx.core:core-performance-testing:1.0.0 are released. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

  • Core Performance - Provides a reliable mechanism for developers to identify the device's level of performance at runtime to help optimize an app's user experience accordingly.
  • Core Performance Play Services - Google-specific implementation providing up-to-date media performance class information for tested devices and OS versions.
  • Core Performance Testing - Test doubles for Core Performance.

Исправления ошибок

  • Fixed a crash when initializing PlayServicesDevicePerformance found in version 1.0.0-beta2 . ( b/318803680 )

Версия 1.0.0-rc01

13 декабря 2023 г.

androidx.core:core-performance:1.0.0-rc01 , androidx.core:core-performance-play-services:1.0.0-rc01 , and androidx.core:core-performance-testing:1.0.0-rc01 are released. Версия 1.0.0-rc01 содержит эти коммиты.

Новые возможности

  • Core Performance - Updated library implementation. ( DevicePerformance generic implementation).
  • Core Performance Play Services - Initial library implementation. (Google specific DevicePerformance implementation).
  • Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).

Изменения API

  • Initial RC release of DevicePerformance specific API.

Версия 1.0.0-бета02

4 октября 2023 г.

androidx.core:core-performance:1.0.0-beta02 , androidx.core:core-performance-play-services:1.0.0-beta02 , and androidx.core:core-performance-testing:1.0.0-beta02 are released. Версия 1.0.0-BETA02 содержит эти коммиты.

Новые возможности

  • Test related refactoring.

Изменения API

  • Unchanged API usage pattern.

Версия 1.0.0-бета01

6 сентября 2023 г.

androidx.core:core-performance:1.0.0-beta01 , androidx.core:core-performance-play-services:1.0.0-beta01 , and androidx.core:core-performance-testing:1.0.0-beta01 are released. Версия 1.0.0-BETA01 содержит эти коммиты.

Новые возможности

  • Core Performance - Updated library implementation. ( DevicePerformance generic implementation).
  • Core Performance Play Services - Initial library implementation. (Google specific DevicePerformance implementation).
  • Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).

Изменения API

  • Initial beta release of DevicePerformance specific API.

Версия 1.0.0-альфа03

23 августа 2023 г.

androidx.core:core-performance:1.0.0-alpha03 , androidx.core:core-performance-play-services:1.0.0-alpha03 , and androidx.core:core-performance-testing:1.0.0-alpha03 are released. Версия 1.0.0-Alpha03 содержит эти коммиты.

Новые возможности

  • Initial library implementation of core-performance-testing , containing test doubles for core-performance.
  • Initial library implementation or core-performance-play-services . Google specific implementation provides up to date media performance class information.

Изменения API

  • Add optional module providing media performance class from Google Play Services.
  • core-performance constructors changed to support optional implementation.

Версия 1.0.0-альфа02

23 марта 2022 г.

androidx.core:core-performance:1.0.0-alpha02 is released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Новые возможности

  • Provide an easy and reliable mechanism for developers to identify at runtime the device's level of performance in order to deliver an optimized app experience.
  • This initial release uses a list of hand-tested devices that are granted performance class values higher than the level declared in Build.VERSION.MEDIA_PERFORMANCE_CLASS

Версия 1.0.0-альфа01

15 декабря 2021 г.

androidx.core:core-performance:1.0.0-alpha01 is released. Версия 1.0.0-Alpha01 содержит эти коммиты.

Core Splashscreen Version 1.2

Версия 1.2.0-бета01

26 февраля 2025 г.

androidx.core:core-splashscreen:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits .

Версия 1.2.0-альфа02

4 сентября 2024 г.

androidx.core:core-splashscreen:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits .

Исправления ошибок

  • Add isLightTheme attribute to themes of SplashScreen ( I01000 , b/238522114 )
  • Get splashscreen icon by AppCompatResources ( Ib05e , b/289242141 , b/263972037 )
  • Убрано ручное определение доступа к API новой платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или новее (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или новее (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется выполнить обновление до D8 версии 8.1 или более поздней. Более подробную информацию можно найти в этой статье . ( Ieb9ae , b/345472586 )

Версия 1.2.0-альфа01

17 апреля 2024 г.

androidx.core:core-splashscreen:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits .

Исправления ошибок

  • Change the cutout mode of Base.Theme.SplashScreen to always since v30.( Idfc3f )
  • Reset enforceNavigationBarContrast to system default value from API 31, so the splash screen theme won't corrupt activity's theme. From API 31+, the splash screen isn't create as PhoneWindow , so it's unnecessary to inherit the value from API 29. Also remove the override action from applyAppSystemUiTheme , since enforceNavigationBarContrast could already changed from app side during launch, override it from attribute doesn't make sense.( Ic2cd9 )
  • Set default light navigation bar which respects day/night theme. So for API 33+ platform, the splash screen theme won't cause flicker while removing the splash screen. ( I8023a )
  • Do not overwrite activity theme after receiving the splash screen view from api 33.( I10587b )

Core Splashscreen Version 1.1

Версия 1.1.0-rc01

3 апреля 2024 г.

androidx.core:core-splashscreen:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits .

Исправления ошибок

Версия 1.1.0-альфа02

6 сентября 2023 г.

androidx.core:core-splashscreen:1.1.0-alpha02 is released. Версия 1.1.0-alpha02 содержит эти коммиты.

Исправления ошибок

  • Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )

Dependency Update

  • Core-Splashscreen now compiles against API 34.

Версия 1.1.0-альфа01

22 февраля 2023 г.

androidx.core:core-splashscreen:1.1.0-alpha01 is released. This was developed in an internal branch.

Исправления ошибок

  • Fixed a NullPointerException when SplashScreenView#getIconView returned null. ( e231ab )

Core Splashscreen Version 1.0

Версия 1.0.1

19 апреля 2023 г.

androidx.core:core-splashscreen:1.0.1 is released. Версия 1.0.1 содержит эти коммиты.

Исправления ошибок

  • Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )

Версия 1.0.0

27 июля 2022 г.

The core SplashScreen library brings the new Android 12 splash screen to all devices from API 23. Using the splash screen library, your application doesn't need any custom SplashScreen Activity and leverages the right APIs for a fast launch of your application. To use it, simply follow the steps outlined in our guide . For more information about the Android 12 splash screen, visit the official documentation .

androidx.core:core-splashscreen:1.0.0 is released. Версия 1.0.0 содержит эти коммиты.

Версия 1.0.0-rc01

18 мая 2022 г.

androidx.core:core-splashscreen:1.0.0-rc01 is released. Версия 1.0.0-rc01 содержит эти коммиты.

  • No changes since the last beta release.

Версия 1.0.0-бета02

23 марта 2022 г.

androidx.core:core-splashscreen:1.0.0-beta02 is released. Версия 1.0.0-BETA02 содержит эти коммиты.

Исправления ошибок

  • Fixed Lateinit property platformView has not been initialized ( b/214835299 )

Внешний вклад

  • Fix rendering issue on MIUI with dark mode and Explicitly set android:animateLayoutChanges to false to avoid the fading animation when removing the splash screen in the OnExitAnimationListener ( #327 )

Версия 1.0.0-бета01

12 января 2022 г.

androidx.core:core-splashscreen:1.0.0-beta01 is released. Версия 1.0.0-BETA01 содержит эти коммиты.

Исправления ошибок

  • Better night mode handling ensures that night mode is handled when the default parameters are used on all APIs. 2d1d182

Fixes bugs introduced in the new splash screen on Android 12:

  • Fix systemBar flickering on API 31: Ensure that the system bars do not flicker when customizing the exit animation. 5a75362
  • Fix insets handling when using OnExitAnimationListener: Ensures that the content does not jump when the OnExitAnimationListener is used. 4c8f264

Версия 1.0.0-альфа02

29 сентября 2021 г.

androidx.core:core-splashscreen:1.0.0-alpha02 is released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Новые возможности

  • Better insets support: The splash screen now shows full screen on all APIs even when the OnExitAnimationListener is set.
  • postSplashScreenTheme is optional: you can simply call activity.setTheme() before onCreate() to set your app theme after the splash screen is shown.
  • Backward support of the windowSplashScreenIconBackgroundColor attribute: using Theme.SplashScreen.IconBackground and windowSplashScreenIconBackgroundColor , you can add a background to the splash screen icon.
  • The sizing of the icon has been corrected to match the platform's specs.

Изменения API

Исправления ошибок

  • Make postSplashScreenTheme optional ( I8c4bf )

Версия 1.0.0-альфа01

30 июня 2021 г.

androidx.core:core-splashscreen:1.0.0-alpha01 is released.

Новые возможности

  • core-splashscreen provides backward compatibility for the new Splash Screen APIs . This first alpha version contains all the new APIs backported down to API 23, with the exception of the icon background.
  • See the KDocs in androidx.core.splashscreen for usage information.

Core Google Shortcuts Version 1.2

Версия 1.2.0-альфа01

26 июля 2023 г.

androidx.core:core-google-shortcuts:1.2.0-alpha01 is released. Версия 1.2.0-alpha01 содержит эти коммиты.

Изменения API

Core Google Shortcuts Version 1.1.0

Версия 1.1.0

24 октября 2022 г.

androidx.core:core-google-shortcuts:1.1.0 is released. Версия 1.1.0 содержит эти коммиты.

Важные изменения с версии 1.0.0

  • Migrated from using com.google.firebase:firebase-appindexing to the new com.google.android.gms:play-services-appindex library. This version of the library is not compatible with com.google.firebase:firebase-appindexing . Developers should avoid using both libraries to avoid build errors.

Версия 1.1.0-rc01

5 октября 2022 г.

androidx.core:core-google-shortcuts:1.1.0-rc01 is released. Версия 1.1.0-rc01 содержит эти коммиты.

Новые возможности

  • Migrated from using com.google.firebase:firebase-appindexing to the new com.google.android.gms:play-services-appindex library. Note that this version of the library is not compatible with com.google.firebase:firebase-appindexing . Developers should avoid using both libraries to avoid build errors.

Версия 1.1.0-бета01

21 сентября 2022 г.

androidx.core:core-google-shortcuts:1.1.0-beta01 is released. Версия 1.1.0-beta01 содержит эти коммиты.

Новые возможности

  • Removed unused dependency. No new features.

Версия 1.1.0-альфа03

7 сентября 2022 г.

androidx.core:core-google-shortcuts:1.1.0-alpha03 is released. Версия 1.1.0-alpha03 содержит эти коммиты.

Новые возможности

  • Removed unused dependency. No new features.

Версия 1.1.0-альфа02

24 августа 2022 г.

androidx.core:core-google-shortcuts:1.1.0-alpha02 is released. Версия 1.1.0-alpha02 содержит эти коммиты.

Новые возможности

  • Update dependency from com.google.firebase:firebase-appindexing to com.google.android.gms:play-services-appindex . Developers who use this new version should not externally depend on com.google.firebase:firebase-appindexing , as the two libraries are now incompatible.

Версия 1.1.0-альфа01

4 августа 2021 г.

androidx.core:core-google-shortcuts:1.1.0-alpha01 is released. Версия 1.1.0-alpha01 содержит эти коммиты.

Новые возможности

  • Indexing support for URI based icons in Donated shortcuts to be displayed by Google apps.

Core and Core-ktx Version 1.6.0

Версия 1.6.0

30 июня 2021 г.

androidx.core:core:1.6.0 and androidx.core:core-ktx:1.6.0 are released. Версия 1.6.0 содержит эти коммиты.

Important changes since 1.5.0

  • Add support for resolving theme attributes in nested ColorStateList s. ( I2e409 b/155579892 )
  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Версия 1.6.0-rc01

16 июня 2021 г.

androidx.core:core:1.6.0-rc01 and androidx.core:core-ktx:1.6.0-rc01 are released. Версия 1.6.0-rc01 содержит эти коммиты.

Изменения API

  • JobIntentService has been deprecated in favor of WorkManager ( Ic7749 , b/149049019 )

Версия 1.6.0-бета02

2 июня 2021 г.

androidx.core:core:1.6.0-beta02 and androidx.core:core-ktx:1.6.0-beta02 are released. Версия 1.6.0-beta02 содержит эти коммиты.

Исправления ошибок

  • Update BuildCompat to use current long press timeout on latest platforms ( b/185118174 )
  • Remove use of synchronized from ContextCompat , ContentLoadingProgress methods.

Версия 1.6.0-бета01

18 мая 2021 года

androidx.core:core:1.6.0-beta01 and androidx.core:core-ktx:1.6.0-beta01 are released. Версия 1.6.0-beta01 содержит эти коммиты.

Изменения API

Версия 1.6.0-альфа03

5 мая 2021 г.

androidx.core:core:1.6.0-alpha03 and androidx.core:core-ktx:1.6.0-alpha03 are released. Версия 1.6.0-alpha03 содержит эти коммиты.

Новые возможности

  • Add support for resolving theme attributes in nested ColorStateList s. ( I2e409 b/155579892 )

Исправления ошибок

  • Prevent NPE when handling null custom selection action mode callbacks on AppCompat-backed views. ( I033c7 , b/173435375 )

  • Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )

Версия 1.6.0-альфа02

April 15, 2021

androidx.core:core:1.6.0-alpha02 and androidx.core:core-ktx:1.6.0-alpha02 are released. Версия 1.6.0-alpha02 содержит эти коммиты.

Изменения API

  • Add TelephoneManagerCompat and SubscriptionManagerCompat ( I5568d )
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat ( Ie8f70 )
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder , deprecated old addCapabilityBinding ( I90686 )
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation() ( I78d9a )
  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( I9a6a2 )
  • Added ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid() ( Iea486 )

Внешний вклад

  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Версия 1.6.0-альфа01

24 марта 2021 г.

androidx.core:core:1.6.0-alpha01 and androidx.core:core-ktx:1.6.0-alpha01 are released. Версия 1.6.0-alpha01 содержит эти коммиты.

Изменения API

  • Adds Handler.hasCallbacks() method for parity with platform SDK ( Idce1c , b/113855676 )
  • Adds capability related setter methods to ShortcutInfoCompat.Builder ( I45af6 )

Core Google Shortcuts Version 1.0

Версия 1.0.1

18 мая 2022 г.

androidx.core:core-google-shortcuts:1.0.1 is released. Версия 1.0.1 содержит эти коммиты.

Исправления ошибок

  • Fix proguard rule to prevent a method from being unintentionally removed

Версия 1.0.0

30 июня 2021 г.

androidx.core:core-google-shortcuts:1.0.0 is released. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

Include this module to allow shortcuts saved using ShortcutManagerCompat to also be donated to Google. This will unlock additional features with those shortcuts for users, such as displaying them as suggestions or allowing Google Assistant to fulfill them through voice query. There is no limit to the number of shortcuts that can be donated, and those that are donated this way are saved on-device. For more information, see the full documentation on pushing dynamic shortcuts to Assistant .

Версия 1.0.0-rc01

16 июня 2021 г.

androidx.core:core-google-shortcuts:1.0.0-rc01 is released. Версия 1.0.0-rc01 содержит эти коммиты.

Версия 1.0.0-бета01

18 мая 2021 года

androidx.core:core-google-shortcuts:1.0.0-beta01 is released. Версия 1.0.0-BETA01 содержит эти коммиты.

Новые возможности

  • Shortcuts added via core-google-shortcuts library will be saved as a Shortcut object in firebase appindexing, instead of a generic schema.org/Thing object.

Исправления ошибок

  • Removed the minSdkVersion requirement from the library. The library will still only work for API version 21 and above, but apps will no longer be required to set their own app's minSdkVersion to 21.

Версия 1.0.0-альфа03

5 мая 2021 г.

androidx.core:core-google-shortcuts:1.0.0-alpha03 is released. Версия 1.0.0-Alpha03 содержит эти коммиты.

Исправления ошибок

  • No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to ShortcutManagerCompat#pushDynamicShortcut .

Версия 1.0.0-альфа02

April 15, 2021

androidx.core:core-google-shortcuts:1.0.0-alpha02 is released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Новые возможности

  • By depending on androidx.core:core-google-shortcuts as an optional component along with androidx.core ; you can start using ShortcutManagerCompat to donate shortcuts to be used by Google.
  • A new TrampolineActivity will be merged with apps depending on this module. The TrampolineActivity is used to open shortcuts donated by this module.

Изменения API

  • Added ShortcutInfoChangeListenerImpl , to be used by ShortcutManagerCompat to donate shortcuts to Firebase App Index.

Core and Core-ktx Version 1.5.0

Версия 1.5.0

18 мая 2021 года

androidx.core:core:1.5.0 and androidx.core:core-ktx:1.5.0 are released. Версия 1.5.0 содержит эти коммиты.

Важные изменения с версии 1.4.0

  • Support for new Insets Animation APIs
  • Updates to OnReceiveContentListener to support rich content
  • Backported WindowInsetsController and WindowInsetsCompat APIs to control system bar appearance
  • Updated ActivityCompat.recreate() to be safely called from any lifecycle state on any API level
  • Added APIs to supply and retrieve initial surrounding text via EditorInfoCompat , which allows IME apps to avoid additional IPC latency.
  • Various updates to improve parity with platform SDK APIs

Version 1.5.0-rc02

5 мая 2021 г.

androidx.core:core:1.5.0-rc02 and androidx.core:core-ktx:1.5.0-rc02 are released. Version 1.5.0-rc02 contains these commits.

Исправления ошибок

Версия 1.5.0-rc01

24 марта 2021 г.

androidx.core:core:1.5.0-rc01 and androidx.core:core-ktx:1.5.0-rc01 are released. Версия 1.5.0-rc01 содержит эти коммиты.

Краткое содержание

  • No changes from previous beta03

Версия 1.5.0-бета03

10 марта 2021 г.

androidx.core:core:1.5.0-beta03 and androidx.core:core-ktx:1.5.0-beta03 are released. Версия 1.5.0-beta03 содержит эти коммиты.

Изменения API

  • Added ExecutorCompat, which creates an Executor from a Handler. ( Ib4ca3 , b/181237835 )

Версия 1.5.0-бета02

24 февраля 2021 г.

androidx.core:core:1.5.0-beta02 and androidx.core:core-ktx:1.5.0-beta02 are released. Версия 1.5.0-beta02 содержит эти коммиты.

Исправления ошибок

  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( Iefa71 )
  • NotificationCompat.MessagingStyle.getText() was incorrectly marked as @NonNull ; it is now @Nullable ( I05cb7 )

Версия 1.5.0-бета01

13 января 2021 г.

androidx.core:core:1.5.0-beta01 and androidx.core:core-ktx:1.5.0-beta01 are released. Версия 1.5.0-beta01 содержит эти коммиты.

Изменения API

  • Follow API guidelines for Bounds Compat/Platform interoperability ( I7da35 )
  • Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener. ( Ib26c9 , b/175343405 )
  • Connection of the new Insets Animation API with the Platform implementation ( I078da )
  • Added the new Insets Animation APIs ( I8aebd )
  • Updated OnReceiveContentListener and related APIs:
    • Updated OnReceiveContentListener so it can be set on any type of view via ViewCompat.
    • Removed getSupportedMimeTypes() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat method that sets the listener.
    • Wrapped arguments to OnReceiveContentListener.onReceiveContent() in an object.
    • Added linkUri as a param to onReceiveContent() to ensure backwards compatibility with the keyboard image API.
    • Added a Bundle param to onReceiveContent() to ensure backwards compatibility with the keyboard image API and to facilitate evolution of the API in the future.
    • Updated onReceiveContent() to return any content that was not consumed, as a means to delegate to the default handling.
    • Removed TextViewOnReceiveContentListener from the public API since the default behavior can now be triggered by returning any unconsumed content from the listener.
    • ( Ib4616 , b/173814913 )
  • Deprecated BuildCompat.isAtLeastR ( Idb37e )
  • Moved widget.RichContentReceiverCompat to view.OnReceiveContentListener . ( Ifdab7 , b/173814913 )
  • Added Preconditions.checkFlagsArgument . ( I43952 , b/174181100 )
  • Deprecate custom menu for outbound sharing. ( I7cd92 )
  • Notifications can now be tagged as missed calls. ( I14d90 )
  • Added PackageInfoCompat#getSignatures for retrieving the certificate array for a package ( I8e9a3 , b/159831205 )

Исправления ошибок

  • Fix a bug where setting BigPictureStyle.bigLargeIcon would break the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

Внешний вклад

  • ShareCompat now uses constructors for creation and the old factory methods have been deprecated. You can now create both builders and readers from a Context and an Activity is no longer required. ( I315b6 , b/173043501 )
  • Set clip data and grant uri read permission when sharing streams using ShareCompat ( I4aa31 , b/173137936 )

Version 1.5.0-alpha05

11 ноября 2020 г.

androidx.core:core:1.5.0-alpha05 and androidx.core:core-ktx:1.5.0-alpha05 are released. Version 1.5.0-alpha05 contains these commits.

Изменения API

  • Added support for new GnssStatus APIs ( Id8e22 )
  • Added overloads of FileProvider#getUriForFile to support custom filenames ( Ie870b )
  • Backported the WindowInsetsController APIs to control the system bar appearance. ( Ieb4ee )
  • Renamed getFont with boolean to getCachedFont ( Iea520 )
  • Backported the #hide() and #show() methods from WindowInsetsController APIs, added in API 30 ( I21573 )
  • Added new API ResourcesCompat#getFont with cacheOnly option ( Ic38cf )
  • Updated androidx notification bubbles APIs for Android 11 ( Ib9c70 )

Версия 1.5.0-альфа04

1 октября 2020 г.

androidx.core:core:1.5.0-alpha04 and androidx.core:core-ktx:1.5.0-alpha04 are released. Версия 1.5.0-alpha04 содержит эти коммиты.

Изменения API

  • Fix incomplete Style recovery when using NotificationCompat.Builder.<init>(Context,Notification) ( Ib297a )
  • New notification categories types are now available ( I9521a )

Исправления ошибок

  • Allow ActivityCompat.recreate() to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )

Версия 1.5.0-альфа03

16 сентября 2020 г.

androidx.core:core:1.5.0-alpha03 and androidx.core:core-ktx:1.5.0-alpha03 are released. Версия 1.5.0-alpha03 содержит эти коммиты.

Изменения API

  • ViewCompat is a utility class and shouldn't be instantiated. ( If20fa )
  • APIs to supply and retrieve initial surrounding text were backported to EditorInfoCompat . They allow IME apps to avoid additional IPC latency. ( Ie3809 )
  • Query notification channels and groups with compat objects. ( I11d18 )

Исправления ошибок

  • For pre-P, ensure panes are marked as important for accessibility and support CONTENT_CHANGE_TYPE_PANE_DISAPPEARED events. ( Iaeffc )

Внешний вклад

  • API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )

Версия 1.5.0-альфа02

August 19, 2020

androidx.core:core:1.5.0-alpha02 and androidx.core:core-ktx:1.5.0-alpha02 are released. Версия 1.5.0-alpha02 содержит эти коммиты.

Новые возможности

  • The WindowInsetsCompat APIs have been updated to those in the platform in Android 11. This includes the new ime() inset type, which allows checking the visibility and size of the on-screen keyboard.

    • Some caveats about the ime() type, it works very reliably on API 23+ when your Activity is using the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

Изменения API

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#toString(Object, String) but can be used pre-API 19. ( I26cdc )
  • Added NotificationCompat.Builder.recoverBuilder(Notification) ( I6f100 )
  • Add NotificationCompat.Builder.createContentView() and peers ( I6fe13 )
  • Add extra data related APIs in AccessibilityNodeInfoCompat ( I19567 )
  • Add NotificationCompat.Builder.setSettingsText and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

Внешний вклад

  • Add Uri overloads for MailTo methods ( I6fa6b )
  • Added MailTo API which provides consistent behavior and bug fixes for all API levels ( Ie9395 , b/159827506 )

Версия 1.5.0-альфа01

10 июня 2020 г.

androidx.core:core:1.5.0-alpha01 and androidx.core:core-ktx:1.5.0-alpha01 are released.

Новые возможности

  • Provides parity with Android R platform SDK APIs for ShortcutManager , ShortcutInfo , AccessibilityNodeInfo , DisplayCutout , GnssStatus , and Notification classes

Исправления ошибок

  • Make it clear that checking shouldShowPermissionRationale is recommended.
  • Change AtomicFile to use rename-into-place.
  • Adjust the Typeface display style with the style of given font. ( b/156853883 )
  • Fix failing Notification Builder Tests
  • Fix register/unregister bug LocationManagerCompat .

Core and Core-ktx Version 1.4.0

Версия 1.4.0-альфа01

20 мая 2020 г.

androidx.core:core:1.4.0-alpha01 and androidx.core:core-ktx:1.4.0-alpha01 are released. Версия 1.4.0-alpha01 содержит эти коммиты.

Изменения API

  • Add common API for inserting rich content (eg pasting an image). The new callback provides a single API that apps can implement to support the different ways in which rich content may be inserted. For now the API is only added to AppCompatEditText and will be invoked for the following code paths:
    • paste from the clipboard
    • content insertion from the IME ( InputConnection.commitContent ) ( I22bf7 )
  • Backported android.os.Process.isApplicationUid(int) to help apps determine whether code is executing in a isolated process ( I4c83a , b/153014822 )
  • Backported LocusId to help apps correlate state between different subsystems such as content capture, shortcuts, and notifications. ( Ia3129 )
  • Added ancestry sequences to ViewGroup ( I5f75c , b/117976097 )

Исправления ошибок

  • Added permissions validation for ActivityCompat.requestPermissions() ( I372cc , b/122163323 )
  • Extracted v28+ calls into a separate static class, which fixes a NoClassDefFoundError error for View#OnUnhandledKeyEventListener when building an app bundle ( Id3419 , b/153695093 )
  • Fixed a setChronometerCountDown crash bug ( I47282 , b/145770610 )

Core and Core-ktx Version 1.3.2

Version 1.3.2

1 октября 2020 г.

androidx.core:core:1.3.2 and androidx.core:core-ktx:1.3.2 are released. Version 1.3.2 contains these commits.

Исправления ошибок

  • Allow ActivityCompat.recreate() to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )

Core and Core-ktx Version 1.3.1

Версия 1.3.1

22 июля 2020 г.

androidx.core:core:1.3.1 and androidx.core:core-ktx:1.3.1 are released. Версия 1.3.1 содержит эти коммиты.

Исправления ошибок

  • Fixed an issue where the resolved font resource Typeface weight and style had the wrong values on API Level 29 ( b/156853883 )

Core and Core-ktx Version 1.3.0

Версия 1.3.0

May 27, 2020

androidx.core:core:1.3.0 and androidx.core:core-ktx:1.3.0 are released. Версия 1.3.0 содержит эти коммиты.

Major changes since 1.2.0

  • New APIs on NestedScrollView to run smooth scrolls with specified duration
  • New APIs on ViewCompat to retrieve the original window insets that were dispatched to the view hierarchy

Версия 1.3.0-rc01

15 апреля 2020 г.

androidx.core:core:1.3.0-rc01 and androidx.core:core-ktx:1.3.0-rc01 are released. Версия 1.3.0-rc01 содержит эти коммиты.

Исправления ошибок

  • WindowInsetsCompat now properly implements hashCode() and equals() on all supported API levels.

Версия 1.3.0-бета01

April 1, 2020

androidx.core:core:1.3.0-beta01 and androidx.core:core-ktx:1.3.0-beta01 are released. Версия 1.3.0-beta01 содержит эти коммиты.

Версия 1.3.0-альфа02

March 4, 2020

androidx.core:core:1.3.0-alpha02 and androidx.core:core-ktx:1.3.0-alpha02 are released. Версия 1.3.0-alpha02 содержит эти коммиты.

Изменения API

  • New APIs on NestedScrollView to run smooth scrolls with specified duration
  • A new ViewCompat API to retrieve the original window insets that were dispatched to the view hierarchy

Версия 1.3.0-альфа01

29 января 2020 г.

androidx.core:core:1.3.0-alpha01 and androidx.core:core-ktx:1.3.0-alpha01 are released. Версия 1.3.0-alpha01 содержит эти коммиты .

Новые возможности

  • Added ContentProviderCompat
  • Added WindowInsetsCompat.Builder

Изменения API

  • Added a NotificationCompat API to silence a notification instance
  • Added ResourcesCompat.NULL_ID
  • Deprecated CarExtender.UnreadConversation in NotificationCompat
  • Added a DisplayCompat API to get the physical size of the device

Исправления ошибок

  • Improved the handling actions with no icons in NotificationCompat
  • Fixed drawable tinting on TextView relative to compound drawables on API Level 23 ( aosp/1172194 )
  • Ensured the base context is always a wrapper
  • Fixed an issue where RecyclerView should not populate Collection[Item]Info by default

Версия 1.2.0

Версия 1.2.0

5 февраля 2020 г.

androidx.core:core:1.2.0 and androidx.core:core-ktx:1.2.0 are released. Version 1.2.0 contains these commits .

Major changes since 1.1.0

  • Added new APIs and bug fixes in NotificationCompat
  • Added new APIs to work with BlendMode introduced in AndroidQ in backwards-compatible way
  • Added new APIs and bug fixes in accessibility compat
  • Added new APIs to work with ShortcutInfo
  • Added new APIs to work with WindowInsets
  • Fixed backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat , ShareCompat , WakefulBroadcastReceiver and InputConnectionCompat

Версия 1.2.0-rc01

20 ноября 2019 г.

androidx.core:core:1.2.0-rc01 and androidx.core:core-ktx:1.2.0-rc01 are released with no changes since 1.2.0-beta02 . Version 1.2.0-rc01 contains these commits .

Версия 1.2.0-бета02

7 ноября 2019 г.

androidx.core:core:1.2.0-beta02 and androidx.core:core:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits .

Исправления ошибок

  • Updated translations for en-rCA and en-rXC locales.

Версия 1.2.0-бета01

9 октября 2019 г.

androidx.core:core:1.2.0-beta01 and androidx.core:core-ktx:1.2.0-beta01 released. Version 1.2.0-beta01 contains these commits .

Изменения API

  • Added support for creating NotificationCompat Actions using IconCompat and deprecated a public field (and its getter) using resource IDs to represent icons for Actions. ( aosp/1119192 )
  • Add MathUtils.clamp for longs ( aosp/1117300 )
  • Added setChronometerCountDown to NotificationCompat ( b/138601213 )

Исправления ошибок

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

Внешний вклад

  • Thank you Sergey Zakharov for enabling the API lint check for MissingBuild and ListenerLast in AndroidX! ( aosp/1119191 , aosp/1126768 )

Версия 1.2.0-альфа04

5 сентября 2019 г.

androidx.core:core:1.2.0-alpha04 and androidx.core:core-ktx:1.2.0-alpha04 are released. Коммиты, включенные в эту версию, можно найти здесь .

Изменения API

  • Deprecated ShortcutInfoCompat.Builder#setLongLived() and replaced it with a new API with the same name that accepts a boolean as a parameter, to match the similar API in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

Исправления ошибок

Версия 1.2.0-альфа03

7 августа 2019 г.

androidx.core:core:1.2.0-alpha03 and androidx.core:core-ktx:1.2.0-alpha03 are released. Коммиты, включенные в эту версию, можно найти здесь .

Новые возможности

  • Added UriCompat.toSafeString(Uri) to provide URI escaping that is updatable separately from the platform. ( b/130878326 )
  • Added Predicate<T> interface to provide Java 8-style predicates without requiring Java 8 language features.

Изменения API

  • Made removeDynamicShortuct() static ( b/134993204 )
  • Created factory method for BlendMode Color Filter ( b/135943149 )
  • Added async , counter , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

Исправления ошибок

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat implementation ( aosp/1012534 )
  • Fixed bug where FingerprintManager incorrectly checked PackageManager on API Level 23 ( b/124066957 )

Версия 1.2.0-альфа02

13 июня 2019 г.

androidx.core:core:1.2.0-alpha02 and androidx.core:core-ktx:1.2.0-alpha02 are released. Коммиты, включенные в эту версию, можно найти здесь .

Изменения API

  • Added WindowInsetsCompat.wrap() and unwrap(), to be able to wrap and unwrap WindowInsets instances

Версия 1.2.0-альфа01

May 7, 2019 androidx.core:core:1.2.0-alpha01 are androidx.core:core-ktx:1.2.0-alpha01 are released.

Новые возможности

  • Add ACTION_PAGE_UP/DOWN/NEXT/PREVIOUS accessibility actions
  • Add CATEGORY_NOTIFICATION to NotificationCompat
  • Add support for contextual Notification Actions
  • Add support for bubbles in NotificationCompat
  • Added BlendModeCompat APIs to leverage the BlendMode APIs on Android 10 and falling back to PorterDuff.Mode equivalents wherever possible
  • Add new getters to WindowInsetsCompat and ViewCompat
  • Add support for tap-to-edit in notifications
  • DrawerLayout system gesture exclusion rects
  • Add NotificationCompat API for whether to allow system generated contextual actions
  • Handle disabled <activity-alias> components in NavUtils
  • Add AccessibilityNodeInfoCompat.setEntryKey

Исправления ошибок

  • Fix exception when loading fonts in TypefaceCompat
  • Various DayNight fixes
  • Fix backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat, ShareCompat, WakefulBroadcastReceiver and InputConnectionCompat

Версия 1.1.0

Версия 1.1.0

5 сентября 2019 г.

androidx.core:core:1.1.0 and androidx.core:core-ktx:1.1.0 are released. Коммиты, включенные в эту версию, можно найти здесь .

Important Changes since 1.0.0

  • Updated accessibility APIs to match the Android 10 platform accessibility APIs
  • Added improvements to Nested Scrolling; see NestedScrollingChild3 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.collection dependency to your library or app. This change is source-incompatible but retains binary compatibility. The Collection dependency is still a transitive dependency of Core but as an implementation detail instead of part of its API.
  • Worked around an IPC compatibility issue caused by refactor to androidx ( aosp/948725 , aosp/938269 )
  • Added a variety of fixes for AppCompat DayNight ( aosp/942956 )

Версия 1.1.0-rc03

7 августа 2019 г.

androidx.core:core:1.1.0-rc03 and androidx.core:core-ktx:1.1.0-rc03 are released. Коммиты, включенные в эту версию, можно найти здесь .

Исправления ошибок

  • Make the hidden androidx.core.app.ComponentActivity implement LifecycleOwner to maintain binary compatibility with androidx.fragment:fragment:1.0.0 ( aosp/1094409 )

Version 1.1.0-rc02

2 июля 2019 г.

androidx.core:core:1.1.0-rc02 and androidx.core:core-ktx:1.1.0-rc02 are released. Коммиты, включенные в эту версию, можно найти здесь .

Исправления ошибок

  • FingerprintManagerCompat#getFingerprintManagerOrNull on API level 23 should not check PackageManager ( b/124066957 ) ( aosp/987433 )
  • Fix equality comparison in AccessibilityNodeInfoCompat ( aosp/985736 )

Версия 1.1.0-rc01

5 июня 2019 г.

androidx.core:core:1.1.0-rc01 and androidx.core:core-ktx:1.1.0-rc01 are released. Коммиты, включенные в эту версию, можно найти здесь .

Исправления ошибок

  • Make image keyboard API backport compatible to all previous impls ( aosp/968220 )
  • Remove Guava ListenableFuture from androidx.core:core library dependencies ( b/133171974 , aosp/965393 )
  • Fix incorrect velocity while flinging with nested scrolling. ( aosp/961642 )
  • Add test for mutating TransitionDrawable ( b/37033322 )

Версия 1.1.0-бета01

7 мая 2019 г.

androidx.core:core:1.1.0-beta01 and androidx.core:core-ktx:1.1.0-beta01 are released. Коммиты, включенные в эту версию, можно найти здесь .

The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).

Изменения API

  • Undeprecated capability setters ( aosp/937281 )
  • RemoteActionCompat is now a 1VersionedParcelable` ( aosp/928534 )

Исправления ошибок

  • AppCompatTextView in core tests should be created with an appcompat theme ( aosp/951636 )
  • Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
  • Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
  • Fixed bug in DayNight updates when in background ( aosp/942956 )
  • Implemented text entry key API for accessibility services in AOSP Keyboard ( aosp/943897 )
  • Fixed exception when loading font on devices running API Level 20 and lower
  • Handle disabled <activity-alias> components in NavUtils ( aosp/940788 )

Версия 1.1.0-альфа05

13 марта 2019 г.

androidx.core:core:1.1.0-alpha05 and androidx.core:core-ktx:1.1.0-alpha05 are released. Полный список коммитов, включённых в эту версию, можно найти здесь .

Новые возможности

  • New ActivityCompat.recreate() API for working around pre-28 platform bugs ( aosp/898940 )
  • New LocationManagerCompat class ( aosp/894736 )

Изменения API

  • This library no longer exposes the 'collection' dependency as part of its API. If you were depending on the 'collection' types implicitly through a dependency on 'core', you will need to add an explicit 'collection' dependency to your library or app. This change is source-incompatible but retains binary compatibility. The 'collection' dependency is still a transitive dependency of 'core' but as an implementation detail instead of part of its API.

Исправления ошибок

  • Fixed bug with default tint mode for ImageView on devices running API level 21

Версия 1.1.0-альфа04

January 30, 2019

androidx.core:core 1.1.0-alpha04 and androidx.core:core-ktx 1.1.0-alpha04 are released.

Изменения API

  • Change value of EXTRA_SHORTCUT_ID to be consistent with the platform ( aosp/877712 )
  • Add CATEGORY_NOTIFICATION to NotificationCompat ( aosp/861067 )

Исправления ошибок

  • Fix for fontFamily not working on devices running API level 24 and lower ( aosp/807054 )
  • Fixed bug where replacing accessibility actions, and adding accessibility actions, didn't remove old accessibility actions ( aosp/848314 )

Версия 1.1.0-альфа03

17 декабря 2018 г.

androidx.core 1.1.0-alpha03 and androidx.core-ktx 1.1.0-alpha03 are released with the following changes. androidx.core-ktx 1.1.0-alpha02 is released to provide a ktx match for androidx.core 1.1.0-alpha02 .

Новые возможности

  • Added Notification channels methods to NotificationManagerCompat so developers can use only NotificationManagerCompat when working with notifications. Special thanks to Zdeněk Kořán for this new feature!

Изменения API

  • Added new APIs to ShortcutManagerCompat to publish and update dynamic shortcuts.

Версия 1.1.0-альфа01

November 5, 2018

androidx.core 1.1.0-alpha01 is released with the following API changes and bug fixes.

New features and API changes

  • NestedScrollingChild3 and NestedScrollingParent3 add the 'consumed' parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
  • NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
  • ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
  • Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
  • Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
  • Added compatibility implementation of Resources.getFloat.
  • Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
  • Added Kotlin extension functions for TextView TextWatcher actions.
  • Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
  • Added AccessibilityPane to ViewCompat.
  • Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
  • Deprecated AccessibilityNodeInfoCompat.setFocusable() , setClickable() , setLongClickable() , setScrollable() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan s accessible back through API 19.

Исправления ошибок

  • Fixed bug that caused ResourcesCompat.getFont() crash when the network fails, when using downloadable fonts.
  • Fixed Null Pointer Exception in TypefaceCompatApi21 that occurred when ContentResolver returned null.
  • Fixed type error in Array Utils where it expected ColorStateList but got raw colors.

Core-Animation and Core-Animation-Testing 1.0.0

Версия 1.0.0

1 мая 2024 г.

androidx.core:core-animation:1.0.0 and androidx.core:core-animation-testing:1.0.0 are released. Version 1.0.0 contains these commits .

Основные особенности версии 1.0.0

androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:

  • ValueAnimator#pause , ValueAnimator#resume (API Level 19)
  • ObjectAnimator.ofMultiInt , ObjectAnimator.ofMultiFloat (API Level 21)
  • ValueAnimator#setCurrentFraction (API Level 22)
  • AnimatorSet#setCurrentPlayTime (API Level 26)
  • androidx.core:core-animation-testing allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.

Версия 1.0.0-rc01

26 июля 2023 г.

androidx.core:core-animation:1.0.0-rc01 , androidx.core:core-animation-testing:1.0.0-rc01 , and androidx.core:core-remoteviews:1.0.0-rc01 are released. Версия 1.0.0-rc01 содержит эти коммиты.

Новые возможности

  • RemoteViews moves moved to rc01 after stabilizing in beta.

Версия 1.0.0-бета01

20 апреля 2022 г.

androidx.core:core-animation:1.0.0-beta01 is released with no changes since 1.0.0-alpha02. Версия 1.0.0-BETA01 содержит эти коммиты.

Core-Animation Core-Animation-Testing Version 1.0.0-alpha02

August 19, 2020

androidx.core:core-animation:1.0.0-alpha02 and androidx.core:core-animation-testing:1.0.0-alpha02 are released. Версия 1.0.0-Alpha02 содержит эти коммиты.

Исправления ошибок

  • Fix AnimatorSet with multiple Animators for a single property. ( aosp/1351310 )

Core-Animation Version 1.0.0-alpha01

15 апреля 2020 г.

androidx.core:core-animation:1.0.0-alpha01 and androidx.core:core-animation-testing:1.0.0-alpha01 are released. Версия 1.0.0-Alpha01 содержит эти коммиты.

Новые возможности

androidx.core:core-animation is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:

  • ValueAnimator#pause , ValueAnimator#resume (API Level 19)
  • ObjectAnimator.ofMultiInt , ObjectAnimator.ofMultiFloat (API Level 21)
  • ValueAnimator#setCurrentFraction (API Level 22)
  • AnimatorSet#setCurrentPlayTime (API Level 26)
  • androidx.core:core-animation-testing allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.

Core-Role Version 1.1.0

Версия 1.1.0

12 марта 2025 г.

androidx.core:core-role:1.1.0 is released. Version 1.1.0 contains these commits .

Версия 1.1.0-rc01

15 декабря 2021 г.

androidx.core:core-role:1.1.0-rc01 is released with no changes since 1.1.0-alpha01 . Версия 1.1.0-rc01 содержит эти коммиты.

Core-Role Version 1.1.0-alpha01

15 апреля 2020 г.

androidx.core:core-role:1.1.0-alpha01 is released. Версия 1.1.0-alpha01 содержит эти коммиты.

Изменения API

  • Added role name for system gallery.

Core-Role Version 1.0.0

Версия 1.0.0

10 февраля 2021 г.

androidx.core:core-role:1.0.0 is released. Версия 1.0.0 содержит эти коммиты.

Основные особенности версии 1.0.0

  • Added RoleManagerCompat containing the name and documentation for roles that might be available in the system.

Основная роль версии 1.0.0-rc01

15 апреля 2020 г.

androidx.core:core-role:1.0.0-rc01 is released with no changes since 1.0.0-beta01 . Версия 1.0.0-rc01 содержит эти коммиты.

Core-Role Version 1.0.0-beta01

20 ноября 2019 г.

androidx.core:core:1.0.0-beta01 is released with no changes since 1.0.0-alpha01 . Version 1.0.0-beta01 contains these commits .

Core-Role Version 1.0.0-alpha01

2 июля 2019 г.

androidx.core:core-role:1.0.0-alpha01 is released. This is the first release of androidx.core:core-role . The commits included in this initial version can be found here .

Новые возможности

  • Added RoleManagerCompat containing the name and documentation for roles that might be available in the system.

Версия 1.0.2

Версия 1.0.2

7 мая 2019 г.

androidx.core:core:1.0.2 , and androidx.core:core-ktx:1.0.2 are released. This release includes 2 commits.

The initial release of AndroidX broke backwards compatibility for Support Library compat APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).

Исправления ошибок

  • Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
  • Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )

Версия 1.0.1

Версия 1.0.1

November 7, 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

Исправления ошибок

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . b/113070424

Core-Ktx Version 1.0.1

November 5, 2018

androidx.core-ktx 1.0.1 is released with the following bug fixes:

  • Fixed bug where implementation of union and intersection were swapped.