Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release next v14.x #1759

Merged
merged 54 commits into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
aafcdec
fix: update dependency puppeteer to v9
renovate-bot Apr 21, 2021
e8288da
Merge #1758
bors[bot] Apr 21, 2021
9d1816a
fix(apollo-mock-server): update package graphql-tag
Apr 26, 2021
95131fa
chore: pin graphql-tag in canarist tests
Apr 27, 2021
0cfad7b
Merge #1767
bors[bot] Apr 27, 2021
728aaf8
chore: lock file maintenance
renovate-bot Apr 27, 2021
69223c5
docs(webpack): document known drawbacks and limitations of esbuild
jhiode Apr 20, 2021
a656312
Merge #1764
bors[bot] Apr 27, 2021
e1b89af
fix: allow custom apollo cache
KnisterPeter Apr 27, 2021
5a82bc9
fix: update dependency fs-extra to v10
renovate-bot May 3, 2021
467ae09
fix: update dependency dotenv to v9
renovate-bot May 5, 2021
38c0cad
Merge #1782
bors[bot] May 12, 2021
01fad94
Merge #1779
bors[bot] May 12, 2021
99fb4c6
fix: update dependency yargs to v17
renovate-bot May 12, 2021
8b31e1f
Merge #1772
bors[bot] May 12, 2021
8c3acfb
feat(react): switch to the new JSX transform
Apr 27, 2021
d621a19
test(spec): check new JSX transform feature
Apr 27, 2021
7b6193b
docs: remove superfluous import of React
Apr 28, 2021
31ba7e9
docs(react): mention support of JSX Transform
Apr 28, 2021
41e2a27
docs(webpack): mention missing support of JSX Transform by ESBuild
Apr 28, 2021
8f158b9
chore: add comand to roll back release commit
May 28, 2021
a8a6cdb
chore: update dependency lint-staged to v11
renovate-bot May 28, 2021
d657fda
fix(debug): provide method extend in the browser
May 28, 2021
8e206ed
fix: update dependency dotenv to v10
renovate-bot May 28, 2021
2fba67c
Merge #1837
bors[bot] May 28, 2021
dfaa00b
fix: update dependency http-proxy-middleware to v2
renovate-bot May 28, 2021
2defe26
fix: update dependency optimize-css-assets-webpack-plugin to v6
renovate-bot May 28, 2021
1847985
fix(jest-preset): set Jest test environment explicitly
May 28, 2021
07ffb06
fix: update dependency import-from to v4
renovate-bot Jun 2, 2021
8bc5a64
fix: update dependency web-vitals to v2
renovate-bot Jun 2, 2021
e99cf86
Merge #1840
bors[bot] Jun 2, 2021
8e2527c
Merge #1843
bors[bot] Jun 2, 2021
38f6604
Merge #1842
bors[bot] Jun 2, 2021
8ac00a0
Merge #1849
bors[bot] Jun 2, 2021
7c2164c
fix: update dependency webpack-dev-middleware to v5
renovate-bot Jun 2, 2021
4a7b500
Merge #1852
bors[bot] Jun 3, 2021
bffb53f
fix: update dependency nocache to v3
renovate-bot Jun 3, 2021
ce47024
Merge #1854
bors[bot] Jun 4, 2021
65ec01f
Merge #1850
bors[bot] Jun 4, 2021
f35c9ca
chore: lock file maintenance
renovate-bot Jun 4, 2021
32c8a6a
style: please Prettier
Jun 7, 2021
e7062e2
Merge #1774
bors[bot] Jun 7, 2021
8fe3351
fix: update dependency puppeteer to v10
renovate-bot Jun 7, 2021
31fd69b
feat: update Jest to version 27
May 31, 2021
20f6ed3
fix(jest-preset): use correct import of babel-jest package
May 31, 2021
4a8cf18
feat(jest-preset): enable ESM support for Typescript
May 31, 2021
bbf6e43
chore: pin main Jest packages to v26 in Canarist tests
Jun 8, 2021
1544152
Merge #1855
bors[bot] Jun 8, 2021
cb1bdc2
Merge #1846
bors[bot] Jun 8, 2021
7dbfbb0
chore: lock file maintenance
renovate-bot Jun 14, 2021
30d1ac6
Merge #1862
bors[bot] Jun 14, 2021
dcbb07a
chore: downgrade Jest to version 26
Jun 10, 2021
a8d3a86
Merge #1857
bors[bot] Jun 14, 2021
ca09c6e
chore: release v14.2.0
hops-release-bot[bot] Jun 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/release-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ labels:
release-pr-branch-pattern: 'release-bot/next-%s'

