Skip to content

Commit 2c07d48

Browse files
authored
DeviceLayout v1.4.2 (#82)
1 parent f0f3345 commit 2c07d48

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ The format of this changelog is based on
44
[Keep a Changelog](https://keepachangelog.com/), and this project adheres to
55
[Semantic Versioning](https://semver.org/).
66

7-
## Upcoming
7+
## 1.4.2 (2025-07-16)
88

99
- Removed invalid keyword constructor without type parameters for `@compdef`-ed components with type parameters, so it can be overridden without warnings
1010
- Fixed `1` character in PolyTextSansMono
1111
- Fixed autofill exclusion in DemoQPU17
1212
- Removed stale Memoize.jl dependency
13+
- Minor documentation improvements
1314

1415
## 1.4.1 (2025-07-08)
1516

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DeviceLayout"
22
uuid = "ebf59a4a-04ec-49d7-8cd4-c9382ceb8e85"
3-
version = "1.4.1"
3+
version = "1.4.2"
44

55
[deps]
66
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"

docs/src/geometrylevel.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,9 @@ nothing; # hide
9898

9999
!!! info
100100

101-
The SVG backend only draws the top-level `Cell`, so it's necessary to [`flatten`](./geometry.md#Flattening) the cell before saving. `flatten` traverses references to place all entities in a single `Cell`, applying transformations as necessary.
101+
The SVG backend only draws the top-level `Cell`, so it's necessary to [`flatten`](./geometry.md#Flattening) the cell before saving. `flatten` traverses references to place all entities in a single `Cell`, applying transformations as necessary. For further examples, we'll hide the line that flattens and saves to SVG just to display a cell.
102102

103-
(For further examples, we'll hide the line that flattens and saves to SVG just to display a cell.)
104-
105-
Of course, we can also add `Cell` references directly to a `Cell`, for example to apply a global rotation:
103+
We can also add `Cell` references directly to a `Cell`, for example to apply a global rotation:
106104

107105
```@example 1
108106
c_wrapper = Cell("wrapper", nm)
@@ -155,7 +153,7 @@ addref!(cs, p) # either render! or place! would do the same thing here
155153
refs(cs)
156154
```
157155

158-
Of course, eventually we'll want to turn this into a `Cell`. Since we were using named `SemanticMeta` layers, we just need to specify how to convert them to `GDSMeta`:
156+
Eventually, we'll still want to turn this into a `Cell`. Since we were using named `SemanticMeta` layers, we just need to specify how to convert them to `GDSMeta`:
159157

160158
```@example 1
161159
layer_record = Dict(:bridge => GDSMeta(1), :metal_negative => GDSMeta())

docs/src/units.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ If you want different behavior, then the recommended practice is to specify a un
7070
units = "PreferMicrons"
7171
```
7272

73-
then DeviceLayout will be compiled with `using .PreferMicrons` internally. (This is accomplished using [Preferences.jl](https://juliapackaging.github.io/Preferences.jl/stable/).) That means that `DeviceLayout.nm` and so on will prefer to be converted to microns, and `const UPREFERRED = DeviceLayout.μm`.
73+
then DeviceLayout will be compiled with `using .PreferMicrons` internally. (This is accomplished using [Preferences.jl](https://juliapackaging.github.io/Preferences.jl/stable/).) That means that `DeviceLayout.nm` and so on will prefer to be converted to microns, and `const UPREFERRED = DeviceLayout.μm; const PreferredUnits = PreferMicrons`.
7474

75-
Similarly, if we have the preference `units = "NoUnits"`, then DeviceLayout uses `import Unitful: nm, ...` and `const UPREFERRED = Unitful.NoUnits; const PreferredUnits = PreferMicrons` internally.
75+
Similarly, if we have the preference `units = "NoUnits"`, then DeviceLayout uses `import Unitful: nm, ...` and `const UPREFERRED = Unitful.NoUnits; const PreferredUnits = PreferNoUnits` internally.
7676

7777
```@docs
7878
DeviceLayout.UPREFERRED

0 commit comments

Comments
 (0)