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

feat(browsing-context): allow Forest-Context-Url header to give the current browser url of users #665

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

SteveBunlon
Copy link
Member

Pull Request checklist:

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

@SteveBunlon SteveBunlon changed the base branch from beta to rebase/beta-onto-master March 30, 2021 07:47
@SteveBunlon SteveBunlon force-pushed the feat/add-browser-context-url-header branch from 297eda7 to 91db5bc Compare March 30, 2021 07:55
@SteveBunlon SteveBunlon force-pushed the feat/add-browser-context-url-header branch from 91db5bc to 2de740a Compare March 30, 2021 07:56
@SteveBunlon SteveBunlon reopened this Mar 30, 2021
@SteveBunlon SteveBunlon changed the base branch from rebase/beta-onto-master to master March 30, 2021 08:05
@SteveBunlon SteveBunlon changed the base branch from master to beta March 30, 2021 08:05
… current browser url of users

BREAKING CHANGE
@SteveBunlon SteveBunlon force-pushed the feat/add-browser-context-url-header branch from f392347 to a55a262 Compare March 30, 2021 08:27
@jeffladiray jeffladiray self-requested a review March 30, 2021 08:31
@SteveBunlon SteveBunlon changed the title Feat/add browser context url header feat(browsing-context): allow Forest-Context-Url header to give the current browser url of usersBREAKING CHANGE Mar 30, 2021
@SteveBunlon SteveBunlon changed the title feat(browsing-context): allow Forest-Context-Url header to give the current browser url of usersBREAKING CHANGE feat(browsing-context): allow Forest-Context-Url header to give the current browser url of users Mar 30, 2021
@SteveBunlon SteveBunlon merged commit a61699a into beta Mar 30, 2021
@SteveBunlon SteveBunlon deleted the feat/add-browser-context-url-header branch March 30, 2021 09:00
forest-bot added a commit that referenced this pull request Mar 30, 2021
# [8.0.0-beta.1](v7.3.1...v8.0.0-beta.1) (2021-03-30)

### Features

* **browsing-context:** allow `Forest-Context-Url` header to give the current browser url of users ([#665](#665)) ([a61699a](a61699a))

### BREAKING CHANGES

* **browsing-context:** users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
@forest-bot
Copy link
Member

🎉 This PR is included in version 8.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

SteveBunlon added a commit that referenced this pull request May 26, 2021
… current browser url of users (#665)

BREAKING CHANGE: users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
SteveBunlon pushed a commit that referenced this pull request May 26, 2021
# [8.0.0-beta.1](v7.3.1...v8.0.0-beta.1) (2021-03-30)

### Features

* **browsing-context:** allow `Forest-Context-Url` header to give the current browser url of users ([#665](#665)) ([a61699a](a61699a))

### BREAKING CHANGES

* **browsing-context:** users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
SteveBunlon added a commit that referenced this pull request May 26, 2021
… current browser url of users (#665)

BREAKING CHANGE: users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
SteveBunlon pushed a commit that referenced this pull request May 26, 2021
# [8.0.0-beta.1](v7.3.1...v8.0.0-beta.1) (2021-03-30)

### Features

* **browsing-context:** allow `Forest-Context-Url` header to give the current browser url of users ([#665](#665)) ([a61699a](a61699a))

### BREAKING CHANGES

* **browsing-context:** users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
forest-bot added a commit that referenced this pull request May 26, 2021
# [8.0.0-beta.3](v8.0.0-beta.2...v8.0.0-beta.3) (2021-05-26)

### Bug Fixes

* **smart-actions-change-hook:** record is no longer altered and is sent correctly ([#728](#728)) ([2ac7af8](2ac7af8))
* distribution charts using groupby on a relationship throws 403 Forbidden ([#725](#725)) ([30e6744](30e6744))
* regression when fetching has-many and not selecting any fields on a hasone/belongsto relation ([#720](#720)) ([74ed623](74ed623))
* **schema:** do not remove primary key fields from the schema when tables have foreign keys that are primary keys ([8844fb5](8844fb5))
* **search:** enable to search for a big integer in an ID field ([#695](#695)) ([9f8132c](9f8132c))
* **search:** searching for a big int value should not break if there is a regular integer field ([#694](#694)) ([af076ad](af076ad))
* **security:** patch ssri dependency vulnerability ([#690](#690)) ([6b0770d](6b0770d))

### Features

* **browsing-context:** allow `Forest-Context-Url` header to give the current browser url of users ([#665](#665)) ([c46fd66](c46fd66))
* **filters:** add support for the \`model.field IN array\` filter condition ([#719](#719)) ([5f58457](5f58457))
* add support for belongsTo and hasOne filters on related data ([#715](#715)) ([2bc769e](2bc769e))
* support yarn 2 plug n play install mode ([#698](#698)) ([64b5734](64b5734))

### BREAKING CHANGES

* **browsing-context:** users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
forest-bot added a commit that referenced this pull request Jul 19, 2021
# [8.0.0](v7.12.2...v8.0.0) (2021-07-19)

### Bug Fixes

* abstractRecord type ([#772](#772)) ([81492b9](81492b9))
* correctly get the IP address from the request headers ([2b5ed1d](2b5ed1d))
* fix types ([580ef41](580ef41))

### Features

* allow hooks for global and bulk smart action ([#769](#769)) ([14c26cd](14c26cd))
* **browsing-context:** allow `Forest-Context-Url` header to give the current browser url of users ([#665](#665)) ([c46fd66](c46fd66))
* **browsing-context:** allow `Forest-Context-Url` header to give the current browser url of users ([#665](#665)) ([a61699a](a61699a))
* **security:** secure segments queries ([#764](#764)) ([98d7f74](98d7f74))
* **smart-action:** user can add dynamically field with hook on smart action form ([#742](#742)) ([228bb42](228bb42))

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

### BREAKING CHANGES

* record is no longer send to the hook middleware & values option on smart action is no longer supported
* **smart-action:** fields parameters on hook function is no longer a map of field, it is now an array.
change hook is no longer choosen by the field name, field need to have hook defined inside it definition by addin a props hook.
* the public API of forest-express 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. Many routes now require providing the current user timezone.
* **browsing-context:** users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
* **browsing-context:** users willing to use this header needs either to clean the allowed headers or to add this specific header in the CORS configuration
@forest-bot
Copy link
Member

🎉 This PR is included in version 8.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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