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: prevent duplicated schema types by using JSON schema throughout #253

Merged
merged 3 commits into from
Feb 16, 2023

Conversation

shakyShane
Copy link
Collaborator

Reviewer: @GioSensation
Asana:

Description

The main entry point for defining API calls is now expressed in JSON schema for consistency. This has the nice side-effect of solving the 'duplicated types' problem described in the tasks above because we are no longer building the schema up ourselves in the JS.

Steps to test

If TS + integration tests pass, then we're all good here :)

@github-actions
Copy link

Note: Password rules outdated

inntopia.travel not present in current
	rules: minlength: 7; maxlength: 19; required: digit; allowed: upper,lower,[-];

You can update the rules with the following command

cd packages/password && npm run rules:update

Once you've updated the rules, re-run the build from the root with npm run build and then commit all changes.

Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tried to run it, but seems fine and as you say if ts is happy we should be alright. Thanks for following up on this!

@shakyShane shakyShane merged commit 06e996e into main Feb 16, 2023
CDRussell pushed a commit to duckduckgo/Android that referenced this pull request Mar 23, 2023
Task/Issue URL:
https://app.asana.com/0/1204250253793536/1204250253793536
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.4.1


## Description
Updates Autofill to version
[6.4.1](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.4.1).

### Autofill 6.4.0 and 6.4.1 release notes
## What's Changed

### Tooling and Tests
* Update integration tests for in-context signup by @alistairjcbrown in
duckduckgo/duckduckgo-autofill#254 and
duckduckgo/duckduckgo-autofill#255
* Update macOS browser repository ID in `asana-release.yml` by @ayoy in
duckduckgo/duckduckgo-autofill#259
* Use node v18 and update actions to read `.nvmrc` file by
@alistairjcbrown in
duckduckgo/duckduckgo-autofill#269
* Bugfix: Update release script to add checkout path to node version
file path by @alistairjcbrown in
duckduckgo/duckduckgo-autofill#286

### Source Code Updates
* Refactor in-context state to feature file by @shakyShane in
duckduckgo/duckduckgo-autofill#251
* Prevent duplicated schema types by using JSON schema throughout by
@shakyShane in
duckduckgo/duckduckgo-autofill#253
* Stop scanning pages with a large number of inputs by @alistairjcbrown
in duckduckgo/duckduckgo-autofill#257 and
duckduckgo/duckduckgo-autofill#262
* Ignore small email inputs by @alistairjcbrown in
duckduckgo/duckduckgo-autofill#261
* Fix username not saved by @GioSensation in
duckduckgo/duckduckgo-autofill#275
* Updates to in-context signup treatment by @alistairjcbrown and
@GioSensation in
duckduckgo/duckduckgo-autofill#284


**Full Changelog**:
duckduckgo/duckduckgo-autofill@6.3.0...6.4.1

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: alistairjcbrown <alistairjcbrown@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants