Skip to content

Latest commit

 

History

History
275 lines (231 loc) · 27.4 KB

CHANGELOG.md

File metadata and controls

275 lines (231 loc) · 27.4 KB

Changelog

1.4.2 (2023-07-12)

Bug Fixes

  • product search because of inner query on misc qb (1ae1136)

1.4.1 (2023-07-12)

Bug Fixes

  • product search because of inner query (a14e201)

1.4.0 (2023-07-11)

Features

  • allow sorting products by popularity and price (2c0bd04)

Bug Fixes

  • products count was incorrect (c8592bd)
  • unit products were not populating spec (f30755b)

1.3.0 (2023-07-06)

Features

  • order by when returning multiple rows (01e2717)

1.2.2 (2023-06-18)

Bug Fixes

  • sometimes parent is undefined, so check for it (f2c2e13)

1.2.1 (2023-06-18)

Bug Fixes

  • add deleted_at to producer products of unit (d5cea65)

1.2.0 (2023-06-17)

Features

1.1.0 (2023-06-16)

Features

  • funny easter egg com o joao pedro pais (d4465cd)

Bug Fixes

  • put healthz in its own controller (d4465cd)

1.0.1 (2023-06-09)

Bug Fixes

  • force report optional booleans to be true (b004439)

1.0.0 (2023-05-30)

⚠ BREAKING CHANGES

  • add authorization to routes
  • have user as it's own entity
  • change ProducerProduct currentPrice type to double
  • drop Cart entirely and relate Consumer to CartItem
  • cart joincolumn and productspecfield dependencies
  • images entity

Features

  • add auth middleware on existing routes (8eaf67a)
  • add authorization to routes (543fbbe)
  • add consumer to address entity side (bd151f8)
  • add filters to productSpec find (a671816)
  • add images to products endpoints and other missing properties to single product spec endpoint (a460a6a)
  • add producer images (dd5cb3a)
  • add req to authorization validation (712917b)
  • add role to user for role based access control (RBAC) (798dd26)
  • adicao das unidades de producao quando se pesquisa os fornecedores de um productSpec (65f2fed)
  • adicionar um caminho para ver os eventos de um orderItem (e86e236)
  • adicionar um produto de um produtor (fe7add9)
  • adicionar uma categoria a um productSpec (a837bfa)
  • alguns caminhos feitos (d3faa81)
  • allow search on producer production units (7e03a1b)
  • api errors (89d8394)
  • authorization (fe15c69)
  • base projeto (5821f0c)
  • build directly to prod image (72e57b6)
  • caminhos das categorias feitos (ecbf2e8)
  • cancel order, ainda sem refund (96dbaf8)
  • categories (children) of a category (395c69b)
  • category parents; chore: improve the rest of the field things (5e6ce1e)
  • cookies (150e18f)
  • create AddressGateway (ab67a06)
  • create consumer (3b43624)
  • create generators (4d81ad0)
  • create generic ProducerProduct findAll (c511a68)
  • create producer (f3d7e16)
  • criacao de um productSpec (ea12e9c)
  • criar eventos por parte do produtor, rf24,25,26 (6f1f810)
  • delete /consumers/{consumerId}/cart implementado (b15e034)
  • delete de um item do carrinho (0917360)
  • delete de um producerProduct (c/ softdelete) (ba793cc)
  • delete de um productp spec (c/soft delete) (39954cb)
  • delete de uma unidade de produção feito (da7fbf8)
  • docker scripts (19a527e)
  • error middleware (e6fac75)
  • example roles (e49e540)
  • get /consumers/{consumerId}/cart implementado (788a3ab)
  • get a user from an idtoken (firebase) (9acd7f0)
  • get authenticated user (7a27db1)
  • gets de orders dos produtores (588c91c)
  • getters das encomendas dos consumidores feitos (e0ae707)
  • have user as it's own entity (bd9fc9e)
  • hidden properties (49d4400)
  • images entity (b6e267f)
  • list producer units (5dbcb32)
  • load env on startup (5d00709)
  • load fakerjs if FAKER is set as true in env (26b47b4)
  • make authorization permission and other validators OR (28f2f01)
  • mysql dev server docker commands (297935f)
  • not found error (2d61ff3)
  • pagamento implementado (741b25c)
  • paginacao dos produtos (df16ea3)
  • paginated consumer addresses (760fdc6)
  • pedidos get todos feitos (85e63ee)
  • permission enum; add details to ApiError (and forbidden) (050aa43)
  • populate image (f320e82)
  • possibilidade de ver os veiculos em transito de uma UP (5865f91)
  • post /consumers/{consumerId}/cart implementado (c8c1ec7)
  • post de uma unidade de produção feito (12820bf)
  • preliminary routess (15ab68a)
  • primeira versão do carrinho de compras (aed4701)
  • primeira versão getCart (5d158f5)
  • primeiras alterações (bab598f)
  • primeiras alterações (90c709c)
  • producers controller (dd1ef2e)
  • producers get unit and get unit products endpoints (2967e4f)
  • product search by specification name (a206a54)
  • put /consumers/{consumerId}/cart implementado (b2347b5)
  • put de uma unidade de produção feito (1a0f405)
  • refinamento do rf01 (4c6d440)
  • remover uma categoria a um productSpec (4eaf884)
  • request validation (84ddab8)
  • rf17 exportação de dados das encomendas para ficheiros json (2548bea)
  • routes para permitir a comparação de produtos (9bdd514)
  • seed base roles (17d8d2b)
  • seeder em portugues (42755fa)
  • show error messages on custom validators (76da6ee)
  • simple docker (0721fe3)
  • um pouco mais da Gateway da categoria (f0d623f)
  • update de um productSpec (1fee811)
  • use errors on auth controller (834f2b1)
  • use errors on category controller (a46c80f)
  • use errors on consumer controller (ff4634f)
  • use errors on producers controller (8acf31a)
  • user gateway (6608c2f)
  • ver um produto de uma spec (fc068a3)
  • virtual properties so we can use getResultList instead of execute (61df384)

