CHANGELOG.md in pageflow-14.5.2 vs CHANGELOG.md in pageflow-15.0.0.beta1

- old
+ new

@@ -1,44 +1,49 @@ # CHANGELOG -### Version 14.5.2 +### Version 15.0.0.beta1 -2022-09-14 +2019-07-31 -[Compare changes](https://github.com/codevise/pageflow/compare/v14.5.1...v14.5.2) +[Compare changes](https://github.com/codevise/pageflow/compare/14-x-stable...v15.0.0.beta1) -##### Security +#### Manual Update Steps -- Fix - [GHSA-qcqv-38jg-2r43](https://github.com/codevise/pageflow/security/advisories/GHSA-qcqv-38jg-2r43): - Insecure direct object reference in membership update endpoint - ([#1862](https://github.com/codevise/pageflow/pull/1862)) -- Fix - [GHSA-wrrw-crp8-979q](https://github.com/codevise/pageflow/security/advisories/GHSA-wrrw-crp8-979q): - Sensitive user data extraction via Ransack query injection - ([#1862](https://github.com/codevise/pageflow/pull/1862)) +- Refactor file modules + ([#1180](https://github.com/codevise/pageflow/pull/1180)) + + This version includes various refactorings and class renamings. + If you include any of the files or modules below, you need to update your code accordingly. + + ##### File modules: + HostedFile => UploadableFile (concerning uploading of files)\ + UploadedFile => ReusableFile (concerning usage of files) + + ##### StateMachines: + ProcessedFileStateMachine => ImageAndTextTrackProcessingStateMachine\ + EncodedFileStateMachine => MediaEncodingStateMachine + + ##### StateMachineJobs: + ProcessFileJob => ProcessImageOrTextTrackJob + +- Introduce PermaId on FileUsage, change file lookup to PermaId throughout Pageflow codebase. + ([#1179](https://github.com/codevise/pageflow/pull/1179)) + + File lookup is now done via the `perma_id` of the files usage within the revisions scope. + Therefore it is strongly advised to change file lookup to the new RevisionFileHelper: + + I.e. + ``` + Pageflow::Imagefile.find(some_id) + ``` + will become + ``` + include RevisionFileHelper + [...] + find_file_in_entry(Pageflow::Imagefile, image_file_usage_perma_id) + ``` + + Also see migration inside the PR. -### Version 14.5.1 - -2019-10-31 - -[Compare changes](https://github.com/codevise/pageflow/compare/v14.5.0...v14.5.1) - -- Require Sprockets < 4 (14.x Backport) - ([#1235](https://github.com/codevise/pageflow/pull/1235)) - -### Version 14.5.0 - -2019-10-31 - -[Compare changes](https://github.com/codevise/pageflow/compare/14-4-stable...v14.5.0) - -- Info box pointer-events enabled for anchor tag - ([#1213](https://github.com/codevise/pageflow/pull/1213)) -- Update Twitter share URL - ([#1204](https://github.com/codevise/pageflow/pull/1204)) -- Configurable loading spinner - ([#1186](https://github.com/codevise/pageflow/pull/1186)) - See -[14-4-stable branch](https://github.com/codevise/pageflow/blob/14-4-stable/CHANGELOG.md) +[14-x-stable branch](https://github.com/codevise/pageflow/blob/14-x-stable/CHANGELOG.md) for previous changes.