From 3ea60ed55f041f3e7fc10a8bd2932eebfcf643b9 Mon Sep 17 00:00:00 2001 From: David M Fobes Date: Mon, 1 Jul 2019 09:58:57 -0600 Subject: [PATCH] ADD: Depreciation warnings, update package version (#147) Adds package name depreciation warnings (TPPMs -> PowerModelsDistribution.jl) Updates to v0.3.2 (final TPPMs version) --- CHANGELOG.md | 4 ++-- Project.toml | 2 +- README.md | 2 ++ src/ThreePhasePowerModels.jl | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e1977b29..644bac866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ ThreePhasePowerModels.jl Change Log =================================== -### staged -- none +### v0.3.2 +- Final version of ThreePhasePowerModels.jl before name change to PowerModelsDistribution.jl (adds depreciation warnings) ### v0.3.1 - Allow for arbitrarily named sourcebus diff --git a/Project.toml b/Project.toml index 349c1f6c3..0602671d3 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "ThreePhasePowerModels" uuid = "8503087a-994b-5095-bd6e-f54267f2dd19" authors = ["David M Fobes ", "Carleton Coffrin"] repo = "https://github.com/lanl-ansi/ThreePhasePowerModels.jl.git" -version = "0.3.1" +version = "0.3.2" [deps] InfrastructureModels = "2030c09a-7f63-5d83-885d-db604e0e9cc0" diff --git a/README.md b/README.md index ce17677d4..d9cd00224 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # ThreePhasePowerModels.jl +## DEPRECIATED :: The ThreePhasePowerModels.jl package name is depreciated, v0.3.2 is the final release version with this name. Going forward, please use PowerModelsDistribution.jl (https://github.com/lanl-ansi/PowerModelsDistribution.jl). + Release: [![docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://lanl-ansi.github.io/ThreePhasePowerModels.jl/stable/) diff --git a/src/ThreePhasePowerModels.jl b/src/ThreePhasePowerModels.jl index 9643b6cda..db2e28bd9 100644 --- a/src/ThreePhasePowerModels.jl +++ b/src/ThreePhasePowerModels.jl @@ -11,6 +11,7 @@ const PMs = PowerModels function __init__() global LOGGER = Memento.getlogger(PowerModels) + Memento.warn(LOGGER, "DEPRECIATED :: ThreePhasePowerModels.jl is depreciated, v0.3.2 is the final version with this package name. PowerModelsDistribution.jl (https://github.com/lanl-ansi/PowerModelsDistribution.jl) is the new name of this package going forward.") end include("core/ref.jl")