Skip to content

Commit

Permalink
Build:1.6.0 (#188)
Browse files Browse the repository at this point in the history
* update version

* updated changelogs
  • Loading branch information
patricia-causalens committed Jan 30, 2024
1 parent c5015b6 commit 20a72f8
Show file tree
Hide file tree
Showing 13 changed files with 271 additions and 301 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test:

# Version all the main packages in lockstep as a patch - run pnpm i and lock to update the lockfiles accordingly
version:
@lerna version patch --no-private --no-git-tag-version --force-publish --exact --yes && pnpm i --lockfile-only && borg version patch && borg lock
@lerna version minor --no-private --no-git-tag-version --force-publish --exact --yes && pnpm i --lockfile-only && borg version minor && borg lock

# Run a borg script without using borg itself
run:
Expand Down
2 changes: 1 addition & 1 deletion borg.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.5.3"
version = "1.6.0"
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"npmClient": "pnpm",
"version": "1.5.3",
"version": "1.6.0",
"packages": [
"packages/*"
],
Expand Down
2 changes: 1 addition & 1 deletion packages/create-dara-app/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ license = "Apache-2.0"
name = "create-dara-app"
readme = "README.md"
repository = "https://github.com/causalens/dara"
version = "1.5.3"
version = "1.6.0"

[tool.poetry.dependencies]
click = "=8.1.3"
Expand Down
17 changes: 11 additions & 6 deletions packages/dara-components/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
title: Changelog
---

## NEXT
## 1.6.0

- Renamed `align-items` to `align` in `Grid.Column` to be more consistent with other layout components.
- Added `justify` and `align` shortcut props to `Card`, `Modal`, `Form`, `Grid`, `Grid.Row`, `Grid.Column`.
**Graphs**
- Added support for tiered layout in `FcoseLayout`, `PlanarLayout`, `SpringLayout` and `MarketingLayout`. It allows for nodes to be placed on tiers following some hierarchy and to further define requirements of nodes positions within that tier.
- If `TimeSeriesCausalGraph` object is passed to `CausalGraphViewer` and no tiers are defines, it will use `time_lag` and `variable_name` to define the `order_nodes_by` and `group` respectively.
- Added `simultaneous_edge_node_selection` to `CausalGraphViewer`, when set to True, the selected node will not be reset when an edge is chosen and vice versa.
- Fixed an issue where if setting an initial number value to `Select` and it had a list of `Item`s, then the value showed was the number instead of the corresponding label to that value.
- Set `Bokeh` default `min-height` and `min-width` to `350px`.
- Added `layering_algorithm` prop to `PlanarLayout`. This allows users to choose between `LayeringAlgorithm.SIMPLEX` and `LayeringAlgorithm.LONGEST_PATH` for the layering step of the d3-dag sugyiama algorithm.

**Plotting**
- Set `Bokeh` default `min-height` and `min-width` to `350px`.

**Common**
- **Renamed:** `align-items` to `align` in `Grid.Column` to be more consistent with other layout components.
- Added `justify` and `align` shortcut props to `Card`, `Modal`, `Form`, `Grid`, `Grid.Row`, `Grid.Column`.
- Fixed an issue where if setting an initial number value to `Select` and it had a list of `Item`s, then the value showed was the number instead of the corresponding label to that value.
- Fixed an issue where if selecting the start or end date in a `Datepicker` always resulted in the user selecting the whole range instead of the selected input.
- Fixed an issue where the filled button in the dark theme was using the wrong color, now it uses `blue1` color.
- `Button` text now uses `blue1` color.

## 1.5.2

Expand Down
4 changes: 2 additions & 2 deletions packages/dara-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@darajs/components",
"version": "1.5.3",
"version": "1.6.0",
"description": "Components for the Dara framework",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@bokeh/bokehjs": "~3.1.1",
"@darajs/core": "1.5.3",
"@darajs/core": "1.6.0",
"@darajs/styled-components": "~1.5.2",
"@darajs/ui-causal-graph-editor": "~1.5.2",
"@darajs/ui-code-editor": "~1.5.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/dara-components/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ license = "Apache-2.0"
name = "dara-components"
readme = "README.md"
repository = "https://github.com/causalens/dara"
version = "1.5.3"
version = "1.6.0"

[[tool.poetry.packages]]
include = "dara"

[tool.poetry.dependencies]
bokeh = ">=3.1.0, <3.2.0"
cai-causal-graph = ">=0.3.6"
dara-core = "=1.5.3"
dara-core = "=1.6.0"
dill = ">=0.3.0, <0.4.0"
matplotlib = ">=2.0.0"
pandas = ">=1.1.0, <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/dara-core/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Changelog
---

# NEXT
## 1.6.0

- Fixed an issue where import discovery would consider the same symbols repeatedly causing it to run much longer than necessary
- `suspend_render` setting on `fallback` provided to components is now inherited by all children of the component which the fallback is provided to, unless overriden by a different value.
Expand Down
2 changes: 1 addition & 1 deletion packages/dara-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@darajs/core",
"version": "1.5.3",
"version": "1.6.0",
"description": "Dara Framework core",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/dara-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ license = "Apache-2.0"
name = "dara-core"
readme = "README.md"
repository = "https://github.com/causalens/dara"
version = "1.5.3"
version = "1.6.0"

[[tool.poetry.packages]]
include = "dara"
Expand Down Expand Up @@ -62,11 +62,11 @@ xlrd = "*"

[tool.poetry.dependencies.create-dara-app]
optional = true
version = "=1.5.3"
version = "=1.6.0"

[tool.poetry.dependencies.dara-components]
optional = true
version = "=1.5.3"
version = "=1.6.0"

[tool.poetry.dependencies.uvicorn]
extras = ["standard"]
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20a72f8

Please sign in to comment.