---
url: /dyad/stable/stdlib/ElectricalComponents/changelog.md
description: >-
  Dyad changelog docs.  feat!: generated code targets dyad codegen v2
  (constructor API 2) (#273) (02c075d)
---

# Changelog {#Changelog}

# 3.0.0 (2026-10-09) {#3.0.0-2026-10-09}

* feat!: generated code targets dyad codegen v2 (constructor API 2) (#273) (02c075d)

### BREAKING CHANGES {#BREAKING-CHANGES}

* generated constructors use dyad constructor API 2: overrides go through an `__overrides::Dict{String,Any}` keyed by dotted Dyad paths (`"x.initial"`) instead of trailing kwargs, and the library refuses to load against Dyad dependencies generated for a different API. Requires the codegen v2 releases of its Dyad dependencies.

## 2.2.4 (2026-10-09) {#2.2.4-2026-10-09}

### Bug Fixes {#Bug-Fixes}

* corrected the component positioning (1654626)

* remove borders and background from component icons (fe968f7)

* remove borders from semiconductor icons and reposition labels (ee281e1)

## 2.2.3 (2026-10-03) {#2.2.3-2026-10-03}

### Bug Fixes {#Bug-Fixes-2}

* release CSV 1 compat (#270) (af56bec)

## 2.2.2 (2026-08-19) {#2.2.2-2026-08-19}

### Bug Fixes {#Bug-Fixes-3}

* **test:** import SciMLBase into the generated test preamble (a7adaff), closes JuliaComputing/DyadEcosystemDependencies.jl#239 JuliaComputing/dyad-lang#1817

## 2.2.1 (2026-06-08) {#2.2.1-2026-06-08}

### Bug Fixes {#Bug-Fixes-4}

* empty commit to trigger new release (b8d85e9)

# 2.2.0 (2026-05-27) {#2.2.0-2026-05-27}

### Bug Fixes {#Bug-Fixes-5}

* re orgnized the overlapped ground1 component in ParallelResonance (e19c437)

### Features {#Features}

* corrected icon sizing and organized the models well (dacae87)

* corrected the connections and compiled with the latest 3.0 rc2 (53308d9)

## 2.1.3 (2026-05-08) {#2.1.3-2026-05-08}

### Bug Fixes {#Bug-Fixes-6}

* compiled with the latest vsix 3.0.0 rc 4 (b34ed1c)

## 2.1.2 (2026-04-22) {#2.1.2-2026-04-22}

### Bug Fixes {#Bug-Fixes-7}

* **deps:** bump lower bound for ThermalComponents (7862476)

* updated the components as per the node to port rename in electrical (7e8bb81)

## 2.1.1 (2026-04-15) {#2.1.1-2026-04-15}

### Bug Fixes {#Bug-Fixes-8}

* **deps:** remove sources (#237) (8bc5903)

# 2.1.0 (2026-04-14) {#2.1.0-2026-04-14}

### Features {#Features-2}

* rename ThermalComponents Node to HeatPort, Q to Q_flow (#234) (20f6a5c)

# 2.0.0 (2026-04-14) {#2.0.0-2026-04-14}

### BREAKING CHANGES {#BREAKING-CHANGES-2}

Update for stdlib v2 — requires BlockComponents v4, RotationalComponents v2, TranslationalComponents v2, ThermalComponents v2.

### Renames {#Renames}

#### ElectricalComponents {#ElectricalComponents}

* `ElectricalComponents.OnePort` → `ElectricalComponents.Analog.Interfaces.OnePort`

* `ElectricalComponents.TwoPin` → `ElectricalComponents.Analog.Interfaces.TwoPin`

* `ElectricalComponents.Resistor` → `ElectricalComponents.Analog.Basic.Resistor`

* `ElectricalComponents.Capacitor` → `ElectricalComponents.Analog.Basic.Capacitor`

* `ElectricalComponents.Conductor` → `ElectricalComponents.Analog.Basic.Conductor`

* `ElectricalComponents.Inductor` → `ElectricalComponents.Analog.Basic.Inductor`

* `ElectricalComponents.Ground` → `ElectricalComponents.Analog.Basic.Ground`

* `ElectricalComponents.SaturatingInductor` → `ElectricalComponents.Analog.Basic.SaturatingInductor`

* `ElectricalComponents.RotationalEMF` → `ElectricalComponents.Analog.Basic.RotationalEMF`

* `ElectricalComponents.OpAmpDetailed` → `ElectricalComponents.Analog.Basic.OpAmpDetailed`

* `ElectricalComponents.NonlinearResistor` → `ElectricalComponents.Analog.Basic.NonlinearResistor`

* `ElectricalComponents.VoltageSource` → `ElectricalComponents.Analog.Sources.VoltageSource`

* `ElectricalComponents.CurrentSource` → `ElectricalComponents.Analog.Sources.CurrentSource`

* `ElectricalComponents.VoltageSensor` → `ElectricalComponents.Analog.Sensors.VoltageSensor`

* `ElectricalComponents.CurrentSensor` → `ElectricalComponents.Analog.Sensors.CurrentSensor`

* `ElectricalComponents.PotentialSensor` → `ElectricalComponents.Analog.Sensors.PotentialSensor`

* `ElectricalComponents.PowerSensor` → `ElectricalComponents.Analog.Sensors.PowerSensor`

* `ElectricalComponents.MultiSensor` → `ElectricalComponents.Analog.Sensors.MultiSensor`

* `ElectricalComponents.ChuaCircuit` → `ElectricalComponents.Analog.Examples.ChuaCircuit`

* `ElectricalComponents.DeSauty` → `ElectricalComponents.Analog.Examples.DeSauty`

* `ElectricalComponents.ParallelGLC` → `ElectricalComponents.Analog.Examples.ParallelGLC`

* `ElectricalComponents.ParallelResonance` → `ElectricalComponents.Analog.Examples.ParallelResonance`

* `ElectricalComponents.RLCModel` → `ElectricalComponents.Analog.Examples.RLCModel`

* `ElectricalComponents.SeriesResonance` → `ElectricalComponents.Analog.Examples.SeriesResonance`

* `ElectricalComponents.SinRLC` → `ElectricalComponents.Analog.Examples.SinRLC`

#### ThermalComponents (v2.0.0) {#ThermalComponents-v2.0.0}

* `Node` → `HeatPort` (connector type)

* `heat_port.Q` → `heat_port.Q_flow` (flow variable)

* `ThermalComponents.FixedTemperature` → `ThermalComponents.Sources.FixedTemperature`

#### BlockComponents (v4.0.0) {#BlockComponents-v4.0.0}

* `BlockComponents.Sine` → `BlockComponents.Sources.Sine`

* `BlockComponents.Cosine` → `BlockComponents.Sources.Cosine`

* `BlockComponents.Ramp` → `BlockComponents.Sources.Ramp`

* `BlockComponents.Step` → `BlockComponents.Sources.Step`

* `BlockComponents.Constant` → `BlockComponents.Sources.Constant`

* `BlockComponents.SineVariableFrequencyAndAmplitude` → `BlockComponents.Sources.SineVariableFrequencyAndAmplitude`

* `BlockComponents.CosineVariableFrequencyAndAmplitude` → `BlockComponents.Sources.CosineVariableFrequencyAndAmplitude`

#### RotationalComponents (v2.0.0) {#RotationalComponents-v2.0.0}

* `RotationalComponents.Fixed` → `RotationalComponents.Components.Fixed`

* `RotationalComponents.Inertia` → `RotationalComponents.Components.Inertia`

#### TranslationalComponents (v2.0.0) {#TranslationalComponents-v2.0.0}

* `TranslationalComponents.Fixed` → `TranslationalComponents.Components.Fixed`

* `TranslationalComponents.Mass` → `TranslationalComponents.Components.Mass`

# 1.8.0 (2026-04-12) {#1.8.0-2026-04-12}

### Bug Fixes {#Bug-Fixes-9}

* compute N_L from N via final structural parameter\n\nN_L is now a final structural parameter computed as div(N\_(N+1), 2),\nmatching the MSL M_Transformer dimensioning pattern. Users only need\nto specify N and L — N\*L is derived automatically. (1d01d6a)

* use vector L parameter for MTransformer inductance matrix (matches MSL) (42ea5f3)

### Features {#Features-3}

* added an SVG image for the M_Transformer (d6eba57)

* Added the M_transformer model and a test case (56061e8)

* updated the M_transformer model with the latest extension , added the test model and its  metadata (1e29a91)

# 1.7.0 (2026-04-11) {#1.7.0-2026-04-11}

### Features {#Features-4}

* added controlled sources blocks (428104a)

* svg optimized the icons (be35f02)

# 1.6.0 (2026-04-11) {#1.6.0-2026-04-11}

### Features {#Features-5}

* added a Transformer model , test case as per msl , testing too (19dd0d5)

# 1.5.0 (2026-04-11) {#1.5.0-2026-04-11}

### Features {#Features-6}

* added the variable resistor model , test case (7723b66)

* added Variable Inductor , Variable Capacitor , Variable Conductor , along with test case (ad0b637)

# 1.4.0 (2026-04-11) {#1.4.0-2026-04-11}

### Bug Fixes {#Bug-Fixes-10}

* corrected the port position and optimized the svg (b2f10f8)

* optimize the svg (091624c)

### Features {#Features-7}

* add Potentiometer component with test harness and snapshots (fec3599)

* add Potentiometer icon, use filled thermal port for heat_port (b225faf)

# 1.3.0 (2026-04-11) {#1.3.0-2026-04-11}

### Features {#Features-8}

* Added Translational EMF model (41d0d64)

# 1.2.0 (2026-04-10) {#1.2.0-2026-04-10}

### Bug Fixes {#Bug-Fixes-11}

* rename stale RotationalEMFTest comparison PNGs to RotationalEMF (3968f84)

### Features {#Features-9}

* Restructure library to match MSL Electrical.Analog layout (27e90af)

## 1.1.13 (2026-03-24) {#1.1.13-2026-03-24}

### Bug Fixes {#Bug-Fixes-12}

* change solver for op-amp test (#205) (efc9287)

## 1.1.12 (2026-02-23) {#1.1.12-2026-02-23}

### Bug Fixes {#Bug-Fixes-13}

* regenerate code (#192) (db8efbe)

## 1.1.11 (2026-02-21) {#1.1.11-2026-02-21}

### Bug Fixes {#Bug-Fixes-14}

* remove \[sources] from Project.toml (2230caf)

## 1.1.10 (2026-02-21) {#1.1.10-2026-02-21}

### Bug Fixes {#Bug-Fixes-15}

* remove excess initial equation (3f83608)

## 1.1.9 (2026-02-10) {#1.1.9-2026-02-10}

### Bug Fixes {#Bug-Fixes-16}

* broken markdown formatting in MultiSensor doc string (#177) (b02a269)

## 1.1.8 (2026-01-29) {#1.1.8-2026-01-29}

### Bug Fixes {#Bug-Fixes-17}

* **deps:** update DED (#186) (d585658)

## 1.1.7 (2026-01-22) {#1.1.7-2026-01-22}

### Bug Fixes {#Bug-Fixes-18}

* **deps:** update dependency DyadEcosystemDependencies to v0.10.7 (#185) (00c09eb)

## 1.1.6 (2026-01-22) {#1.1.6-2026-01-22}

### Bug Fixes {#Bug-Fixes-19}

* add electrical grounding to RotationalEMF (6334ede)

* equal and opposite torque for RotationalEMF housing (f81f312)

## 1.1.5 (2025-12-19) {#1.1.5-2025-12-19}

### Bug Fixes {#Bug-Fixes-20}

* **icons:** add missing icons to two system components (9404061)

## 1.1.4 (2025-12-17) {#1.1.4-2025-12-17}

### Bug Fixes {#Bug-Fixes-21}

* **test:** update snapshot results and generated code (#181) (4fa82c5)

## 1.1.3 (2025-12-11) {#1.1.3-2025-12-11}

### Bug Fixes {#Bug-Fixes-22}

* **icons:** fixed and added some icons (8bb9da5)

## 1.1.2 (2025-12-10) {#1.1.2-2025-12-10}

### Bug Fixes {#Bug-Fixes-23}

* **deps:** update dependency DyadEcosystemDependencies to v0.10.6 (#172) (db48bb3)

## 1.1.1 (2025-12-03) {#1.1.1-2025-12-03}

### Bug Fixes {#Bug-Fixes-24}

* **deps:** bump BlockComponents compat to include v3 (#176) (eb679ce)

# 1.1.0 (2025-11-11) {#1.1.0-2025-11-11}

### Features {#Features-10}

* **deps:** update dependency BlockComponents to v2.8.1 (#167) (214962e)

# 1.0.0 (2025-11-10) {#1.0.0-2025-11-10}

## 0.20.4 (2025-11-04) {#0.20.4-2025-11-04}

### Bug Fixes {#Bug-Fixes-25}

* **deps:** update dependency BlockComponents to v2.7.1 (#161) (2a104e0)

## 0.20.3 (2025-11-04) {#0.20.3-2025-11-04}

### Bug Fixes {#Bug-Fixes-26}

* reset version (280b5b5)

# 0.21.0 (2025-10-28) {#0.21.0-2025-10-28}

### Bug Fixes {#Bug-Fixes-27}

* annotate ParallelGLC as an `example` (c0ba8d6)

* **icon:** add an arrow (from p to n) to the CurrentSource (81c7b04)

* **icon:** add SaturatingInductor's icon-metadata and label (bb06975)

### Features {#Features-11}

* **icons:** update missing icons (519275c)

## 0.20.1 (2025-10-17) {#0.20.1-2025-10-17}

### Bug Fixes {#Bug-Fixes-28}

* **deps:** update RotationalComponents to 0.9.0 (#162) (a6340d2)

# 0.20.0 (2025-10-17) {#0.20.0-2025-10-17}

### Features {#Features-12}

* **deps:** update Dyad ecosystem and component libraries (#156) (3c5f494)

## 0.19.6 (2025-10-10) {#0.19.6-2025-10-10}

### Bug Fixes {#Bug-Fixes-29}

* generate code with Dyad@1.1.0 (a97562c)

* include generated module.jl (fa68c60)

## 0.19.5 (2025-09-16) {#0.19.5-2025-09-16}

### Bug Fixes {#Bug-Fixes-30}

* **deps:** update Dyad ecosystem and component libraries (#155) (b622c7a)

## 0.19.4 (2025-08-20) {#0.19.4-2025-08-20}

### Bug Fixes {#Bug-Fixes-31}

* **deps:** update Dyad ecosystem and component libraries (#153) (57a4e72)

## 0.19.3 (2025-08-16) {#0.19.3-2025-08-16}

### Bug Fixes {#Bug-Fixes-32}

* **deps:** update Dyad ecosystem and component libraries (#152) (d7b09ca)

## 0.19.2 (2025-08-15) {#0.19.2-2025-08-15}

### Bug Fixes {#Bug-Fixes-33}

* **deps:** update Dyad ecosystem and component libraries (52c72f3)

## 0.19.1 (2025-08-14) {#0.19.1-2025-08-14}

### Bug Fixes {#Bug-Fixes-34}

* generate code with dyad-studio-0.61.0-rc5 (5a54fe2)

* update code with dyad-studio-0.61.0-rc5 (5e04e51)

# 0.19.0 (2025-08-08) {#0.19.0-2025-08-08}

### Features {#Features-13}

* **deps:** update Dyad ecosystem and component libraries (#140) (6fd1066)

## 0.18.4 (2025-08-05) {#0.18.4-2025-08-05}

### Bug Fixes {#Bug-Fixes-35}

* adjust relative tolerance for amplifier example (78f163e)

### Reverts {#Reverts}

* no need to change compats in Project.toml, since these changes are all backwards compatible (9da5316)

## 0.18.3 (2025-08-04) {#0.18.3-2025-08-04}

### Bug Fixes {#Bug-Fixes-36}

* initial equations not present (#146) (35a12c3)

## 0.18.2 (2025-06-17) {#0.18.2-2025-06-17}

### Bug Fixes {#Bug-Fixes-37}

* unclosed inline equation (6e0f111)

* use inline math (b9f8131)

## 0.18.1 (2025-06-16) {#0.18.1-2025-06-16}

### Bug Fixes {#Bug-Fixes-38}

* **deps:** add Markdown as a dep (#138) (8558b91)

# 0.18.0 (2025-06-15) {#0.18.0-2025-06-15}

### Features {#Features-14}

* **deps:** update Dyad ecosystem and component libraries (#137) (53c84c2)

# 0.17.0 (2025-06-10) {#0.17.0-2025-06-10}

### Features {#Features-15}

* add OnePort (b04b804)

* match TwoPin with Modelica's TwoPin (762c1b4)

## 0.16.3 (2025-06-09) {#0.16.3-2025-06-09}

### Bug Fixes {#Bug-Fixes-39}

* **deps:** update dependency RotationalComponents to v0.6.4 (#132) (3627693)

## 0.16.2 (2025-06-07) {#0.16.2-2025-06-07}

### Bug Fixes {#Bug-Fixes-40}

* **deps:** update Dyad ecosystem and component libraries (#126) (ab52824)

## 0.16.1 (2025-06-06) {#0.16.1-2025-06-06}

### Bug Fixes {#Bug-Fixes-41}

* trigger a patch release for README (9fe3fde)

# 0.16.0 (2025-05-29) {#0.16.0-2025-05-29}

### Features {#Features-16}

* **deps:** update Dyad ecosystem and component libraries (#119) (ae980e7)

## 0.15.1 (2025-05-28) {#0.15.1-2025-05-28}

### Bug Fixes {#Bug-Fixes-42}

* trigger version bump (1502532)

# 0.15.0 (2025-05-22) {#0.15.0-2025-05-22}

### Bug Fixes {#Bug-Fixes-43}

* **deps:** rename JuliaSimBase to DyadInterface (f6ec7c7)

### Features {#Features-17}

* **deps:** update Dyad ecosystem and component libraries (754084b)

# 0.14.0 (2025-05-12) {#0.14.0-2025-05-12}

### Bug Fixes {#Bug-Fixes-44}

* **deps:** rename JuliaSimCore to DyadEcosystemDependencies (0d99df6)

* **deps:** update Block to v2 (615f6b1)

* **deps:** update Rotational to v0.4 (2ddd26c)

* use TransientAnalysis in SimpleRLCTransient (7d4a30d)

### Features {#Features-18}

* **generated:** update generated files (ef15894)

* **metadata:** rename the icon path with `dyad` (b9c11e5)

* migrate JSML files to `dyad` (af29dca)

* rename compiler to `dyad` from `juliasim` (db6a0a0)

## 0.13.1 (2025-05-09) {#0.13.1-2025-05-09}

### Bug Fixes {#Bug-Fixes-45}

* **deps:** add compat for RotationalComp (d085bd0)

* **deps:** update JuliaSimCore to 0.6.1 (7d7dfe7)

* drop DeSautyOptimize (95c29e1)

* use TransientAnalysis (d9396f5)

# 0.13.0 (2025-04-18) {#0.13.0-2025-04-18}

### Bug Fixes {#Bug-Fixes-46}

* Add default value for rot_emf.k (6644936)

* remove unecessary tauElectrical, remove the default value for parameter k (31f5bc7)

### Features {#Features-19}

* add Rotational EMF test signals (bcea3fd)

* add Rotational Inertia, fix GUI annotations, fix test signals (bbd6a9b)

* add RotationalEMF, and the respective test (6731102)

## 0.12.1 (2025-04-08) {#0.12.1-2025-04-08}

### Bug Fixes {#Bug-Fixes-47}

* **deps:** update JuliaSimCore to 0.5.1 (df8f5fd)

# 0.12.0 (2025-03-26) {#0.12.0-2025-03-26}

### Bug Fixes {#Bug-Fixes-48}

* add correct syntax for `[@register](https://github.com/register)_symbolic` in `utils.jl` (67971c9)

* comment out [@register](https://github.com/register) in utils.jl (03af7b5)

* correct negative pin GUI annotations naming in opamp_detailed "pos" => "neg" (b5e2448)

* remove [@register](https://github.com/register)\_symbolic from utils.jl (466c6a3)

### Features {#Features-20}

* add GUI annotations for amp with opampdetailed (dd1b830)

* add position metadata for opamp_detailed (3e5d89d)

* add positions/annotations for amp with opamp detailed (38f5f91)

* add signals for Amplifier with op amp detailed (3764514)

* add signals metadata to support future JSML feature (eb091f0)

* annotations for amp with opamp | not complete (d8fcddd)

# 0.11.0 (2025-03-26) {#0.11.0-2025-03-26}

### Features {#Features-21}

* add GUI annotations for parallel and series resonance (abe5a9a)

* add signals for Parallel and Series resonance (98e730a)

## 0.10.3 (2025-03-18) {#0.10.3-2025-03-18}

### Bug Fixes {#Bug-Fixes-49}

* **deps:** update JuliaSimCore to 0.5.0 (0440233)

* **generated:** cache components (db00ba7)

## 0.10.2 (2025-03-13) {#0.10.2-2025-03-13}

### Bug Fixes {#Bug-Fixes-50}

* limit no. of junctions to 1 in ChuaCircuit (6ad3175)

## 0.10.1 (2025-02-28) {#0.10.1-2025-02-28}

### Bug Fixes {#Bug-Fixes-51}

* trigger a patch release to update JuliaSimCore to 0.3.1 (aa12691)

# 0.10.0 (2025-02-10) {#0.10.0-2025-02-10}

### Features {#Features-22}

* add Nonlinear Resistor, Chua Circuit, snapshot (fc2687b)

## 0.9.10 (2025-02-05) {#0.9.10-2025-02-05}

### Bug Fixes {#Bug-Fixes-52}

* declare `example` components (5f69c6f)

* declare `test` components (c4f26b4)

## 0.9.9 (2025-01-31) {#0.9.9-2025-01-31}

### Bug Fixes {#Bug-Fixes-53}

* update generated analyses (ff80c62)

## 0.9.8 (2025-01-30) {#0.9.8-2025-01-30}

### Bug Fixes {#Bug-Fixes-54}

* trigger a patch release for documentation (b409ab7)

## 0.9.7 (2025-01-24) {#0.9.7-2025-01-24}

### Bug Fixes {#Bug-Fixes-55}

* **deps:** ensure `deps` are in alphabetical order (76d7db9)

* **extras:** ensure `extras` are in alphabetical order as well (76ad33e)

* generated code with jsml-kernel@0.1.31 (6cf3ce9)

* trigger patch release for updating JuliaSimCore to 0.2.0 (2b3e4b7)
