Questions tagged [deprecated]

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded. Use this tag for questions about deprecated features or how to deprecate features yourself (e.g. using annotations).

In the process of authoring computer software, its standards or documentation, deprecation is a status applied to software features to indicate that they should be avoided, typically because they have been superseded. Although deprecated features remain in the software, their use may raise warning messages recommending alternative practices, and deprecation may indicate that the feature will be removed in the future.

Features are deprecated—rather than immediately removed—in order to provide backward compatibility and give programmers who have used the feature time to bring their code into compliance with the new standard.

2508 questions
1
vote
0 answers

How to change deprecated room transaction without spoiling fuctionality

So room has deprecated the beginTransaction/setTransactionSuccessful/endTransaction and allows to use runnables and callables as replacement with runInTransaction() function. But as far as i know, i can't get a return value from runnable or…
Mantas
  • 151
  • 1
  • 5
1
vote
1 answer

Issue: TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

I received an alert from IOS Apple Store. But I never used UIWebView code. My flutter version is "Flutter (Channel stable, v1.9.1+hotfix.2, on Microsoft Windows [Version 10.0.17763.737], locale en-US)". And My pubspec.yaml code is... …
Akio Alex
  • 316
  • 1
  • 9
1
vote
1 answer

HowTo Telnet by twisted.conch.telnet?

I understand, that Telnet from twisted.protocols.telnet is deprecated. However, I can't see how the newer Telnet from twisted.conch.telnet will replace it. I wrote a very simple piece of telnet authentication code, that goes like this: from…
1
vote
0 answers

SAF - Java Unzip performance very bad at file loading

I am trying to migrate my Android app to Storage Access Framework in case they deprecate file level access to the user's device storage (as it seems). My app has to unpack a zip file and the following code is intended to perform that…
P5music
  • 3,197
  • 2
  • 32
  • 81
1
vote
1 answer

archive and unarchive data: SWIFT 4

I have the following code. It's been deprecated and gives me that yellow warning. I want that to go away. Any thoughts on how to fix this? var linearScore = 0 var spreadScore = 0 func saveScores () { print("SAVE START") let scores : [Int]…
Mason Ballowe
  • 1,847
  • 2
  • 12
  • 23
1
vote
1 answer

Are the XML APIs deprecated in Authorize.Net?

I heard that authorize.net has a new API. I use an API to manage recurring payments where I send XML requests of the form shown below (in PHP, i.e. $authnet_ etc . will be replaced by actual values). Is this deprecated?
user11766741
1
vote
1 answer

Why aren't torch.functional.sigmoid and torch.nn.functional.relu deprecated like torch.nn.functional.tanh?

Now when torch.autograd.Variable is merged with torch.tensor and obsolete, why did they deprecate some functions in torch.nn.functional but not others? Namely, tanhis deprecated but not sigmoid or relu. >>> torch.__version__ '1.1.0' >>>…
user31264
  • 6,557
  • 3
  • 26
  • 40
1
vote
1 answer

How to avoid “resource cloning” warning in Chef 12, while using resource which name can't be changed

I know that when I use two resources that have the same name, I might get "deprecated feature used: resource cloning" warning in Chef 12. I could change the name of second resource to avoid resource cloning and get rid of that warning. But what if I…
Learner
  • 162
  • 11
1
vote
1 answer

similar method in Camera2 like onPreviewFrame in Camera

In class, Camera was a method like public abstract void onPreviewFrame (byte[] data, Camera camera) where I can to receivebyte[] data and change picture but Camera is depreciated at this moment Is there a method in Camera 2 like onPreviewFrame,…
user8940426
1
vote
2 answers

Fresh Angular-8 project locks to boostrap2

Just started learning Angular. Angular8 defaults to boostrap@2.0.0 when doing an npm install boostrap. npm doesn't find newer versions doing "npm install boostrap@3" for example. Where should I look to find the source of the problem? Is this…
snti984
  • 21
  • 3
1
vote
1 answer

Replacement for UIApplicationDidChangeStatusBarFrameNotification deprecated API from Apple

I'm looking for a replacement to UIApplicationDidChangeStatusBarFrameNotification but I haven't found any so far. Where does Apple store this info? Here's the official docs link -…
rak appdev
  • 717
  • 8
  • 21
1
vote
1 answer

'init(source:)' was deprecated in OS X 10.14: Core Image Kernel Language API deprecated

I recently upgraded to Xcode 10.2 and my CIColorKernel code does not work anymore. CIColorKernel function returns a nil and I get the warning - 'init(source:)' was deprecated in OS X 10.14: Core Image Kernel Language API deprecated. Is Metal Shading…
Ble21
  • 43
  • 6
1
vote
2 answers

Alternative to partial dependence plot?

as far as I can see, sklearn has deprecated the partial dependence functionality. I tried to run a simple example: from sklearn.datasets import make_friedman1 from sklearn.ensemble import GradientBoostingRegressor from sklearn.inspection import…
Rachel
  • 1,937
  • 7
  • 31
  • 58
1
vote
2 answers

How I can remove protected void finalize() method from my code

This problem with Java method protected void finalize() , I tried to look pervious questions about this but still can not figure it out how to solve it, So one of my project class is calling this method finalize() which is deprecated from Java 9,…
1
vote
2 answers

EmberJs deprecate component lifecycle hook didReceiveAttrs

For the Ember version 2.16, they have removed the arguments passed to the didReceiveAttrs component lifecycle hooks. Previously I was getting arguments in the form of an object. newAttrs: EmptyObject: { dataTestId: "test-object" items:…
Shreya Shah
  • 582
  • 1
  • 4
  • 17