Skip to content

Tags: upfrontjs/framework

Tags

v0.19.0

Toggle v0.19.0's commit message

Verified

This commit was signed with the committer’s verified signature.
Merge branch 'main' into release/0.x

v0.18.1

Toggle v0.18.1's commit message

Unverified

This user has not yet uploaded their public signing key.
Merge branch 'main' into release/0.x

v0.18.0

Toggle v0.18.0's commit message

Unverified

This user has not yet uploaded their public signing key.
chore: fix package-lock.json

v0.17.0

Toggle v0.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: 0.17.0 (#354) (#355)

## Feature:
* feat(helpers): add '*' as an accepted key to `dataGet`
  * Added collection as argument type
  * Added option to pass keys in as array or collection
  * Added a default value
* feat(helpers): added error check argument to the `retry` function
* feat(helpers): add typing to `ucFirst` function
* feat(helpers): add typing to `finish` function
* feat(helpers): add typing to `after` function
* feat(helpers): add typing to `afterLast` function
* feat(helpers): add typing to `before` function
* feat(helpers): add typing to `beforeLast` function
* feat(helpers): accept array of timeouts in `retry` function as shorthand
* feat(ancestry-collection): improved generic type of collection
* feat(helpers): add typing to `finish` function

## Testing:
* test(helpers): add `dataGet` tests
* test(collection): added partition test
  * ensure that partition returns the current collection type
* test(helpers): add `limit` test for not showing limiter after length
* test(ancestry-collection): remove folder properties now known

## Fix:
* fix(helpers): only include limiter when necessary with `words`
* fix(helpers): only include limiter when necessary with `limit`

## Refactor:
* refactor(helpers): rename argument in `dataGet`

## Chore:
* chore(internal): update jest config
* chore: increment version
* chore(deps-dev): updated dependencies
* chore: adjust lines-around-comment eslint rule
* chore: fix eslint issue

## Documentation:
* docs(helpers): update `dataGet` documentation

v0.16.0

Toggle v0.16.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: 0.16.0 (#343)

## Refactor:
* refactor(query-builder): move query attributes into its own object 
  * This slightly reduces size and looks better when logging a model out
* refactor(model)!: remove non-static `find` method
  * If the model is instantiated it is likely to have been hydrated with data.
    If it has then, nothing to find. If it hasn't then the static method is enough.
* refactor(internal): moved existence check up the class chain
* refactor(model)!: remove `findMany` non-static method
* refactor(model)!: removed `when` and `unless` non-static methods
* refactor(model): move 'when` and `unless` methods to the model
* refactor(internal): rename withouts query parameter to without

## Feature:
* feat(helpers): added `value` function
* feat(api-calls): add `setModelEndpoint` helper method 
* feat(model): added `tap` method
* feat(model): added function resolving to `when` and `unless` methods

## Fix:
* fix(relations): added existence check for `load` method
* fix(api-calls): improved `get` method's type argument/return
* fix(relations): fix `morphTo` relation
  * Endpoint was not set correctly for the next request
* fix(model): add missing lastSyncedAt copy in the `clone` method

## Chore:
* chore: increment version
* chore: add optional peer dependencies
* chore(deps-dev): updated dependencies

## Documentation
* docs(model): fix heading for `make` section
* docs(helpers): documented `value` function
* docs(timestamps): removed invalid todo comment

## Testing
* test(model): improved `tap`'s test
* test(relations): fix morphTo test

v0.15.1

Toggle v0.15.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
0.15.1 (#333)

## Documentation:
* docs(ancestry-collection): fixed spacing
* docs: fix jsdoc return types
* docs(internal): commented exception classes
* docs(query-builder): adjusted `when`'s grammar
* docs: document `StaticToThis` type helper
* docs(ancestry-collection): add flatten tip

## Fix:
* fix(api-calls): include @ts-expect-error in declaration file
* fix(api-calls): added missing `RequestMiddleware` type export
* fix(relations): fix `morphTo` definition
* fix(ancestry-collection): update constructor to be protected
  * Protected to discourage its usage from the outside.
* fix(model-collection): improve argument of `findByKey`

## Performance:
* perf(model): remove unnecessary `make` call

## Refactor:
* refactor: rename FileModel to File
* refactor: further File name changes

## Continuous Delivery:
* ci: update testing node matrix
* ci: fixed rollup config

## Style:
* style(services): fixed too long line issue
* style(relations): fixed too long line issue
* style: fix eslint issues
* style: fixed eslint issues

## Chore:
* chore(deps-dev): updated dependencies
* chore(deps-dev): update semantic-release
* chore(deps-dev): updated packages
* chore: increment version

## Testing:
* test: update JSON parse error
* test(helpers): improve variable name
* test(relations): added missing test
* test: add test for untested logic paths
* test(ancestry-collection): fixed test name
* test(services): fix json test for node 18

v0.15.0

Toggle v0.15.0's commit message

Unverified

This user has not yet uploaded their public signing key.
Merge branch 'main' into release/0.x

v0.14.0

Toggle v0.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Upstream release changes [0.14.0] (#297)

* docs: update `code-item` to `CodeGroupItem`

Changes required for vuepressV2
upfrontjs/docs@946e50d

* chore(deps-dev): update eslint

* docs(services): removed typo

* ci: refined api docs deployment

* Feat/0.14.0 (#296)

## Feature:
* feat(collection): add dot notation to pluck method
* feat(collection): add `shuffle` method

## Chore:
* chore: increment version
* chore: make tsc output predictable
* chore(deps-dev): update dependencies

## Refactor:
* refactor(helpers): split out functions into files
  * This will help with maintainability and with tree-shaking when packaging separately for cjs.
* refactor: import helper methods from their respective path

## Testing:
* test: fix timestamp
* test(api-calls): removed some casting
  * The values can already be inferred from the code
* test(helpers): fix node@16 fringe testing error
  * Potentially issue due to different architecture on the runner.
  * https://github.com/upfrontjs/framework/actions/runs/3118093610/jobs/5057158718#step:5:59
* test(helpers): use real timers where possible
* test(helpers): clarified comment

v0.13.0

Toggle v0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat 0.13.0 (#279)

## Refactor
* refactor(timestamps): moved existence check to HasTimestamps class
* refactor(events): simplified method signatures
* refactor(model)!: renamed `create` to `make`
  * This name hints the behaviour somewhat clearer than before. Previously it might have suggested that some persistence was involved.
* refactor(events): removed redundant union type
* refactor: move fetch mock file

## Chore
* chore: increment version
* chore: eslint changes
* chore(deps-dev): updated ts eslint

## Fix
* fix: allow any values within `handleError`
  * Some errors may be handled here and recovered from by returning something. Or perhaps an error is expected and no throwing is necessary.
* fix(events): added missing listener signature to `has` method
* fix(collection): fixed typing issue after typescript update

## Documentation
* docs: doc page linking, grammar and typo fixes
* docs(collection): fixed typo
* docs: add internal inline comments to testing

## Testing
* test: updated jest

## Feature
* feat(collection): improved `pluck` return type
* feat(helpers): add `dataGet` function

## Performance
* perf(collection): shortcut return when 0 given as argument

v0.12.0

Toggle v0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge branch 'release/0.x' into main