Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit c056c77

Browse files
author
Franco Correa
authored
Release 0.12.2 (#1407)
- [x] Make sure `stable` branch does not exist (on both github and local, delete it if it does) - [x] Pull master - [x] Create new local branch `stable` - [x] Update changelog - [x] Update root package version (only [root package.json](https://github.com/auth0/cosmos/blob/master/package.json#L3)) - [x] Commit and push (**pushing to stable branch with new version will trigger jenkins release task**) - [x] Wait for [jenkins task](https://tools-jenkins-us-west-2.forge.auth0.net/blue/organizations/jenkins/cosmos/activity/) to be completed (confirm it published the version you wanted under `npm run scripts deploy`) - [x] Run `yarn scripts deploy.catchup` on local `stable` branch and push - [x] Merge PR to master - [ ] Go to [zeit dashboard](https://zeit.co/dashboard/deployments) and create an alias for the latest deployment) (example: `now alias cosmos-rzbpuowrox.now.sh auth0-cosmos-0-8-0.now.sh --team=auth0-design`) - [ ] Create a [new release on github](https://github.com/auth0/cosmos/releases) - [ ] Delete stable branch on github - [ ] Announce it on the slack channel: [design-system](https://auth0.slack.com/messages/C5ZK0DD8X/)
1 parent 7bda0c2 commit c056c77

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

changelog.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). Currently, this project is using an `0.x` versioning system to indicate its preview status. As such, it does _not_ currently adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). Once we reach production readiness, we will follow semver beginning with our `1.0` release. In the meantime, please read this changelog for information on breaking changes!
66

7+
## 0.12.2 [January 9, 2019]
8+
9+
### Fixed
10+
11+
- Icon: Add “application” icon. [#1401]
12+
- Alternate implementation for uniqueId: This improves snapshot testing experience by removing random hashes from components attributes. [#1374] (Warning: You may need to update some snapshots and remove any uniqueId mock.)
13+
- Breadcrumb: Fix automation attribute naming. [#1309] (Warning: You may need to update some tests.)
14+
15+
**Breadcrumb change**
16+
17+
We have renamed the Breadcrumb.Link automation attribute from this:
18+
`<a data-cosmos-key="link">clicky</a>`
19+
to this:
20+
`<a data-cosmos-key="breadcrumb.link">clicky</a>`
21+
22+
Please update your tests (if any) accordingly.
23+
24+
**UniqueId helper change**
25+
26+
In the past, we used to randomly generate an id for some attributes that were required to link components.
27+
Now we're using a global counter, which will lead to improve snapshot testing since each test is run in an isolated environment, and then each test run will have a fresh and pure start.
28+
29+
If you were using a mock for `uniqueId` as a workaround:
30+
31+
```js
32+
jest.mock('../../../core/components/_helpers/uniqueId', () => () => 'abcdef1234')
33+
```
34+
35+
Please, remove it since is no longer needed.
36+
737
## 0.12.1 [January 8, 2019]
838

939
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cosmos",
3-
"version": "0.12.1",
3+
"version": "0.12.2",
44
"engine": "^7.0.0",
55
"private": true,
66
"workspaces": [

0 commit comments

Comments
 (0)