Transparency Alert! The rust swap on 1/28 didn't go as smooth as I planned it to go. #41
Pinned
dadbodgeoff
announced in
Announcements
Replies: 1 comment
-
|
Live Now Please run npm install -g driftdetect@latest Should show 0.9.40If you prefer a clean install then |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi all!
As im sitting here pushing 0.9.39 to npm now I just wanted to take a second to reflect as a developer that I made a mistake the other day when I pushed rust through to NPM a bit to early
I had worked on the swap for about 15 hours that day and I "thought" I had things good but it wasn't ready.
Few things played into part of this
With 0.9.39 here is a full list of all supported languages and frameworks
I have demo scirpts created for all of these but I DO NOT have real codebases... We may still have some small edge cases to account for within these items but just open a bug report and Ill push the fixes quick. IF you dont feel comfortable sharing the snippets
few options
Drift 0.9.39 - Supported Languages, Frameworks & ORMs
Languages (10)
All languages use tree-sitter for AST parsing with enterprise-grade feature extraction.
Web Frameworks (21)
TypeScript / JavaScript (4)
nextin package.jsonexpressin package.jsonfastifyin package.json@nestjs/corein package.jsonJava (1)
spring-bootin pom.xml or build.gradleC# (1)
Microsoft.AspNetCorein .csprojPHP (1)
laravel/frameworkin composer.jsonPython (1)
@app.get,@app.postdecoratorsGo (5)
gin.Context,gin.Engineecho.Context,echo.Echofiber.Ctx,fiber.Appchi.Router,chi.Muxhttp.HandleFunc,http.ListenAndServeRust (4)
#[actix_web::main],#[get],#[post]axum::Router,axum::extract#[rocket::main],#[get],#[post]warp::Filter,warp::pathC++ (3)
crow::SimpleApp,CROW_ROUTEboost::beast::httpQNetworkAccessManager,QHttpServerORMs & Data Access (16)
TypeScript / JavaScript (8)
@supabase/supabase-js.from(),.select(),.insert(),.update(),.delete()@prisma/clientprisma.model.findMany(),prisma.model.create()typeorm@Entity,getRepository(),Repository<T>sequelizeModel.findAll(),Model.findOne(),Model.create()drizzle-ormdb.select(),db.insert(),db.update()knexknex('table'),.where(),.insert()mongooseSchema,Model.find(),Model.findOne()pg,mysql2,better-sqlite3Python (3)
djangoModel.objects.filter(),Model.objects.get()sqlalchemysession.query(),session.add(),session.commit()supabaseC# (2)
Microsoft.EntityFrameworkCoreDbContext,.Where(),.ToList(),.SaveChanges()Dapperconnection.Query(),connection.Execute()Java (2)
spring-data-jpaJpaRepository,@Query,EntityManagerhibernateSession,@Entity,@TablePHP (2)
laravel/frameworkModel::where(),Model::find(),->save()doctrine/ormEntityManager,Repository,@ORM\EntityFramework-Specific Pattern Detectors
ASP.NET Core / C# (11 categories)
[Authorize],[AllowAnonymous], JWT Bearer, ASP.NET Identity, Policy-based auth[ValidateAntiForgeryToken][Fact],[Theory]IOptions<T>,appsettings.jsonValueTaskAddScoped,AddTransientLaravel / PHP (13 categories)
auth()->user()DB::transaction(),DB::beginTransaction()abort(), custom exceptionsLog::info(), channels, contextRefreshDatabase, factoriesconfig(),.env,Config::get()Validator::make()Spring Boot / Java (12 categories)
@Component,@Service,@Repository,@Controller@RestController,@GetMapping,@PostMapping,@RequestBody@PreAuthorize,@Secured, Spring Security configJpaRepository,@Query,@Entity,@Table@Autowired,@Inject, constructor injection@Value,@ConfigurationProperties,application.yml@Valid,@NotNull,@Size,BindingResult@ExceptionHandler,@ControllerAdvice,ResponseEntity@Slf4j, MDC context@SpringBootTest,@MockBean,@DataJpaTest@Transactional, propagation, isolation@Async,@Scheduled,CompletableFutureUniversal Pattern Detectors (101 base detectors)
These work across all supported languages:
Summary
Call Graph Analysis
All 10 languages support:
new MyClass())Geoff@codedrift.info
GeoffFromHelix on Discord
https://x.com/DadBodGeoffTV
I also set up a community discord to have better live time access since git doesn't have DMs..
https://discord.gg/33PN2Bfegz
Whatever works!
Beta Was this translation helpful? Give feedback.
All reactions