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

fix(smart-action): smart action after trying to mitigate breaking change #754

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

romain-gilliotte
Copy link
Contributor

Pull Request checklist:

  • Write an explicit title for the Pull Request, following Conventional Commits specification
  • Test manually the implemented changes
  • Review my own code (indentation, syntax, style, simplicity, readability)
  • Wonder if you can improve the existing code

@romain-gilliotte romain-gilliotte changed the title fix: smart collection after trying to mitigate breaking change fix(smart-action): smart action after trying to mitigate breaking change Jun 29, 2021
@larcin larcin assigned romain-gilliotte and unassigned larcin Jun 29, 2021
@romain-gilliotte romain-gilliotte merged commit c413992 into beta Jun 29, 2021
@romain-gilliotte romain-gilliotte deleted the fix/broken-smart-collections branch June 29, 2021 13:06
forest-bot added a commit that referenced this pull request Jun 29, 2021
# [9.0.0-beta.8](v9.0.0-beta.7...v9.0.0-beta.8) (2021-06-29)

### Bug Fixes

* **smart-action:** smart actions after trying to mitigate breaking change ([#754](#754)) ([c413992](c413992))
@forest-bot
Copy link
Member

🎉 This PR is included in version 9.0.0-beta.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Jul 19, 2021
# [9.0.0](v8.7.5...v9.0.0) (2021-07-19)

### Bug Fixes

* handle composite primary key case when checking permissions for smart actions ([#756](#756)) ([30e8002](30e8002))
* **smart-action:** smart actions after trying to mitigate breaking change ([#754](#754)) ([c413992](c413992))
* remove breaking change on smart action middleware ([#739](#739)) ([b2a8f74](b2a8f74))
* update record getter usage in action route to use global scope ([#730](#730)) ([b92f158](b92f158))

### Features

* smart action hooks now have access to the http request ([#753](#753)) ([ea5cd59](ea5cd59))
* **security:** secure segments queries ([#747](#747)) ([23e8817](23e8817))
* **smart-action:** add changedField argument on hook function ([#716](#716)) ([709fe32](709fe32))
* **smart-action:** user can add dynamically field with hook on smart action form ([#717](#717)) ([910df2b](910df2b))

* feat(scopes)!: enforce scopes restrictions on a wider range of requests (#702) ([e36026e](e36026e)), closes [#702](#702)

### BREAKING CHANGES

* record is no longer send to the hook midleware & values option on smart action is no longer supported
* **smart-action:** change hook is no longer choosen by the field name, field need to have hook defined inside it definition by addin a props hook
* **smart-action:** fields parameters on hook function is no longer a map of field, it is now an array.
* the public API of the package has changed to include the parameters which are needed to evaluate scope filters. This includes PermissionMiddlewareCreator, all classes on the /exposed folder and most services.
@forest-bot
Copy link
Member

🎉 This PR is included in version 9.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

ShohanRahman pushed a commit that referenced this pull request Jan 25, 2022
ShohanRahman pushed a commit that referenced this pull request Jan 25, 2022
## [7.11.2](ForestAdmin/forest-express-sequelize@v7.11.1...v7.11.2) (2021-06-15)

### Bug Fixes

* **intercom:** fix date conversion from unix timestamp to js date of intercom attributes ([#754](ForestAdmin/forest-express-sequelize#754)) ([11a1549](ForestAdmin/forest-express-sequelize@11a1549))
ShohanRahman pushed a commit that referenced this pull request Jan 25, 2022
# [8.0.0-beta.9](ForestAdmin/forest-express-sequelize@v8.0.0-beta.8...v8.0.0-beta.9) (2021-07-06)

### Bug Fixes

* fix types ([580ef41](ForestAdmin/forest-express-sequelize@580ef41))
* support inverseOf property ([#760](ForestAdmin/forest-express-sequelize#760)) ([6fab976](ForestAdmin/forest-express-sequelize@6fab976))
* **authentication:** error during authentication when the environment is secret passed as a liana option and not an environment variable ([#758](ForestAdmin/forest-express-sequelize#758)) ([39ab674](ForestAdmin/forest-express-sequelize@39ab674))
* **intercom:** fix date conversion from unix timestamp to js date of intercom attributes ([#754](ForestAdmin/forest-express-sequelize#754)) ([11a1549](ForestAdmin/forest-express-sequelize@11a1549))
* **retrocompatibility:** make test suite pass with [email protected] ([#761](ForestAdmin/forest-express-sequelize#761)) ([a04be5c](ForestAdmin/forest-express-sequelize@a04be5c))
* fix mssql ordering collection by pk ([#734](ForestAdmin/forest-express-sequelize#734)) ([7bbd19d](ForestAdmin/forest-express-sequelize@7bbd19d))
* prevent IP check from failing for the proxies including the port in the headers ([#751](ForestAdmin/forest-express-sequelize#751)) ([92852f7](ForestAdmin/forest-express-sequelize@92852f7))

### Features

* add typescript declaration file ([#743](ForestAdmin/forest-express-sequelize#743)) ([a536f1c](ForestAdmin/forest-express-sequelize@a536f1c))
* include role in the user data inside the request ([#746](ForestAdmin/forest-express-sequelize#746)) ([425bba5](ForestAdmin/forest-express-sequelize@425bba5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants