Commit 6e9d638c authored by Karamel's avatar Karamel
Browse files

Added changelog.

parent b8366278
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
The semantic of version number is 'Level.Version'. Level is for compatibility between sofwares and Version is the release number.
## [Unreleased]
### Added
- Changelog.
- Documentation to run the API with the php standalone server (for developpement purposes).
- Tariff area http routes: writes, delete.
### Fixed
- Sqlite support.
## [8.0-alpha11] - 2019-08-26
### Added
- Installation steps in README.md.
- Payment mode http routes: get all, get, write.
- User http route: write.
- Role http route: write.
- Cash register http routes: writes.
- Resource http routes: get, write, delete.
- CLI tool for cron tasks: export the fiscal tickets (all or for a period) and send them to a mirror.
### Fixed
- allowed_origins default value.
- Fiscal import for fiscal mirror mode, importing EOS.
- Fiscal ticket export is a bit slower but uses much less memory (prevents depleting allowed memory).
- Payments are correctly ordered in tickets.
- Allow to set a password to a new user.
- Payment mode value image handling.
## [8.0-alpha10] - 2018-10-31
### Added
- CLI tools: checksum for every files, check for duplicated entries in failure fiscal tickets.
- Fiscal: export fiscal tickets in a zipped archive.
- Fiscal mirror mode, fiscal ticket import route.
- Single user sysmodules (authentication and database access in the configuration file), now used by default.
### Fixed
- Embedded objects with Doctrine (places in floors, cash session with taxes, sales by categories, etc)
- Default configuration.
## [8.0-alpha9] - 2018-09-24
### Added
- Floor and places route: POST.
### Changed
- Write APIs returns the full object instead of just the id.
- Fiscal number for cash session is no longer bound to the sequence (prevents conflicts).
## [8.0-alpha8] - 2018-05-31
### Added
- Product http route: getAllVisible.
### Changed
- Product http route getAll including invisible ones. Use getAllVisible for the previous behaviour.
- Sync with a cash register ignores invisible products.
### Fixed
- Reporting errors when failing to write products.
## [8.0-alpha7] - 2018-04-27
### Added
- Image http routes.
## [8.0-alpha6] - 2018-03-20
WARNING: upgrading from previous versions requires a database fix. See [this wiki page](https://wiki.pasteque.org/doku.php?id=en:tech:api8-prealpha6-dbfix) for the details.
### Added
- Customer http route: update balance.
- A tariff area can be assigned to a customer (requires database fix).
### Changed
- Customer http POST accepts only one customer at once. Sending multiple customers is still there but deprecated.
- Product barcode database field is not nullable (just for consistency).
### Fixed
- Tax by categories in cash session summary (for desktop).
- Importing tariff area prices from v7.
## [8.0-alpha5] - 2018-02-21
### Added
- Pagination to ticket search route.
### Fixed
- Optimized searches.
## [8.0-alpha4] - 2018-01-23
### Fixed
- Product http routes.
- More stable ticket save.
- Routes when installed at the root of a domain.
## [8.0-alpha3] - 2018-01-16
### Changed
- Product barcode can no longer be null. It uses an empty string instead.
### Fixed
- Some CORS headers.
- Pagination of fiscal ticket listing.
## [8.0-alpha2] - 2018-01-06
### Added
- Import compositions with upgrade7 script.
- Http:
- Product: PUT, PATCH, POST
- Category: PUT, PATCH, POST
- A failure fiscal ticket is registered when a ticket or a z-ticket fails to be registered (with it's content and the reason of the failure).
### Changed
- Records are sorted by a static field, like dispOrder, label or such, instead of Id (or something).
### Fixed
- Discount import from v7, automatically assign a name to a discount from its rate.
## [8.0-alpha1] - 2017-12-25
Completely rewriten from scratch.
### Added
- Generic API actions: get, getByReference (if available), getAll, count, search, write, delete.
- API layer with APICaller.
- Models and APIs: Category, Tax, Product, CashRegister, Role, DiscountProfile, Discount, TariffArea, Customer, PaymentMode, CashSession (with cumulative sums), Currency, Ticket, FiscalTicket, Floor, Place, Resource, Order, Image, Option.
- APIs: Version, Login, Sync.
- Postgresql and Mysql database backend.
- Http layer with Slim:
- Login
- User: change password, get by name
- Cash register: get by name/reference, search
- Cash session: get, summary (for desktop),
- Ticket: get by session, get, search, save
- Customer: get top 10, write
- Fiscal: gui read
- Sync: everything
- Category: get all, get, get children, write
- Product: write
- Database upgrade script from v7 to v8 (does not include sales, includes Roles, Users, Resources, CashRegisters, Currencies, DiscountProfiles, Discounts, PaymentModes, Places and Floors, Taxes, Categories, Products except archived/deleted/compositions, TariffAreas and Customers).
- Date parsing.
### Removed
- Every API from v7 and older.
- Models: TaxCategory.
- Back office.
### Changed
- Config file in a single system-moveable ini file.
- Embed image in product and category.
- All prices are rounded to 5 decimals.
- Prepay product and composition is now a flag in the product definition (no longer use dedicated categories).
- Receipts are split into Tickets and CashSession, there is no longer a common table with almost nothing in it.
- FiscalTickets are registered along Tickets and CashSession when closed, those are immutable and unbound to the database structure.
- Images are stored separately and retreived through their own API. Used for Customer, PaymentMode, PaymentModeValue User, Product, Category.
- Prepayment and debt now uses the same balance. Debt is just a negative prepayment.
- Totals are now stored directly in tickets.
- Customer's balance change is now stored in tickets.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment