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).
deprecated
2,575
questions
-2
votes
0
answers
14
views
npm warn deprecated while trying to run npx create-expo-app ./ (react native)
hey yall i just started learning how to code on vs code using react native for the first and im stuck ive been trying for hours and looking for solutions everywhere but nothing worked.... when i run ...
-1
votes
0
answers
19
views
Codeigniter: password_hash(): Passing null to parameter #1 ($password) of type string is deprecated
User_model.php
class User_model extends CI_Model {
public function __construct() {
parent::__construct();
$this->load->database();
}
public function insert_user($...
0
votes
0
answers
23
views
Project not starting in expo
I'm working on a mobile application using React Native with Expo. During the development phase, I ran the program in android studio. Now I am trying to run it in the Expo Go app on Android, but it won'...
1
vote
0
answers
16
views
pmplots Error in match(x, table, nomatch = 0L)/Error in deprecated()
I was using the packages pmplots and came across this error message. I can reproduce the error using its example on the website.(https://github.com/metrumresearchgroup/pmplots/blob/main/inst/examples/...
-1
votes
1
answer
39
views
What is the new method for the deprecated background & onSurface
import 'package:expensetracker/screens/home/views/home_screen.dart';
import 'package:flutter/material.dart';
class MyAppView extends StatelessWidget {
const MyAppView({super.key});
@override
...
1
vote
0
answers
19
views
Is woocommerce_product_get_weight filter hook deprecated? [duplicate]
I'm using the following PHP code in WooCommerce to hide product details on single product pages from customers, as the numbers are only for shipment calculations and aren't accurate measurements for ...
0
votes
1
answer
79
views
PopScope Flutter
Working through tutorial, earlier in the video, they explained to use popscope as willpopscope is deprecated. trying to just return to main screen, i know im missing something
code:
popscope
I was ...
0
votes
1
answer
58
views
Pylance doesn't catch all deprecated functions or classes
I recently upgraded our app's Python version from 3.8 to 3.12, which necessitated upgrading several libraries that were not compatible with the new Python version. Since then, I've encountered issues ...
-1
votes
1
answer
122
views
How to mark an *instance* of a Python class as deprecated?
I have inherited the maintenance on some API code. One of the things I need to update is some environment information (think staging, production). The old names were test and production, while the new ...
0
votes
2
answers
102
views
Deprecate a specific action in ASP.NET Core Web API using Asp.Versioning.Mvc
In my ASP.NET Core Web API project, I implemented API versioning using the Asp.Versioning.Mvc package.
When deprecating a controller, its response header returns api-deprecated-versions: 1.0. It's ...
0
votes
0
answers
24
views
Is support for ’ or the ’ symbol being removed?
I noticed I’d and don’t on a lot of website I have visited over the past couple of days. I know that this is an html entity, similar to or no-break space, and is used to indicate ...
1
vote
1
answer
36
views
C++ rebind allocator with two template parameter
I'm writing an allocator that takes alignment as a template parameter also the alignment:
template<typename T, std::align_val_t alignment>
class AlignedAllocator {
public:
using value_type = T;...
-1
votes
1
answer
48
views
How to find deprecated APIs [closed]
My organization is a startup that has a microservice architecture (Python). There are several services that expose some endpoints. The problem is that, as the startup grew, many things were dynamic, ...
0
votes
0
answers
65
views
Blazor.web.js in .NET 8 deprecated
I'm considering building a website with Blazor, and SEO is very important for me. I have tried all the Blazor WebApp variants, but PageSpeed Insights consistently flags blazor.web.js as deprecated. ...
0
votes
0
answers
17
views
How to get secondary screen size on Android API level 34 : display.getMetrics is deprecated
I am trying to fix deprecation for API level 34 of Display.getMetrics(): here is my code in my Activity class
val secondaryDisplay = mMediaRouter?.getSelectedRoute(MediaRouter....