This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
Releases: StaticJsCMS/static-cms
Releases Β· StaticJsCMS/static-cms
v2.3.2
v2.3.1
v2.3.0
What's Changed
- feat: file drag and drop, select multiple files in media library (#783)
- feat: add login and logout events (#798)
- feat: add pagination and virtualization to collection view, improving performance for large collections (#788)
Bug fixes
- fix: markdown email and tel links (#800)
- fix: multiple file upload (#779)
- fix: slug template variables (#793, #795)
- fix: custom logos (#789)
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- feat: multi image support (#778)
- feat: markdown toolbar customization (#776)
- feat: improve cms event types (#769)
- feat: extend tailwind config to use Inter sans (#767, #770)
Bug fixes
Dependency Updates
- chore(deps): update react monorepo (#766)
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
Dependency Updates
- chore(deps): bump yaml from 2.2.1 to 2.2.2 (#762)
- chore(deps): update dependency @types/node to v18.16.0 (#755)
- chore(deps): update dependency @types/react to v18.0.38 (#750)
- chore(deps): update dependency eslint to v8.39.0 (#751)
- chore(deps): update dependency prettier to v2.8.8 (#754)
- chore(deps): update dependency webpack-cli to v5.0.2 (#749)
- chore(deps): update typescript-eslint monorepo to v5.59.1 (#761)
- fix(deps): update dependency styled-components to v5.3.10 (#753)
Full Changelog: v2.0.1...v2.1.0
v2.0.1
What's Changed
- fix: types for
registerPreviewTemplate
andregisterPreviewCard
to properly infer custom fields - fix: type for
registerFieldPreview
to properly infer field
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Migration Guide: https://www.staticcms.org/docs/migration-guide-v2
Breaking Changes
- Static CMS now requires you import its styles separately as they are not longer bundled into the main JavaScript file.
- External media integrations for Cloudinary and Uploadcare have been removed
- All previously deprecated items have been removed as part of this release.
getAsset
- UseuseMediaAsset
React hook insteadcreateReactClass
- Use react functional components insteadisFieldDuplicate
- Useduplicate
variable insteadisFieldHidden
- Usehidden
variable instead
- Nested collection configuration has changed. The
meta
configuration has been removed and itspath
property has been moved under thenested
configuration. - Card previews now are only used for the card view. The
viewStyle
property has been removed. Field previews can be used to change the table view. - Widget Control component property changes:
isDisabled
renamed todisabled
isDuplicate
renamed toduplicate
isHidden
renamed tohidden
mediaPaths
is now object of id mapped to an object containing thepath
and optionalalt
useMediaInsert
hook now requires a collection to be passed in. Its callback function now receives an object containing thepath
and optionalalt
instead of a string.prePublish
andpostPublish
events have been dropped.
What's Changed
- The UI has been completely overhauled (#282)
- Directory navigation support has been added to the media library as an optional beta feature (Related to decaporg/decap-cms#3240)
- Dark mode is now available (#409)
- Default styles are now provided for the previews, this is necessary to support dark mode. However, if you provide your own preview styles these default styles will not be included in the preview.
- All images are now loaded directly from your Git repository. Previous behavior to try and source the image from your current deployment, then fall back to the images in the Git repository. This created some odd and inconsistent behaviors throughout the app.
summary_fields
property added to collection configuration to allow customization of the table view. This works with the new field preview.- New widget control property:
forSingleList
. It specifies if the widget is within a singletonlist
widget (string array, number array, etc) - Markdown editor toolbar is now sticky (#690)
- Color widget now validates user input
- Local drafts are automatically loaded, entries with local drafts are indicated on the collection view (#516)
- New
hasLocalBackup
property is being passed to collection card previews
- New
- New discard changes option available in editor (#516)
- A new
UUID
widget has been added (#92) docs
Fixes
- Links now work inside of shortcodes (#695)
Deprecations
In the Widget Control component property, the following properties have been deprecated. They will be removed in v3.0.0
.
Param | Type | Description |
---|---|---|
mediaPaths | object | Deprecated. Use useMediaInsert instead. Key/value object of control IDs (passed to the media library) mapping to media paths |
clearMediaControl | function | Deprecated. Use useMediaInsert instead. Clears a control ID's value from the internal store |
openMediaLibrary | function | Deprecated. Use useMediaInsert instead. Opens the media library popup. |
removeInsertedMedia | function | Deprecated. Use useMediaInsert instead. Removes draft media for a give control ID |
removeMediaControl | function | Deprecated. Use useMediaInsert instead. Clears a control ID completely from the internal store |
v1.2.14
What's Changed
- fix: Nested Folders Feature Routing (#677)
New Contributors
Full Changelog: v1.2.13...v1.2.14
v1.2.13
What's Changed
- fix: improve typescript types for configuration
- fix: plate upgrade fixes infinite recursion issue in markdown editor (#412)
- fix(auth): swap popup for new tab (#648)
Documentation Updates
- docs: fix gatsby typo (#601)
- docs(add-to-your-site-cdn): adds Astro in the SSG | static folder table (#618)
- fix(docs): dead links on Bundling page (#675)
Dependency Updates
- chore(deps-dev): bump webpack from 5.75.0 to 5.76.0 in /packages/docs (#660)
- chore(deps): replace dependency babel-eslint with @babel/eslint-parser 7.11.0 (#661)
- chore(deps): update babel monorepo to v7.21.3 (#656)
- chore(deps): update dependency @babel/eslint-parser to v7.21.3 (#662)
- chore(deps): update dependency @testing-library/dom to v9.0.1 (#635)
- chore(deps): update dependency @types/jest to v29.4.2 (#649, #659)
- chore(deps): update dependency @types/node to v16.18.16 (#614, #654)
- chore(deps): update dependency eslint to v8.36.0 (#643)
- chore(deps): update dependency eslint-config-prettier to v8.7.0 (#624)
- chore(deps): update dependency eslint-plugin-unicorn to v46 (#620)
- chore(deps): update dependency execa to v7.1.1 (#647, #657)
- chore(deps): update dependency lint-staged to v13.2.0 (#641)
- chore(deps): update dependency node-fetch to v3.3.1 (#646)
- chore(deps): update dependency rimraf to v4.4.0 (#611, #617, #619, #626, #638)
- chore(deps): update dependency simple-git to v3.17.0 (#622)
- chore(deps): update dependency style-loader to v3.3.2 (#651)
- chore(deps): update dependency tsconfig-paths-webpack-plugin to v4.0.1 (#639)
- chore(deps): update dependency webpack to v5.76.20 (#637, #644, #664)
- chore(deps): update dependency webpack-dev-server to v4.12.0 (#658)
- chore(deps): update jest monorepo to v29.5.0 (#625)
- chore(deps): update nextjs monorepo to v13.2.4 (#607, #609, #640)
- chore(deps): update typescript-eslint monorepo to v5.54.1 (#627)
- chore(deps): update typescript-eslint monorepo to v5.55.0 (#653)
- fix(deps): update dependency @udecode/plate-juice to v20 (#631)
- fix(deps): update dependency @udecode/plate-serializer-md to v20 (#633)
- fix(deps): update dependency copy-text-to-clipboard to v3.1.0 (#645)
- fix(deps): update dependency minimatch to v7.4.2 (#603, #608, #612)
- fix(deps): update dependency next-mdx-remote to v4.4.1 (#606, #610)
- fix(deps): update dependency ol to v7.3.0 (#623)
- fix(deps): update dependency react-router-dom to v6.9.0 (#602, #642)
- fix(deps): update dependency slate-react to v0.91.10 (#634, #604, #616, #628)
- fix(deps): update dependency styled-components to v5.3.9 (#613, #615, #652)
- fix(deps): update material-ui monorepo to v5.11.13 (#605, #629, #655)
New Contributors
- @dominiclooser made their first contribution in #601
- @simbas made their first contribution in #618
- @markcmurphy made their first contribution in #675
Full Changelog: v1.2.12...v1.2.13
v1.2.12
What's Changed
- Plate upgrade fixes infinite recursion issue in markdown editor (#412)
Dependency Updates
- fix(deps): update dependency @udecode/plate to v19.7.0 (#597)
- fix(deps): update dependency @udecode/plate-juice to v19.7.0 (#598)
- fix(deps): update dependency @udecode/plate-serializer-md to v19.7.0 (#600)
- fix(deps): update dependency @codemirror/lint to v6.2.0 (#599)
Full Changelog: v1.2.11...v1.2.12