prepare-release-command: 'yarn release:prepare'

rollback-release-command: 'yarn release:rollback'
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [14.2.0](https://github.com/xing/hops/compare/v14.1.0...v14.2.0) (2021-06-14)


### Bug Fixes

* **jest-preset:** use correct import of babel-jest package ([20f6ed3](https://github.com/xing/hops/commit/20f6ed3f2b87e752f56eb02404c26fdea8d78dd4))
* allow custom apollo cache ([e1b89af](https://github.com/xing/hops/commit/e1b89af9a869eb0aa843d73afa04edec46bc596d))
* update dependency dotenv to v10 ([8e206ed](https://github.com/xing/hops/commit/8e206ed06a06ed0779afd165a6931be210be1a28))
* update dependency dotenv to v9 ([467ae09](https://github.com/xing/hops/commit/467ae09c8f356209a50f88e6b80a46e0939d3b3d))
* update dependency fs-extra to v10 ([5a82bc9](https://github.com/xing/hops/commit/5a82bc909d9b16511d1761d6b3673aedfbe79088))
* update dependency http-proxy-middleware to v2 ([dfaa00b](https://github.com/xing/hops/commit/dfaa00b31fc798b3f2caf0b057b10646705cac6d))
* update dependency import-from to v4 ([07ffb06](https://github.com/xing/hops/commit/07ffb06b6c132b247d0ce6ca2807d28677827bff))
* update dependency nocache to v3 ([bffb53f](https://github.com/xing/hops/commit/bffb53f2cfd85f5977db5d871b8b703a29f4860b))
* update dependency optimize-css-assets-webpack-plugin to v6 ([2defe26](https://github.com/xing/hops/commit/2defe2627163632ca1195ee05c71bc619b3b1912))
* update dependency puppeteer to v10 ([8fe3351](https://github.com/xing/hops/commit/8fe3351c5220255358005d3b60fe1e9d7a325e88))
* update dependency web-vitals to v2 ([8bc5a64](https://github.com/xing/hops/commit/8bc5a64a2617d1e50a973bf8fbb33baf8d58dcd5))
* update dependency webpack-dev-middleware to v5 ([7c2164c](https://github.com/xing/hops/commit/7c2164cc3f04e510cdffc9e6e09145ce5400aeb5))
* **apollo-mock-server:** update package graphql-tag ([9d1816a](https://github.com/xing/hops/commit/9d1816aa250cdefbe84f523bd6577b2f69808023))
* **debug:** provide method extend in the browser ([d657fda](https://github.com/xing/hops/commit/d657fdaa0616a401d4935302c42b3fbd1dfcae25))
* **jest-preset:** set Jest test environment explicitly ([1847985](https://github.com/xing/hops/commit/1847985e41d152788db447aad878a1b56246906d))
* update dependency puppeteer to v9 ([aafcdec](https://github.com/xing/hops/commit/aafcdec798cbcb9a58f7a824be3ff13c3d3ba9f4))
* update dependency yargs to v17 ([99fb4c6](https://github.com/xing/hops/commit/99fb4c6c52ff20722b169cfc7d2d23eedde07f11))


### Features

* **jest-preset:** enable ESM support for Typescript ([4a8cf18](https://github.com/xing/hops/commit/4a8cf183f9eab34f72b4daf568ed3108b20ba238))
* update Jest to version 27 ([31fd69b](https://github.com/xing/hops/commit/31fd69b23fd5f1dd0e0cfce46d7a8db173eb9361)), closes [#1838](https://github.com/xing/hops/issues/1838) [#1839](https://github.com/xing/hops/issues/1839) [#1761](https://github.com/xing/hops/issues/1761)
* **react:** switch to the new JSX transform ([8c3acfb](https://github.com/xing/hops/commit/8c3acfbb9791b7b83122cea61edd1dab7057d8cb))





# [14.1.0](https://github.com/xing/hops/compare/v14.0.1...v14.1.0) (2021-04-20)


Expand Down
16 changes: 0 additions & 16 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ The main export of the entry file must be the result of `hops`'s [`render()`](#r

```javascript
import { render } from 'hops';
import React from 'react';

export default render(<h1>Hello World!</h1>);
```
Expand All @@ -136,7 +135,6 @@ Hops ships with [`react-router`](https://reacttraining.com/react-router/web/guid

```javascript
import { render, Miss } from 'hops';
import React from 'react';
import { Route, Switch } from 'react-router-dom';

const Home = () => <h1>Home</h1>;
Expand Down Expand Up @@ -174,7 +172,6 @@ And when we now import this file we will have access to all its class names whic
**`src/app.js`**

```javascript
import React from 'react';
import { render } from 'hops';
import styles from './styles.css';

Expand All @@ -190,15 +187,13 @@ You can use code-splitting (or bundle-splitting) to reduce the size of the asset
**`src/my-component.js`**

```javascript
import React from 'react';
export default () => <p>This has been loaded lazily</p>;
```

**`src/app.js`**

```javascript
import { render, importComponent } from 'hops';
import React from 'react';

const MyLazyComponent = importComponent(() => import('./my-component'));

Expand Down Expand Up @@ -350,7 +345,6 @@ The above example demonstrates how you can pass the value of the environment var

```javascript
import { render, withConfig } from 'hops';
import React from 'react';

const Config = withConfig(({ config }) => <div>{config.myApiUrl}</div>);

Expand Down Expand Up @@ -493,7 +487,6 @@ It is commonly used in an application's routing config as the last route:

```javascript
import { render, Miss } from 'hops';
import React from 'react';
import { Route, Switch } from 'react-router-dom';

const Home = () => <h1>Home</h1>;
Expand All @@ -514,7 +507,6 @@ With this component you can declaratively change the status code of the HTTP res

```javascript
import { render, Status } from 'hops';
import React from 'react';

export default render(<Status code={418} />);
```
Expand All @@ -525,7 +517,6 @@ With this component you can specify additional HTTP headers to be sent in the se

```javascript
import { render, Header } from 'hops';
import React from 'react';

export default render(<Header name="X-Foo" value="my-value" />);
```
Expand Down Expand Up @@ -592,7 +583,6 @@ During tests `importComponent` simply outputs the referenced component. If you'd
**Example: check the loading state**

```javascript
import React from 'react';
import { MemoryRouter } from 'react-router-dom';
import testRenderer from 'react-test-renderer';
import App from '../';
Expand Down Expand Up @@ -779,7 +769,6 @@ At the end they will be combined to a single CSS file and loaded automatically.

```javascript
import { render } from 'hops';
import React from 'react';
import styles from './styles.css';

export default render(<h1 className={styles.headline}>hello world</h1>);
Expand All @@ -805,7 +794,6 @@ Now you can use styled-components in your app and it will work out of the box wi

```javascript
import { render } from 'hops';
import React from 'react';
import styled from 'styled-components';

const H1 = styled.h1`
Expand Down Expand Up @@ -864,7 +852,6 @@ Now you can `import`/`require` your web app manifest and render a `<link />` tag

```javascript
import { render } from 'hops';
import React from 'react';
import { Helmet } from 'react-helmet-async';
import manifest from './manifest.webmanifest';

Expand Down Expand Up @@ -894,7 +881,6 @@ And then register the service worker in your main entry file:

```javascript
import { render } from 'hops';
import React from 'react';
import installServiceWorker from 'hops-pwa';

installServiceWorker();
Expand Down Expand Up @@ -1226,7 +1212,6 @@ module.exports = MyExpressMixin;
**`my-component.js`**

```javascript
import React from 'react';
import { withServerData } from 'hops';

const MyComponent = ({ serverData }) => <div>{serverData.someKey}</div>;
Expand Down Expand Up @@ -1271,7 +1256,6 @@ And then, once [activated](#activating-presets), you can use it like this in you
import { render } from 'hops';
import { action, observable } from 'mobx';
import { inject, observer } from 'mobx-react';
import React from 'react';

const theme = observable(
{
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "14.1.0",
"version": "14.2.0",
"registry": "https://registry.npmjs.org/",
"command": {
"version": {
Expand Down
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
"template-graphql": "yarn workspace hops-template-graphql run",
"template-react": "yarn workspace hops-template-react run",
"template-redux": "yarn workspace hops-template-redux run",
"is-release-bot-commit": "node -e \"process.exit(child_process.execSync('git show -s --format=\\'%an\\' HEAD').toString().trim() == 'Hops release bot' ? 0 : 1)\"",
"prerelease": "node -e \"process.exit(process.env.GH_TOKEN === undefined)\"",
"release": "lerna publish",
"release:prepare": "lerna version --no-push --yes",
"release:rollback": "yarn is-release-bot-commit && git reset --hard HEAD^",
"release:create-nightly": "yarn release premajor --conventional-prerelease --preid nightly",
"release:rc": "yarn release --conventional-prerelease --preid rc",
"release:graduate": "yarn release --conventional-graduate"
Expand All @@ -54,7 +56,12 @@
"url": "enc:r6BTklZr+axySHpOBj0JysOusV4S8o7YtSxZ9fi66rL5grn3vMkHUbMdb3OY5+tv",
"directory": "internal-hops"
}
]
],
"rootManifest": {
"resolutions": {
"graphql-tag": "^2.12"
}
}
},
{
"name": "internal-workshop",
Expand Down Expand Up @@ -224,9 +231,9 @@
"jest-runner-eslint": "0.10.0",
"jest-runner-prettier": "0.3.6",
"jest-watch-select-projects": "2.0.0",
"jest-watch-typeahead": "0.6.2",
"jest-watch-typeahead": "0.6.3",
"lerna": "^4.0.0",
"lint-staged": "^10.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.0.0"
}
}
11 changes: 11 additions & 0 deletions packages/apollo-mock-server/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [14.2.0](https://github.com/xing/hops/compare/v14.1.0...v14.2.0) (2021-06-14)


### Bug Fixes

* **apollo-mock-server:** update package graphql-tag ([9d1816a](https://github.com/xing/hops/commit/9d1816aa250cdefbe84f523bd6577b2f69808023))





# [14.1.0](https://github.com/xing/hops/compare/v14.0.1...v14.1.0) (2021-04-20)

**Note:** Version bump only for package hops-apollo-mock-server
Expand Down
10 changes: 4 additions & 6 deletions packages/apollo-mock-server/mixin.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,13 @@ class GraphQLMixin extends Mixin {
}

if (exists(this.config.graphqlMockSchemaFile)) {
webpackConfig.resolve.alias[
'hops-apollo-mock-server/schema'
] = require.resolve(this.config.graphqlMockSchemaFile);
webpackConfig.resolve.alias['hops-apollo-mock-server/schema'] =
require.resolve(this.config.graphqlMockSchemaFile);
}

if (exists(this.config.graphqlMockContextExtenderFile)) {
webpackConfig.resolve.alias[
'hops-apollo-mock-server/context-extender'
] = require.resolve(this.config.graphqlMockContextExtenderFile);
webpackConfig.resolve.alias['hops-apollo-mock-server/context-extender'] =
require.resolve(this.config.graphqlMockContextExtenderFile);
}

if (target === 'graphql-mock-server') {
Expand Down
10 changes: 5 additions & 5 deletions packages/apollo-mock-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hops-apollo-mock-server",
"version": "14.1.0",
"version": "14.2.0",
"description": "Apollo based mock server for Hops",
"keywords": [
"hops",
Expand All @@ -27,10 +27,10 @@
"cross-fetch": "^3.0.4",
"express": "^4.17.1",
"graphql": "^15.0.0",
"graphql-tag": "^2.11.0",
"hops-config": "14.1.0",
"hops-mixin": "14.1.0",
"hops-webpack": "14.1.0"
"graphql-tag": "^2.12.3",
"hops-config": "14.2.0",
"hops-mixin": "14.2.0",
"hops-webpack": "14.2.0"
},
"homepage": "https://github.com/xing/hops/tree/master/packages/graphql#readme"
}
12 changes: 12 additions & 0 deletions packages/bootstrap/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [14.2.0](https://github.com/xing/hops/compare/v14.1.0...v14.2.0) (2021-06-14)


### Bug Fixes

* update dependency dotenv to v10 ([8e206ed](https://github.com/xing/hops/commit/8e206ed06a06ed0779afd165a6931be210be1a28))
* update dependency dotenv to v9 ([467ae09](https://github.com/xing/hops/commit/467ae09c8f356209a50f88e6b80a46e0939d3b3d))





# [14.1.0](https://github.com/xing/hops/compare/v14.0.1...v14.1.0) (2021-04-20)


Expand Down
6 changes: 3 additions & 3 deletions packages/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hops-bootstrap",
"version": "14.1.0",
"version": "14.2.0",
"description": "Hops bootstrap",
"repository": {
"type": "git",
Expand All @@ -16,12 +16,12 @@
"ajv-formats": "^2.0.0",
"check-error": "^1.0.2",
"cosmiconfig": "^7.0.0",
"dotenv": "^8.1.0",
"dotenv": "^10.0.0",
"enhanced-resolve": "^5.0.0",
"escape-string-regexp": "^4.0.0",
"find-up": "^5.0.0",
"flat": "^5.0.0",
"hops-debug": "14.1.0",
"hops-debug": "14.2.0",
"is-plain-obj": "^3.0.0",
"mixinable": "^5.0.1",
"supports-color": "^8.0.0"
Expand Down
8 changes: 8 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [14.2.0](https://github.com/xing/hops/compare/v14.1.0...v14.2.0) (2021-06-14)

**Note:** Version bump only for package hops-config





# [14.1.0](https://github.com/xing/hops/compare/v14.0.1...v14.1.0) (2021-04-20)

**Note:** Version bump only for package hops-config
Expand Down
4 changes: 2 additions & 2 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hops-config",
"version": "14.1.0",
"version": "14.2.0",
"description": "Hops core configuration",
"keywords": [
"hops",
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"depd": "^2.0.0",
"hops-bootstrap": "14.1.0"
"hops-bootstrap": "14.2.0"
},
"homepage": "https://github.com/xing/hops/tree/master/packages/config#readme"
}
11 changes: 11 additions & 0 deletions packages/create-hops-app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [14.2.0](https://github.com/xing/hops/compare/v14.1.0...v14.2.0) (2021-06-14)


### Bug Fixes

* update dependency yargs to v17 ([99fb4c6](https://github.com/xing/hops/commit/99fb4c6c52ff20722b169cfc7d2d23eedde07f11))





# [14.1.0](https://github.com/xing/hops/compare/v14.0.1...v14.1.0) (2021-04-20)


Expand Down
4 changes: 2 additions & 2 deletions packages/create-hops-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-hops-app",
"version": "14.1.0",
"version": "14.2.0",
"description": "CLI tool to create Hops applications",
"keywords": [
"hops",
Expand All @@ -25,7 +25,7 @@
"tar": "^6.0.0",
"validate-npm-package-name": "^3.0.0",
"write-pkg": "^4.0.0",
"yargs": "^16.1.1"
"yargs": "^17.0.0"
},
"homepage": "https://github.com/xing/hops/tree/master/packages/create-hops-app#readme"
}