Releases: mcansh/blog
3.24.0
Changes
- Chore(csp): add 'unsafe-eval' and 'unsafe-inline' to production script-src 😢: dd2fff2
- Chore(csp): set default-src to 'self': a9847d0
- Remove Google Analytics: #781
- Chore(csp): update fathom img-src in csp: 0244e0f
- Test: move test-utils: aeece2a
- Test: add more test cases: f1b5adf
- Chore: add test coverage badge: da5a1be
- Chore: use @reach/portal: 67cdbbc
- Chore: run prettier over everything: 569a26b
- Merge branch 'master' of github.com:mcansh/blog: 72718e8
- Fix(select-unit): check for previous unit when checking value: c996349
- Fixup! chore: add test coverage badge: 3315bc5
- Chore: update test coverage: 7e82683
- Chore: use 'src' dir: 4382d76
- Revert "chore: use 'src' dir": 72d776c
- Chore: remove babel plugin root import: 9b3344e
- Chore: switch to svgr/webpack: 3d1a4fa
- Test: add tests for author-info and randomEmoji: ac9be7d
- Chore: add ci badge: d887e62
- Chore: remove regions and project fields from now.json: e8ec7b3
- Link to fathom: #818
- Chore(csp): update fathom img-src in csp: 9047730
- Chore: use custom fathom domain: #872
- Feat: switch to next-mdx-enhanced and yml: #797
- Feat: move now routes to next.config, remove now.json: 16ded7c
- Chore(dates): remove intl polyfills in favor of date-fns, cut first load size in half: f4f7f30
- Test: add tests for range function: 09a1323
- Chore: rename .nowignore to .vercelignore: b5d974d
- Chore: cleanup eslint settings that config takes care of: a8f888a
- Chore: reuse gitignore for prettier and eslint: 066e7b0
- Chore(ci): use cache@v2: a3eb04a
- Chore: update ci: #922
- Chore: update Dependabot config file: #925
- Chore: move .kodiak.toml to .github dir: #927
- Chore: update package-lock.json: 66230cb
- Chore: add next-unused: 3b839e2
- Chore: update how svgr is configured: e81b09e
- Chore: manually setup nprogress, fix vulnerabilities: aecbe59
- Chore: use yarn again as npm is having issues with shas in ci: e8eb17f
- Ci: yarn uses 'NPM_AUTH_TOKEN': 2235781
- Chore: dont cache sitemap, move atom and feed.json caching to edge: b0a33e5
- Chore: use fathom-client: ee1a57c
- Chore(ci): use npm_token: 5d98dca
- Chore(ci): lighthouse is no longer run through actions: 9582e08
- Chore(ci): NPM_AUTH_TOKEN -> NODE_AUTH_TOKEN: f446d18
- Feat: custom image api: #965
- Fix: ci: #977
- Chore(next.config): redirects/rewrites/headers are no longer experimental: f5ec938
- Chore: format: 89bcefd
- Chore(Layout): fix types: c2b570c
- Feat: switch to next-mdx-remote: #1038
- Fix: update sitemap generation: #1039
Dependency Updates
-
Chore(deps-dev): Bump eslint-plugin-jest from 23.6.0 to 23.7.0: #719
-
Chore(deps-dev): Bump @types/jest from 25.1.1 to 25.1.2: #723
-
Chore(deps): Bump framer-motion from 1.8.3 to 1.8.4: #721
-
Chore(deps-dev): Bump stylelint from 13.0.0 to 13.1.0: #720
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.19.0 to 2.19.1: #724
-
Chore(deps): Bump styled-components from 5.0.0 to 5.0.1: #725
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.19.0 to 2.19.2: #726
-
Chore(deps-dev): Bump @types/node from 13.7.0 to 13.7.1: #727
-
Chore(deps-dev): Bump stylelint-processor-styled-components from 1.9.0 to 1.10.0: #728
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.19.1 to 2.20.0: #729
-
Chore(deps-dev): Bump husky from 4.2.1 to 4.2.3: #731
-
Chore(deps-dev): Bump stylelint from 13.1.0 to 13.2.0: #732
-
Chore(deps-dev): Bump @types/styled-components from 4.4.2 to 4.4.3: #733
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.19.2 to 2.20.0: #730
-
Chore(deps): Bump next from 9.2.1 to 9.2.2: #742
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.20.0 to 2.21.0: #740
-
Chore(deps-dev): Bump eslint-plugin-jest from 23.7.0 to 23.8.0: #739
-
Chore(deps-dev): Bump typescript from 3.7.5 to 3.8.2: #736
-
Chore(deps): Bump @next/plugin-sentry from 9.2.1 to 9.2.2: #734
-
Chore(deps-dev): Bump @types/react from 16.9.19 to 16.9.22: #743
-
Chore(deps-dev): Bump @types/styled-components from 4.4.3 to 5.0.0: #738
-
Chore(deps-dev): Bump eslint-plugin-react-hooks from 2.3.0 to 2.4.0: #737
-
Chore(deps): Bump @next/mdx from 9.2.1 to 9.2.2: #741
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.20.0 to 2.21.0: #735
-
Chore(deps-dev): Bump to-vfile from 6.0.0 to 6.0.1: #744
-
Chore(deps-dev): Bump eslint-config-kentcdodds from 14.7.0 to 14.8.0: #745
-
Chore(deps): Bump date-fns from 2.9.0 to 2.10.0: #746
-
Chore(deps): Bump @next/bundle-analyzer from 9.2.1 to 9.2.2: #747
-
Chore(deps-dev): Bump @types/react from 16.9.22 to 16.9.23: #749
-
Chore(deps-dev): Bump remark-mdx from 1.5.5 to 1.5.7: #751
-
Chore(deps): Bump react from 16.12.0 to 16.13.0: #753
-
Chore(deps-dev): Bump @types/node from 13.7.1 to 13.7.7: #750
-
Chore(deps-dev): Bump eslint-plugin-react-hooks from 2.4.0 to 2.5.0: #748
-
Chore(deps-dev): Bump @testing-library/react from 9.4.0 to 9.4.1: #755
-
Chore(deps): Bump framer-motion from 1.8.4 to 1.9.0: #754
-
Chore(deps): Bump react-dom from 16.12.0 to 16.13.0: #757
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.21.0 to 2.22.0: #762
-
Chore(deps): Bump @mdx-js/react from 1.5.5 to 1.5.7: #759
-
Chore(deps-dev): Bump eslint-plugin-jest from 23.8.0 to 23.8.1: #756
-
Chore(deps-dev): Bump @types/jest from 25.1.2 to 25.1.3: #760
-
Chore(deps-dev): Bump @mcansh/eslint-config from 2.4.1 to 2.5.2: #761
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.21.0 to 2.22.0: #758
-
Chore(deps): Bump @mdx-js/loader from 1.5.5 to 1.5.7: #752
-
Chore(deps): Bump framer-motion from 1.9.0 to 1.9.1: #763
-
Chore(deps): Bump next from 9.2.2 to 9.3.0: #764
-
Chore(deps-dev): Bump @types/styled-components from 5.0.0 to 5.0.1: #765
-
Chore(deps): Bump @next/plugin-sentry from 9.2.2 to 9.3.0: #772
-
Chore(deps-dev): Bump @types/node from 13.7.7 to 13.9.0: #771
-
Chore(deps): Bump @next/bundle-analyzer from 9.2.2 to 9.3.0: #770
-
Chore(deps-dev): Bump eslint-plugin-you-dont-need-lodash-underscore from 6.9.0 to 6.10.0: #773
-
Chore(deps-dev): Bump stylelint from 13.2.0 to 13.2.1: #766
-
Chore(deps-dev): Bump @types/jest from 25.1.3 to 25.1.4: #768
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.22.0 to 2.23.0: #775
-
Chore(deps): Bump @next/mdx from 9.2.2 to 9.3.0: #780
-
Chore(deps-dev): Bump eslint-plugin-react from 7.18.3 to 7.19.0: #767
-
Chore(deps-dev): Bump typescript from 3.8.2 to 3.8.3: #778
-
Chore(deps-dev): Bump to-vfile from 6.0.1 to 6.1.0: #779
-
Chore(deps-dev): Bump lint-staged from 10.0.7 to 10.0.8: #776
-
Chore(deps-dev): Bump eslint-plugin-jest from 23.8.1 to 23.8.2: #777
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.22.0 to 2.23.0: #774
-
Chore(deps-dev): Bump @testing-library/react from 9.4.1 to 9.5.0: #769
-
Chore(deps): [Security] Bump acorn from 6.3.0 to 6.4.1: #782
-
Chore(deps-dev): Bump @types/node from 13.9.0 to 13.9.1: #784
-
Chore(deps-dev): Bump @mcansh/eslint-config from 2.5.2 to 2.6.1: #785
-
Chore(deps-dev): Bump eslint-config-airbnb from 18.0.1 to 18.1.0: #786
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.23.0 to 2.24.0: #788
-
Chore(deps): Bump date-fns from 2.10.0 to 2.11.0: #783
-
Chore(deps-dev): Bump @testing-library/react from 9.5.0 to 10.0.1: #789
-
Chore(deps): Bump body-scroll-lock from 2.6.4 to 2.7.0: #790
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.23.0 to 2.24.0: #787
-
Chore(deps): bump to latest: 9154dbe
-
Chore(deps): Bump framer-motion from 1.10.0 to 1.10.2: #796
-
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 2.24.0 to 2.25.0: #792
-
Chore(deps): Bump babel-plugin-preval from 4.0.0 to 5.0.0: #793
-
Chore(deps-dev): Bump @types/prettier from 1.19.0 to 1.19.1: #794
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.24.0 to 2.25.0: #795
-
Chore(deps): bump to latest: 184bb0b
-
Chore(deps-dev): Bump @types/react from 16.9.26 to 16.9.27: #798
-
Chore(deps-dev): Bump jest from 25.2.3 to 25.2.4: #807
-
Chore(deps-dev): Bump lint-staged from 10.0.9 to 10.1.0: #806
-
Chore(deps): Bump framer-motion from 1.10.2 to 1.10.3: #805
-
Chore(deps-dev): Bump @typescript-eslint/parser from 2.25.0 to 2.26.0: #804
-
Chore(deps-dev): Bump @testing-library/react from 10.0.1 to 10.0.2: #803
-
Chore(deps-dev): Bump eslint-plugin-import from 2.20.1 to 2.20.2: #802
-
Chore(deps-dev): Bump remark-stringify from 7.0.4 to 8.0.0: #801
-
Chore(deps): Bump @next/mdx from...
3.23.0
Minor Changes
- Chore: more optional chaining: #595
Patches
- Test: add test for button link: 0351b98
- Chore: switch to coveralls: de413ef
- Fix: fix sitemap urls and last modified time: 29cddb3
- Chore: add lighthouse github action: 45a4ea6
- Chore(sitemap): iso dates: 3306b86
- Chore: delete old build scripts: 6eaaa88
- Chore: move lighthouse to own workflow: b0aafb7
- Chore: change reference to coveralls: b4dd485
- Chore: add issue templates: 7ad315e
- Chore(deps): remove unneeded deps, move others to devDeps: e896120
- Chore: add proper types for process.env variables: 8ec9950
- Chore: add
SENTRY_RELEASE
to custom process.env type: 008f58b - Fix(csp): add stats.g.doubleclick.net to csp: 55226c3
- Chore: make ts-precommit executable: 077e446
- Feat: use experimental next sentry plugin: b577f82
- Refactor: async writeFile: 2fbc69b
- Chore: update scripts, add last modified to posts: #600
- Improvement: dont render custom page wrapper if error page: d40a5df
- Chore(gh-actions): cache: #623
- Chore(now): update npm build env: #624
- Chore: upgrade to node 12: #622
- Chore(sitemap): filter out next specific 'pages': d10c9a3
- Chore: update github action caching: b1807dc
- Chore: remove 'any' types: ead8a6a
- Chore: remove 'git add' from lint-staged: cf24e63
- Fix: remove extra svg from header: 66829e3
- Fix(unsplashParams): make it stricter: 9558d38
- Feat: compress images: #718
- Chore: update cloudinary url: a57c8c2
3.22.4
3.22.3
Patches
- Chore(deps): bump to latest: be17721
- Chore: prettier: 86f6547
- Chore: formatting: 18f3db9
- Chore(deps): bump to latest: eef137a
- Chore(deps): bump to latest: 319a174
- Chore(deps): install personal packages from gpr: 4fc88f1
- Chore(deps): bump to latest: b65bfde
- Chore: bump next to canary, enable deferScripts: 61298ad
- Tests: remove dynamic import mocking as next works w/o it: 5db1494
- Refactor: optional chaining and nullish coalescing ❤️: 92d0e48
- Chore: add optional chaining and nullish coalescing babel plugins: #590
- Chore(deps): bump to latest: 78a9dce
- Chore: add types for Intl.RelativeTimeFormat: 731b67d
- Chore: use yarn in workflow: #589
- Chore: npm token on now: a6719dd
3.22.2
Patches
- Chore(deps-dev): bump lint-staged from 9.2.5 to 9.3.0: #544
- Chore(deps): bump styled-components from 4.3.2 to 4.4.0: #543
- Chore(deps): bump to latest: 14d506a
- Chore(deps): bump to latest: bc3c9ce
- Chore(csp): add google.com/ads to csp: 0970b29
- [ImgBot] Optimize images: #576
- Style: better sticky footer: d004a89
- Chore: format: 802a2f4
- Revert "chore: remove nprogress": fb32135
- Chore(deps): bump to latest: 6466946
- Chore: remove eslint comments: f701118
3.22.1
3.22.0
Minor Changes
- Refactor: remove react-spring, replace title animation with framer-motion: 747828c
- Refactor: update how sentry is configured for ssr: 868b273
Patches
- Chore: add brave rewards verification: d2b03c6
- Chore(deps): bump to latest: a25b7cf
- Chore(deps): bump eslint-utils from 1.4.0 to 1.4.2: #535
- Chore: update codecov gh action version 🤓: c33da03
- Chore: add npm-run-all: b140ca0
- Chore(deps): remove my prettier config package: 62f81cb
- Chore: remove nprogress: aab1111
- Chore(deps): bump mixin-deep from 1.3.1 to 1.3.2: #536
- Chore(deps): bump to latest: 30eb480
- Chore(deps): remove manual typedef for react-simple-img: 2dcd262
- Fix: add sentry/ga to csp connect-src: b44be62
- Chore: update how types are defined: 6576f95
- Chore: add dependabot: 185705b
- Refactor: update RelativeTimeFormat: 6952b87
- Fix: polyfill locales for relativetimeformat: e482cbd
- Chore(deps): [security] bump lodash from 4.17.11 to 4.17.15: #537
- Chore(deps): [security] audit: 2628c2d
- Fix(dates): change default timeZone to utc: 5a8fa49
- Chore(deps): bump to latest: 47ec658
3.21.0
Minor Changes
- Chore: update eslint/prettier setup: 0395eb6
- Test: mock next/router, enable all the tests!: c13e4ea
- Fix: update sameOrigin detection: 56b6e5b
- Improvement: Update CSP: 1bf8fca
- Feat: add noscript version of header title: 31d3d2c
- Style: update button: 424fe65
Patches
- Improvement: update google analytics: 57d7f2e
- Chore: add mdx to lint-staged: 61a26c6
- Chore: remove travis badge: df02676
- Chore: run prettier: 02982eb
- Chore: wait for status checks: ed08155
- Chore(deps): bump lodash.template from 4.4.0 to 4.5.0: #533
- Style: update code block style: 457569b
- Feat: add line highlighting to time-to-hex post: 1734016
- Chore: remove files generated during build: 00be019
- Chore(deps): bump to latest: e11abc5
- Change post dates to ISO 8601 strings: #534
- Update primary color: 57a8a53
- Chore: Remove is-absolute-url: ad0226b
- Fix: only import react-ink of not in amp mode: d491a75
3.20.0
Minor Changes
- Improvement: render a regular anchor tag when it's an external url: c61ca03
- Feat: add github action: #519
- Update mdx: #532
- Feature: add custom link component to make opening in a tab way easier: 6644ff0
Patches
- Types: manually add types for <amp-img />: 72cde99
- Feat: add an amp version of navigation: 835a9f6
- Chore: update now.json: c42a85f
- Chore: remove exportTrailingSlash option: f408e3b
- Chore(deps): bump to latest: 4729a4e
- Fix: google analytics csp: 89fc596
- Fix: query was broken when passing everything automatically: b6a7f13
- Chore(deps): bump to latest: d54b6c8
- Chore(now): remove aliases as theyre configured on the project: e5555f6
- Chore(now): remove builder as it's automatically handled: e755918
- Chore: add codecov action: 14f47cf
- Chore(deps): bump to latest: 3ec21ff
- Chore: convert to GitHub Actions yaml syntax: #527
- Update footer.tsx: 3638ffb
- Chore: update csp, add it to now response: cab18b1
- Chore: remove cleanup-after-each: f13751f
- Test: add github action to run jest: #529
- Ci: add codecov to github action workflow: #530
- Chore(deps): bump to latest: 151161b
- Style: add dank mono to monospaced font list: #526
- Fix: add manifest-src to csp: 628bd9c
- Fix: add workbox to csp: 27f928f
- Chore(deps): bump to latest: b3251d4
- Add https://cdn.ampproject.org/v0.js to csp: bd45ff8
- Fix: add data: to csp for connect-src: 19e3ff4
- Chore(deps): bump to latest: 25b68ea
- Style: update post min height: 4754882
- Remove some unneeded parens: ff8130c