Skip to content

Tink Core iOS 2.0.0

Compare
Choose a tag to compare
@belous belous released this 21 Jun 09:39
· 6 commits to master since this release
038b766

What's new

  • Minimum supported iOS version is set to iOS 13.
  • Minimum supported macOS version is set to macOS Big Sur (version 11).
  • Removed previously deprecated APIs.

API Changes

  • Renamed Statistic.resoultion property to Statistic.resolution.
  • Removed Credentials.providerID property. Use Credentials.providerName instead.
  • Removed Provider.FieldSpecification type. Use Field instead.
  • Removed Provider.authenticationUserType property and Provider.AuthenticationUserType type. Use Provider.financialServices instead.
  • Removed Provider.Field.fieldDescription property. Use Provider.Field.description instead.
  • Removed RESTCredentialsService.refresh(id:authenticate:refreshableItems:optIn:completion:) method. Use refresh(id:authenticate:refreshableItems:appURI:callbackURI:optIn:completion:) method instead.
  • Removed RESTCredentialsService.authenticate(id:completion:) method. Use authenticate(id:appURI:callbackURI:completion:) method instead.
  • Removed ActionableInsight.init(id:kind:state:title:description:created:) public initializer.
  • Removed ActionableInsight.AccountBalanceLowData.init(accountID:balance:) public initializer.
  • Removed ActionableInsight.BudgetSummary.init(budgetID:budgetPeriod:) public initializer.
  • Renamed ActionableInsight.BudgetSummary.budgetId property to ActionableInsight.BudgetSummary.budgetID.
  • Removed ActionableInsight.BudgetPeriod.init(dateInterval:spentAmount:budgetAmount:) public initializer.
  • Removed ActionableInsight.BudgetPeriodUnit.init(achievedBudgets:overspentBudgets:periodUnit:) public initializer.
  • Removed ActionableInsight.BudgetPeriodUnit.period property. Use ActionableInsight.BudgetPeriodUnit.periodUnit instead.
  • Removed ActionableInsight.LargeExpense.init(transactionID:amount:) public initializer.
  • Removed ActionableInsight.WeeklyTranscations type. Use ActionableInsight.WeeklyTransactions instead.
  • Removed ActionableInsight.WeeklyTransactions.init(transactionIDs:week:) public initializer.
  • Removed ActionableInsight.CategorySpending.init(categoryCode:spentAmount:) public initializer.
  • Removed ActionableInsight.TransactionSummary.TransactionsOverview.init(totalCount:mostCommonDescription:mostCommonCount:) public initiazlier.
  • Removed ActionableInsight.TransactionSummary.LargestExpense.init(id:date:amount:description:) public initializer.
  • Removed ActionableInsight.TransactionSummary.init(totalExpenses:commonTransactionsOverview:largestExpense:) public initializer.
  • Removed ActionableInsight.WeeklyExpensesByDay.ExpenseStatisticsByDay.init(day:expenseStatistics:) public initializer.
  • Removed ActionableInsight.WeeklyExpensesByDay.ExpenseStatisticsByDay.date property. Use ActionableInsight.WeeklyExpensesByDay.ExpenseStatisticsByDay.day property instead.
  • Removed ActionableInsight.WeeklyExpensesByDay.ExpenseStatistics.init(totalAmount:averageAmount:) public initializer.
  • Removed ActionableInsight.WeeklyExpensesByDay.init(week:expenseStatisticsByDay:) public initializer.
  • Removed ActionableInsight.WeeklyTransactionsSummary.init(week:summary:) public initializer.
  • Removed ActionableInsight.MonthlyExpensesByCategory.init(month:expensesByCategory:) public initializer.
  • Removed ActionableInsight.NewIncomeTransaction.init(transactionID:accountID:) public initializer.
  • Removed ActionableInsight.MonthlyTransactionsSummary.init(month:summary:) public initializer.
  • Removed ActionableInsight.Month.init(year:month:) public initializer.
  • Removed ActionableInsight.Week.init(year:week:) public initializer.
  • Removed ActionableInsight.Day.init(year:month:day:) public initializer.
  • Removed ActionableInsight.AccountInfo.init(id:name:) public initializer.
  • Removed ActionableInsight.SuggestSetUpSavingsAccount.init(balance:savingsAccount:currentAccount:) public initializer.
  • Removed ActionableInsight.SuggestSetUpSavingsAccount.AccountInfo type. Use ActionableInsight.AccountInfo instead.
  • Removed ActionableInsight.CreditCardLimit.init(account:availableCredit:) public initializer.
  • Removed ActionableInsight.LeftToSpendStatistics.init(createdAt:currentLeftToSpend:averageLeftToSpend:) public initializer.
  • Removed ActionableInsight.LeftToSpendMidMonth.init(month:amountDifference:leftToSpendStatistics:) public initializer.
  • Removed ActionableInsight.LeftToSpendNegativeSummary.init(month:leftToSpend:) public initializer.
  • Removed ActionableInsight.BudgetSuggestCreateTopCategory.init(categorySpending:suggestedBudgetAmount:suggestedBudgetCategoryDisplayName:) public initializer.
  • Removed ActionableInsight.LeftToSpendBeginningMonth.init(month:amountDifference:totalExpense:leftToSpendStatistics:) public initializer.
  • Removed ActionableInsight.LeftToSpendNegative.init(month:createdAt:leftToSpend:) public initializer.
  • Removed ActionableInsight.CategoryInfo.init(id:code:name:) public initializer.
  • Removed ActionableInsight.SpendingByCategoryIncreased.init(category:lastMonth:lastMonthSpending:twoMonthsAgoSpending:percentage:) public initializer.
  • Removed ActionableInsight.LeftToSpendPositiveSummarySavingsAccount.init(month:leftAmount:) public initializer.
  • Removed ActionableInsight.LeftToSpendPositiveFinalWeek.init(month:amountDifference:leftToSpendStatistics:leftToSpendPerDay:) public initializer.
  • Removed ActionableInsight.ProviderInfo.init(id:displayName:) public initializer.
  • Removed ActionableInsight.AggregationRefreshPSD2Credentials.init(credentialsID:provider:sessionExpiryDate:) public initializer.
  • Removed ActionableInsight.InsightActionData.ViewBudget.init(budgetID:budgetPeriodStartTime:) public initializer.
  • Removed ActionableInsight.InsightActionData.CreateTransfer.init(sourceAccount:destinationAccount:amount:sourceAccountNumber:destinationAccountNumber) public initializer.
  • Removed ActionableInsight.ViewTransaction.init(transactionID:) public initializer.
  • Removed ActionableInsight.CategorizeSingleExpense.init(transactionID:) public initializer.
  • Removed ActionableInsight.ViewTransactions.init(transactionIDs:) public initializer.
  • Removed ActionableInsight.CategorizeTransactions.init(transactionIDs:) public initializer.
  • Removed ActionableInsight.ViewTransactionsByCategory.init(transactionIdsByCategory:) public initializer.
  • Removed ActionableInsight.BudgetSuggestion.init(filters:amount:periodicity:) public initializer.
  • Removed refresh(id:authenticate:refreshableItems:optIn:completion:) and authenticate(id:completion:) methods from CredentialsService protocol.
  • Removed Budget.init(id:name:amount:filter:periodicity:) public initializer.
  • Removed Budget.Transaction.init(id:amount:dispensableAmount:date:description:categoryCode:accountID:) public initializer.
  • Removed BudgetDetails.init(budgetSpecification:budgetPeriods:dateInterval:totalSpentAmount:averageSpentAmount:) public initializer.
  • Removed Budget.Period.init(dateInterval:spentAmount:) public initializer.
  • Removed BudgetSummary.init(budget:budgetPeriod:) public initializer.
  • Removed Category.init(id:code:name:sortOrder:parent:) public initializer.
  • Removed Period.init(dateInterval:name:resolution:) public initializer.
  • Removed Statistic.init(description:payload:period:resoultion:kind:value:userID:) public initializer.
  • Removed SuggestTransactionsResponse.init(categorizationImprovement:categorizationLevel:clusters:) public initializer.
  • Removed Transaction.init(id:accountID:amount:categoryID:description:date:inserted:isUpcomingOrInFuture:) public initializer.
  • Removed TransactionCluster.init(categorizationImprovement:description:transactions:) public initializer.
  • Removed User.init(created:id:username:nationalID:profile:) public initializer.
  • Removed UserProfile.init(currency:locale:market:periodAdjustedDay:periodMode:timeZone:) public initializer.
  • Removed RESTActionableInsightService.selectAction(insightAction:insightID:completion:) method. Use select(_:forInsightWithID:completion:) method instead.
  • Removed RESTActionableInsightService.archive(id:completion:) method. Use select(_:forInsightWithID:completion:) method instead.
  • Removed selectAction(insightAction:insightID:completion:) method from ActionableInsightService protocol.
  • Removed archive(id:completion:) method from ActionableInsightService protocol.
  • Removed TinkCore.Environment type. Use Tink.Environment instead.