Bug Fixes

  • /orders/:orderId/items (e1d2bb4)
  • add missing authmiddleware to routes (8939638)
  • add user to consumer/producer usages (2a66c9f)
  • addresses e urls (0e01b59)
  • adicao do populate address ao findbyid do consumer (ccd4c03)
  • adição do populate das imagens (682a8ac)
  • adição do populate nas imagens (371acef)
  • allow unauthenticated users to fetch producers (d03ad24)
  • arrays (9447ae2)
  • arrays, correção do generalStatus para um especifico para o producer (43023d4)
  • async a mais (9cfdab1)
  • atualização com base nos comentários do pull request (be5cb88)
  • base de dados para incluir o estado de uma entrega (b1ce84e)
  • canCancel da order (12e0d59)
  • cart joincolumn and productspecfield dependencies (cdca93c)
  • change ProducerProduct currentPrice type to double (6e7a201)
  • conflicts with main (60b9c24)
  • consumer/producer creation (d1bd0b6)
  • consumidores (22aef88)
  • convertExportOrderItem (6e23ad0)
  • copy paste upsi (9c7ef6b)
  • de um erro causado pela remocao dos getters (768116c)
  • debug aos imports dos Gateways, feat: mais alguns caminhos feitos (0ee07d2)
  • decimal/numeric to double (9400751)
  • delete cart items (e34d33a)
  • don't show consumer null on production unit addresses (be399ba)
  • dummy-data devido as atualizações na bd (8881bf4)
  • enforce permissions on get producers and consumers with deleted ats (ec61001)
  • entity relationships (cc1a08d)
  • erros de caminhos, feat: pesquisa de produtos pela sua categoria (859b7f4)
  • erros vistos na review (02f0228)
  • estado quando se associa um carrier a um shipment (b2c1455)
  • export orders (26a30dc)
  • favor getResultList instead of execute (ae018f9)
  • filter out deleted producer products from producer products (436645c)
  • filtering by field (f440711)
  • fix de várias coisas feat: pesquisar por produtos comuns e categorias (ff127ca)
  • fix merge issues (a381c58)
  • fix mikro (debc90e)
  • forgot to find producer (d9df989)
  • forgot to make search lowercase (9d0d3f0)
  • get dos items de uma order de um consumidor (a0d1c86)
  • get order de um consumidor (5bcd875)
  • hello.ts talvez possa ser eliminado (?) (8be3406)
  • ids on consumer and producer gateways (1056033)
  • image error on seedr (f8d0a47)
  • juntar dois ficheiros diferentes que serviam para o mesmo (producers.ts producer.ts) (85f4898)
  • make address one to many (bad750f)
  • melhoria na validação dos fields das categorias (5682002)
  • mensagens de erro e canCancel para verificar também se já foi cancelado (24635f6)
  • merge conflicts (523eb7d)
  • migracoes (e74055a)
  • migrations (d71a58a)
  • minor spelling (571c775)
  • mostrar o produto quando é criado (114cf12)
  • mudança de um erro de tipagem (27ca3a4)
  • pageSize (45c9e0b)
  • params instead of query (11aa6fd)
  • private fields, except for relations (5bde6ff)
  • produtores (d5f0de4)
  • query para ver as ups de um produtor de um productSepc (7d71cdc)
  • remove getters (139eddb)
  • remove unused import (4bb49e9)
  • remove unused methods (7bb7f7f)
  • req.user would be undefined if route did not have authorization (4c28fc8)
  • retirar um import que não era usado (e5892f1)
  • retirar uma linha errada (f4e1bce)
  • retirei os getters pois os atributos sao public (07df4a4)
  • retorno do address na exportação (856cca6)
  • retornos json das categorias fixed (90dc1de)
  • retornos json dos produtos fixed (249e3f3)
  • return dos métodos de update e add ao cart (c92c0a2)
  • return empty list instead of 404 (21072bd)
  • routes e pormenores (21a1bda)
  • routes that differred (fcd0b26)
  • seeder (a2ced6c)
  • seeder to use User (091cd3a)
  • show product spec and product spec images (413da57)
  • show role on GET /auth (4123d78)
  • some entities (47ba6ff)
  • some other routes (79fa884)
  • some typings (d60a1a0)
  • sometimes carrier is undefined, so let's force all to exist (770359b)
  • staying invalid if user passes other validators (6e58ae4)
  • tipos de alguns atributos nas interfaces (d5cfcbf)
  • tratamento de erros do stripe (e0efcc7)
  • upsert and delete throwing funny errors (bf3ac0b)
  • url das imagens no seeder (34ce4c4)
  • url das imagens no seeder (33a786b)
  • use correct endpoint (7a8bc89)
  • use error middleware instead (387de66)
  • use getResultList instead of execute (aeed289)
  • user (43741f7)
  • validate das imagens (8a10307)
  • variaveis de ambiente (fcbdc33)
  • were missing user object in some places (5c7235f)
  • when there's no production unit or no products on producer (f7f3a77)

Miscellaneous Chores

  • drop Cart entirely and relate Consumer to CartItem (9359e05)